fdx-api-sdk-ruby 1.0.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 +7 -0
- data/LICENSE +28 -0
- data/README.md +125 -0
- data/lib/fdx_api/api_helper.rb +10 -0
- data/lib/fdx_api/client.rb +187 -0
- data/lib/fdx_api/configuration.rb +133 -0
- data/lib/fdx_api/controllers/account_information_controller.rb +135 -0
- data/lib/fdx_api/controllers/account_statements_controller.rb +132 -0
- data/lib/fdx_api/controllers/account_transactions_controller.rb +126 -0
- data/lib/fdx_api/controllers/base_controller.rb +65 -0
- data/lib/fdx_api/controllers/event_notifications_controller.rb +274 -0
- data/lib/fdx_api/controllers/fraud_notification_controller.rb +37 -0
- data/lib/fdx_api/controllers/internal_transfers_controller.rb +206 -0
- data/lib/fdx_api/controllers/meta_controller.rb +105 -0
- data/lib/fdx_api/controllers/money_movement_controller.rb +92 -0
- data/lib/fdx_api/controllers/payee_management_controller.rb +257 -0
- data/lib/fdx_api/controllers/payment_initiation_parties_controller.rb +439 -0
- data/lib/fdx_api/controllers/payments_controller.rb +280 -0
- data/lib/fdx_api/controllers/payroll_information_controller.rb +117 -0
- data/lib/fdx_api/controllers/personal_information_controller.rb +155 -0
- data/lib/fdx_api/controllers/recipients_controller.rb +197 -0
- data/lib/fdx_api/controllers/recurring_payments_controller.rb +339 -0
- data/lib/fdx_api/controllers/resource_information_controller.rb +121 -0
- data/lib/fdx_api/controllers/reward_program_categories_controller.rb +64 -0
- data/lib/fdx_api/controllers/reward_program_information_controller.rb +88 -0
- data/lib/fdx_api/controllers/submit_tax_forms_controller.rb +106 -0
- data/lib/fdx_api/controllers/tax_forms_controller.rb +190 -0
- data/lib/fdx_api/controllers/user_consent_controller.rb +125 -0
- data/lib/fdx_api/exceptions/api_exception.rb +21 -0
- data/lib/fdx_api/exceptions/error_exception.rb +65 -0
- data/lib/fdx_api/exceptions/payee_entity_error_exception.rb +48 -0
- data/lib/fdx_api/exceptions/payment_entity_error_exception.rb +160 -0
- data/lib/fdx_api/exceptions/recurring_payment_entity_error_exception.rb +140 -0
- data/lib/fdx_api/http/api_response.rb +19 -0
- data/lib/fdx_api/http/auth/bearer_auth.rb +43 -0
- data/lib/fdx_api/http/auth/tax_basic_auth.rb +50 -0
- data/lib/fdx_api/http/http_call_back.rb +10 -0
- data/lib/fdx_api/http/http_method_enum.rb +10 -0
- data/lib/fdx_api/http/http_request.rb +10 -0
- data/lib/fdx_api/http/http_response.rb +10 -0
- data/lib/fdx_api/http/proxy_settings.rb +13 -0
- data/lib/fdx_api/logging/configuration/api_logging_configuration.rb +114 -0
- data/lib/fdx_api/logging/sdk_logger.rb +17 -0
- data/lib/fdx_api/models/account_bill_pay_status.rb +32 -0
- data/lib/fdx_api/models/account_bill_pay_status2.rb +29 -0
- data/lib/fdx_api/models/account_category_type.rb +41 -0
- data/lib/fdx_api/models/account_contact_entity.rb +132 -0
- data/lib/fdx_api/models/account_contact_entity2.rb +142 -0
- data/lib/fdx_api/models/account_descriptor_entity.rb +253 -0
- data/lib/fdx_api/models/account_entity.rb +380 -0
- data/lib/fdx_api/models/account_holder_entity.rb +263 -0
- data/lib/fdx_api/models/account_holder_relationship.rb +79 -0
- data/lib/fdx_api/models/account_holder_relationship1.rb +79 -0
- data/lib/fdx_api/models/account_status.rb +41 -0
- data/lib/fdx_api/models/account_status2.rb +42 -0
- data/lib/fdx_api/models/account_type.rb +240 -0
- data/lib/fdx_api/models/accounts_entity.rb +109 -0
- data/lib/fdx_api/models/active_inactive_status.rb +23 -0
- data/lib/fdx_api/models/active_inactive_status2.rb +23 -0
- data/lib/fdx_api/models/address.rb +151 -0
- data/lib/fdx_api/models/an_array_of_statements.rb +105 -0
- data/lib/fdx_api/models/annuity_account_entity.rb +347 -0
- data/lib/fdx_api/models/array_of_account_payment_networks.rb +104 -0
- data/lib/fdx_api/models/asset_class.rb +38 -0
- data/lib/fdx_api/models/asset_class2.rb +38 -0
- data/lib/fdx_api/models/asset_transfer_network.rb +134 -0
- data/lib/fdx_api/models/asset_transfer_network_list.rb +85 -0
- data/lib/fdx_api/models/asset_transfer_type.rb +26 -0
- data/lib/fdx_api/models/asset_transfer_type2.rb +26 -0
- data/lib/fdx_api/models/availability_entity.rb +115 -0
- data/lib/fdx_api/models/availability_entity1.rb +115 -0
- data/lib/fdx_api/models/availability_list_entity.rb +85 -0
- data/lib/fdx_api/models/availability_status.rb +29 -0
- data/lib/fdx_api/models/availability_status1.rb +29 -0
- data/lib/fdx_api/models/availability_status3.rb +29 -0
- data/lib/fdx_api/models/balance_type.rb +25 -0
- data/lib/fdx_api/models/balance_type2.rb +24 -0
- data/lib/fdx_api/models/base_model.rb +110 -0
- data/lib/fdx_api/models/base_payroll_rate.rb +82 -0
- data/lib/fdx_api/models/base_payroll_rate1.rb +82 -0
- data/lib/fdx_api/models/basic_auth_credentials.rb +105 -0
- data/lib/fdx_api/models/basic_auth_credentials1.rb +105 -0
- data/lib/fdx_api/models/basic_auth_for_qr.rb +96 -0
- data/lib/fdx_api/models/bills_entity.rb +201 -0
- data/lib/fdx_api/models/branch_entity.rb +116 -0
- data/lib/fdx_api/models/branch_entity1.rb +126 -0
- data/lib/fdx_api/models/business_customer_entity.rb +136 -0
- data/lib/fdx_api/models/business_income_statement.rb +604 -0
- data/lib/fdx_api/models/business_name.rb +85 -0
- data/lib/fdx_api/models/business_or_consumer_type.rb +23 -0
- data/lib/fdx_api/models/business_or_consumer_type1.rb +23 -0
- data/lib/fdx_api/models/call_type.rb +29 -0
- data/lib/fdx_api/models/call_type2.rb +29 -0
- data/lib/fdx_api/models/capability_entity.rb +139 -0
- data/lib/fdx_api/models/card_art_entity.rb +91 -0
- data/lib/fdx_api/models/card_art_entity2.rb +101 -0
- data/lib/fdx_api/models/certification_metric_entity.rb +172 -0
- data/lib/fdx_api/models/certification_metrics_entity.rb +84 -0
- data/lib/fdx_api/models/code_and_amount.rb +85 -0
- data/lib/fdx_api/models/commercial_account_entity.rb +457 -0
- data/lib/fdx_api/models/commercial_balance_entity.rb +106 -0
- data/lib/fdx_api/models/commercial_code_entity.rb +91 -0
- data/lib/fdx_api/models/commercial_code_entity1.rb +96 -0
- data/lib/fdx_api/models/commercial_transaction_entity.rb +286 -0
- data/lib/fdx_api/models/compounding_period.rb +38 -0
- data/lib/fdx_api/models/compounding_period2.rb +38 -0
- data/lib/fdx_api/models/consent_duration_type.rb +26 -0
- data/lib/fdx_api/models/consent_grant_entity.rb +232 -0
- data/lib/fdx_api/models/consent_grant_resource_entity.rb +92 -0
- data/lib/fdx_api/models/consent_grant_status.rb +26 -0
- data/lib/fdx_api/models/consent_grant_status1.rb +26 -0
- data/lib/fdx_api/models/consent_grant_status3.rb +26 -0
- data/lib/fdx_api/models/consent_request_entity.rb +121 -0
- data/lib/fdx_api/models/consent_requested_resource_entity.rb +82 -0
- data/lib/fdx_api/models/consent_resource_type.rb +27 -0
- data/lib/fdx_api/models/consent_resource_type1.rb +26 -0
- data/lib/fdx_api/models/consent_resource_type3.rb +26 -0
- data/lib/fdx_api/models/consent_revocation_entity.rb +114 -0
- data/lib/fdx_api/models/consent_revocation_list_entity.rb +85 -0
- data/lib/fdx_api/models/consent_revocation_request_entity.rb +85 -0
- data/lib/fdx_api/models/consent_update_reason.rb +23 -0
- data/lib/fdx_api/models/consent_update_reason1.rb +23 -0
- data/lib/fdx_api/models/contact_preferences_type.rb +32 -0
- data/lib/fdx_api/models/contact_preferences_type2.rb +32 -0
- data/lib/fdx_api/models/contacts_entity.rb +113 -0
- data/lib/fdx_api/models/content_types.rb +38 -0
- data/lib/fdx_api/models/contribution_entity.rb +275 -0
- data/lib/fdx_api/models/coupon_mature_frequency.rb +32 -0
- data/lib/fdx_api/models/coupon_mature_frequency2.rb +32 -0
- data/lib/fdx_api/models/coverage_month.rb +56 -0
- data/lib/fdx_api/models/coverage_month1.rb +56 -0
- data/lib/fdx_api/models/coverage_month3.rb +56 -0
- data/lib/fdx_api/models/cryptocurrency_tax_statement_list.rb +239 -0
- data/lib/fdx_api/models/cryptocurrency_tax_statement_list1.rb +239 -0
- data/lib/fdx_api/models/currency_entity.rb +98 -0
- data/lib/fdx_api/models/currency_entity1.rb +108 -0
- data/lib/fdx_api/models/currency_entity2.rb +108 -0
- data/lib/fdx_api/models/currency_entity4.rb +108 -0
- data/lib/fdx_api/models/customer_entity.rb +241 -0
- data/lib/fdx_api/models/customer_name_entity.rb +134 -0
- data/lib/fdx_api/models/customer_name_entity1.rb +134 -0
- data/lib/fdx_api/models/customer_to_account_relationship_entity.rb +114 -0
- data/lib/fdx_api/models/customers_entity.rb +104 -0
- data/lib/fdx_api/models/data_cluster.rb +63 -0
- data/lib/fdx_api/models/date_and_amount.rb +95 -0
- data/lib/fdx_api/models/debit_credit_memo.rb +26 -0
- data/lib/fdx_api/models/debit_credit_memo2.rb +26 -0
- data/lib/fdx_api/models/debt_class.rb +29 -0
- data/lib/fdx_api/models/debt_class2.rb +29 -0
- data/lib/fdx_api/models/debt_security_entity.rb +209 -0
- data/lib/fdx_api/models/debt_type.rb +23 -0
- data/lib/fdx_api/models/debt_type2.rb +23 -0
- data/lib/fdx_api/models/delivery_address.rb +160 -0
- data/lib/fdx_api/models/delivery_address1.rb +150 -0
- data/lib/fdx_api/models/delivery_address_type.rb +29 -0
- data/lib/fdx_api/models/deposit_account_entity.rb +335 -0
- data/lib/fdx_api/models/deposit_transaction_entity.rb +223 -0
- data/lib/fdx_api/models/deposit_transaction_type.rb +59 -0
- data/lib/fdx_api/models/deposit_transaction_type2.rb +61 -0
- data/lib/fdx_api/models/description_and_amount.rb +85 -0
- data/lib/fdx_api/models/digital_wallet_account_entity.rb +316 -0
- data/lib/fdx_api/models/digital_wallet_transaction_entity.rb +213 -0
- data/lib/fdx_api/models/digital_wallet_transaction_type.rb +59 -0
- data/lib/fdx_api/models/digital_wallet_transaction_type2.rb +61 -0
- data/lib/fdx_api/models/direct_deposit_entity.rb +98 -0
- data/lib/fdx_api/models/document_status.rb +26 -0
- data/lib/fdx_api/models/document_status2.rb +26 -0
- data/lib/fdx_api/models/domicile_entity.rb +95 -0
- data/lib/fdx_api/models/domicile_entity1.rb +95 -0
- data/lib/fdx_api/models/electronic_address_entity.rb +87 -0
- data/lib/fdx_api/models/employee_entity.rb +175 -0
- data/lib/fdx_api/models/employee_entity1.rb +175 -0
- data/lib/fdx_api/models/employer_entity.rb +125 -0
- data/lib/fdx_api/models/employer_entity1.rb +125 -0
- data/lib/fdx_api/models/employment.rb +149 -0
- data/lib/fdx_api/models/employment1.rb +149 -0
- data/lib/fdx_api/models/employment_type.rb +36 -0
- data/lib/fdx_api/models/employment_type2.rb +36 -0
- data/lib/fdx_api/models/error1.rb +113 -0
- data/lib/fdx_api/models/expired_option_type.rb +23 -0
- data/lib/fdx_api/models/expired_option_type2.rb +24 -0
- data/lib/fdx_api/models/external_account_id_scheme_entity.rb +85 -0
- data/lib/fdx_api/models/external_financial_institution_id_scheme_entity.rb +85 -0
- data/lib/fdx_api/models/farm_income_statement.rb +628 -0
- data/lib/fdx_api/models/farm_rental_income_statement.rb +586 -0
- data/lib/fdx_api/models/fdx_api_actor_type.rb +24 -0
- data/lib/fdx_api/models/fdx_jwt_profile.rb +171 -0
- data/lib/fdx_api/models/fdx_oauth_token_introspection_response.rb +180 -0
- data/lib/fdx_api/models/fdx_resource_operation_id.rb +227 -0
- data/lib/fdx_api/models/fdx_resource_operation_id1.rb +227 -0
- data/lib/fdx_api/models/fdx_resource_operation_id3.rb +227 -0
- data/lib/fdx_api/models/fdx_version.rb +119 -0
- data/lib/fdx_api/models/fi_attribute_entity.rb +95 -0
- data/lib/fdx_api/models/fi_portion_entity.rb +95 -0
- data/lib/fdx_api/models/financial_institution_entity.rb +116 -0
- data/lib/fdx_api/models/financial_institution_entity2.rb +116 -0
- data/lib/fdx_api/models/form1041_k1.rb +572 -0
- data/lib/fdx_api/models/form1041_k11.rb +570 -0
- data/lib/fdx_api/models/form1042_s.rb +541 -0
- data/lib/fdx_api/models/form1042_s1.rb +539 -0
- data/lib/fdx_api/models/form1042_s_agent.rb +207 -0
- data/lib/fdx_api/models/form1042_s_agent1.rb +196 -0
- data/lib/fdx_api/models/form1042_s_agent2.rb +196 -0
- data/lib/fdx_api/models/form1042_s_agent3.rb +196 -0
- data/lib/fdx_api/models/form1042_s_agent4.rb +196 -0
- data/lib/fdx_api/models/form1042_s_recipient.rb +216 -0
- data/lib/fdx_api/models/form1042_s_recipient1.rb +216 -0
- data/lib/fdx_api/models/form1065_k1.rb +1177 -0
- data/lib/fdx_api/models/form1065_k11.rb +1176 -0
- data/lib/fdx_api/models/form1095_a.rb +364 -0
- data/lib/fdx_api/models/form1095_a1.rb +364 -0
- data/lib/fdx_api/models/form1095_b.rb +281 -0
- data/lib/fdx_api/models/form1095_b1.rb +280 -0
- data/lib/fdx_api/models/form1095_c.rb +294 -0
- data/lib/fdx_api/models/form1095_c1.rb +293 -0
- data/lib/fdx_api/models/form1097_btc.rb +314 -0
- data/lib/fdx_api/models/form1097_btc1.rb +313 -0
- data/lib/fdx_api/models/form1098.rb +388 -0
- data/lib/fdx_api/models/form10981.rb +387 -0
- data/lib/fdx_api/models/form1098_c.rb +421 -0
- data/lib/fdx_api/models/form1098_c1.rb +420 -0
- data/lib/fdx_api/models/form1098_e.rb +255 -0
- data/lib/fdx_api/models/form1098_e1.rb +254 -0
- data/lib/fdx_api/models/form1098_ma.rb +276 -0
- data/lib/fdx_api/models/form1098_ma1.rb +275 -0
- data/lib/fdx_api/models/form1098_q.rb +338 -0
- data/lib/fdx_api/models/form1098_q1.rb +337 -0
- data/lib/fdx_api/models/form1098_t.rb +338 -0
- data/lib/fdx_api/models/form1098_t1.rb +337 -0
- data/lib/fdx_api/models/form1099_a.rb +289 -0
- data/lib/fdx_api/models/form1099_a1.rb +288 -0
- data/lib/fdx_api/models/form1099_b.rb +368 -0
- data/lib/fdx_api/models/form1099_b1.rb +367 -0
- data/lib/fdx_api/models/form1099_c.rb +310 -0
- data/lib/fdx_api/models/form1099_c1.rb +309 -0
- data/lib/fdx_api/models/form1099_cap.rb +274 -0
- data/lib/fdx_api/models/form1099_cap1.rb +273 -0
- data/lib/fdx_api/models/form1099_consolidated_statement.rb +327 -0
- data/lib/fdx_api/models/form1099_consolidated_statement1.rb +325 -0
- data/lib/fdx_api/models/form1099_div.rb +538 -0
- data/lib/fdx_api/models/form1099_div1.rb +537 -0
- data/lib/fdx_api/models/form1099_g.rb +363 -0
- data/lib/fdx_api/models/form1099_g1.rb +362 -0
- data/lib/fdx_api/models/form1099_h.rb +263 -0
- data/lib/fdx_api/models/form1099_h1.rb +262 -0
- data/lib/fdx_api/models/form1099_int.rb +488 -0
- data/lib/fdx_api/models/form1099_int1.rb +487 -0
- data/lib/fdx_api/models/form1099_k.rb +413 -0
- data/lib/fdx_api/models/form1099_k1.rb +412 -0
- data/lib/fdx_api/models/form1099_ls.rb +274 -0
- data/lib/fdx_api/models/form1099_ls1.rb +273 -0
- data/lib/fdx_api/models/form1099_ltc.rb +339 -0
- data/lib/fdx_api/models/form1099_ltc1.rb +338 -0
- data/lib/fdx_api/models/form1099_misc.rb +438 -0
- data/lib/fdx_api/models/form1099_misc1.rb +437 -0
- data/lib/fdx_api/models/form1099_nec.rb +301 -0
- data/lib/fdx_api/models/form1099_nec1.rb +300 -0
- data/lib/fdx_api/models/form1099_oid.rb +431 -0
- data/lib/fdx_api/models/form1099_oid1.rb +430 -0
- data/lib/fdx_api/models/form1099_patr.rb +421 -0
- data/lib/fdx_api/models/form1099_patr1.rb +420 -0
- data/lib/fdx_api/models/form1099_q.rb +335 -0
- data/lib/fdx_api/models/form1099_q1.rb +334 -0
- data/lib/fdx_api/models/form1099_qa.rb +295 -0
- data/lib/fdx_api/models/form1099_qa1.rb +294 -0
- data/lib/fdx_api/models/form1099_r.rb +475 -0
- data/lib/fdx_api/models/form1099_r1.rb +474 -0
- data/lib/fdx_api/models/form1099_s.rb +306 -0
- data/lib/fdx_api/models/form1099_s1.rb +305 -0
- data/lib/fdx_api/models/form1099_sa.rb +306 -0
- data/lib/fdx_api/models/form1099_sa1.rb +305 -0
- data/lib/fdx_api/models/form1099_sb.rb +267 -0
- data/lib/fdx_api/models/form1099_sb1.rb +266 -0
- data/lib/fdx_api/models/form1120_sk1.rb +670 -0
- data/lib/fdx_api/models/form1120_sk11.rb +669 -0
- data/lib/fdx_api/models/form2439.rb +306 -0
- data/lib/fdx_api/models/form24391.rb +305 -0
- data/lib/fdx_api/models/form3921.rb +298 -0
- data/lib/fdx_api/models/form39211.rb +297 -0
- data/lib/fdx_api/models/form3922.rb +327 -0
- data/lib/fdx_api/models/form39221.rb +326 -0
- data/lib/fdx_api/models/form5498.rb +486 -0
- data/lib/fdx_api/models/form54981.rb +485 -0
- data/lib/fdx_api/models/form5498_esa.rb +258 -0
- data/lib/fdx_api/models/form5498_esa1.rb +257 -0
- data/lib/fdx_api/models/form5498_qa.rb +311 -0
- data/lib/fdx_api/models/form5498_qa1.rb +310 -0
- data/lib/fdx_api/models/form5498_sa.rb +321 -0
- data/lib/fdx_api/models/form5498_sa1.rb +320 -0
- data/lib/fdx_api/models/form_w2.rb +459 -0
- data/lib/fdx_api/models/form_w21.rb +458 -0
- data/lib/fdx_api/models/form_w22.rb +458 -0
- data/lib/fdx_api/models/form_w24.rb +458 -0
- data/lib/fdx_api/models/form_w2_c.rb +276 -0
- data/lib/fdx_api/models/form_w2_c2.rb +275 -0
- data/lib/fdx_api/models/form_w2_g.rb +354 -0
- data/lib/fdx_api/models/form_w2_g2.rb +353 -0
- data/lib/fdx_api/models/gain_or_loss_from_cryptocurrency_transaction.rb +173 -0
- data/lib/fdx_api/models/generic_account_identification_entity.rb +107 -0
- data/lib/fdx_api/models/generic_financial_institution_id_entity.rb +107 -0
- data/lib/fdx_api/models/government_issued_id_type.rb +23 -0
- data/lib/fdx_api/models/government_issued_id_type2.rb +23 -0
- data/lib/fdx_api/models/government_issued_party_identification_entity.rb +118 -0
- data/lib/fdx_api/models/hateoas_link.rb +119 -0
- data/lib/fdx_api/models/health_insurance_coverage.rb +115 -0
- data/lib/fdx_api/models/health_insurance_covered_individual.rb +118 -0
- data/lib/fdx_api/models/health_insurance_marketplace_covered_individual.rb +119 -0
- data/lib/fdx_api/models/held_in_account.rb +29 -0
- data/lib/fdx_api/models/held_in_account2.rb +29 -0
- data/lib/fdx_api/models/holding_entity.rb +448 -0
- data/lib/fdx_api/models/holding_sub_type.rb +23 -0
- data/lib/fdx_api/models/holding_sub_type2.rb +23 -0
- data/lib/fdx_api/models/holding_type.rb +51 -0
- data/lib/fdx_api/models/holding_type2.rb +41 -0
- data/lib/fdx_api/models/http_action_type.rb +32 -0
- data/lib/fdx_api/models/iban2007_identifier_entity.rb +86 -0
- data/lib/fdx_api/models/income.rb +124 -0
- data/lib/fdx_api/models/income_type.rb +26 -0
- data/lib/fdx_api/models/income_type2.rb +27 -0
- data/lib/fdx_api/models/incoming_and_outgoing_transfer_limits.rb +85 -0
- data/lib/fdx_api/models/incoming_and_outgoing_transfer_limits2.rb +85 -0
- data/lib/fdx_api/models/individual_name.rb +115 -0
- data/lib/fdx_api/models/industry_classification_system.rb +38 -0
- data/lib/fdx_api/models/industry_code.rb +95 -0
- data/lib/fdx_api/models/insurance_account_entity.rb +326 -0
- data/lib/fdx_api/models/insurance_transaction_entity.rb +201 -0
- data/lib/fdx_api/models/insurance_transaction_type.rb +29 -0
- data/lib/fdx_api/models/interest_rate_type.rb +23 -0
- data/lib/fdx_api/models/interest_rate_type2.rb +23 -0
- data/lib/fdx_api/models/intermediary.rb +139 -0
- data/lib/fdx_api/models/investment401_k_source_type.rb +38 -0
- data/lib/fdx_api/models/investment401_k_source_type1.rb +40 -0
- data/lib/fdx_api/models/investment401_k_source_type2.rb +39 -0
- data/lib/fdx_api/models/investment401_k_source_type4.rb +39 -0
- data/lib/fdx_api/models/investment_account_entity.rb +548 -0
- data/lib/fdx_api/models/investment_balance_entity.rb +138 -0
- data/lib/fdx_api/models/investment_balance_type.rb +23 -0
- data/lib/fdx_api/models/investment_balance_type2.rb +23 -0
- data/lib/fdx_api/models/investment_loan_entity.rb +261 -0
- data/lib/fdx_api/models/investment_sale_type.rb +38 -0
- data/lib/fdx_api/models/investment_transaction_entity.rb +669 -0
- data/lib/fdx_api/models/investment_transaction_type.rb +155 -0
- data/lib/fdx_api/models/investment_transaction_type2.rb +161 -0
- data/lib/fdx_api/models/investment_transfer_action_direction.rb +23 -0
- data/lib/fdx_api/models/investment_transfer_action_direction2.rb +23 -0
- data/lib/fdx_api/models/iso3166_country_code.rb +764 -0
- data/lib/fdx_api/models/iso3166_country_code1.rb +764 -0
- data/lib/fdx_api/models/iso3166_country_code2.rb +764 -0
- data/lib/fdx_api/models/iso4217_currency_code.rb +560 -0
- data/lib/fdx_api/models/iso4217_currency_code1.rb +560 -0
- data/lib/fdx_api/models/iso4217_currency_code2.rb +560 -0
- data/lib/fdx_api/models/iso93622014_business_identifier_code_entity.rb +93 -0
- data/lib/fdx_api/models/iso93622022_business_identifier_code_entity.rb +91 -0
- data/lib/fdx_api/models/line_item_entity.rb +156 -0
- data/lib/fdx_api/models/line_of_credit_account_entity.rb +474 -0
- data/lib/fdx_api/models/line_of_credit_transaction_entity.rb +223 -0
- data/lib/fdx_api/models/line_of_credit_transaction_type.rb +38 -0
- data/lib/fdx_api/models/line_of_credit_transaction_type2.rb +38 -0
- data/lib/fdx_api/models/loan_account_entity.rb +432 -0
- data/lib/fdx_api/models/loan_payment_frequency.rb +47 -0
- data/lib/fdx_api/models/loan_payment_frequency2.rb +48 -0
- data/lib/fdx_api/models/loan_transaction_entity.rb +212 -0
- data/lib/fdx_api/models/loan_transaction_type.rb +49 -0
- data/lib/fdx_api/models/loan_transaction_type2.rb +41 -0
- data/lib/fdx_api/models/local_tax_withholding.rb +96 -0
- data/lib/fdx_api/models/local_tax_withholding1.rb +96 -0
- data/lib/fdx_api/models/merchant_entity.rb +159 -0
- data/lib/fdx_api/models/merchant_entity1.rb +159 -0
- data/lib/fdx_api/models/merchant_for_update_entity.rb +118 -0
- data/lib/fdx_api/models/merchant_for_update_entity1.rb +118 -0
- data/lib/fdx_api/models/message_format.rb +20 -0
- data/lib/fdx_api/models/message_format2.rb +20 -0
- data/lib/fdx_api/models/monetary_amount.rb +84 -0
- data/lib/fdx_api/models/monetary_amount1.rb +84 -0
- data/lib/fdx_api/models/monetary_amount2.rb +84 -0
- data/lib/fdx_api/models/monetary_amount3.rb +84 -0
- data/lib/fdx_api/models/monetary_amount4.rb +84 -0
- data/lib/fdx_api/models/monetary_amount5.rb +84 -0
- data/lib/fdx_api/models/monetary_amount6.rb +84 -0
- data/lib/fdx_api/models/month_abbreviation.rb +53 -0
- data/lib/fdx_api/models/month_abbreviation1.rb +53 -0
- data/lib/fdx_api/models/month_and_amount.rb +85 -0
- data/lib/fdx_api/models/mutual_fund_security_entity.rb +161 -0
- data/lib/fdx_api/models/mutual_fund_type.rb +26 -0
- data/lib/fdx_api/models/mutual_fund_type2.rb +26 -0
- data/lib/fdx_api/models/name_address_and_phone.rb +171 -0
- data/lib/fdx_api/models/name_address_and_phone1.rb +171 -0
- data/lib/fdx_api/models/name_and_address.rb +159 -0
- data/lib/fdx_api/models/notification_category.rb +32 -0
- data/lib/fdx_api/models/notification_category1.rb +32 -0
- data/lib/fdx_api/models/notification_entity.rb +169 -0
- data/lib/fdx_api/models/notification_payload_entity.rb +95 -0
- data/lib/fdx_api/models/notification_payload_entity2.rb +95 -0
- data/lib/fdx_api/models/notification_payload_id_type.rb +32 -0
- data/lib/fdx_api/models/notification_payload_id_type2.rb +32 -0
- data/lib/fdx_api/models/notification_priority.rb +26 -0
- data/lib/fdx_api/models/notification_priority2.rb +26 -0
- data/lib/fdx_api/models/notification_severity.rb +32 -0
- data/lib/fdx_api/models/notification_severity2.rb +32 -0
- data/lib/fdx_api/models/notification_subscription_entity.rb +123 -0
- data/lib/fdx_api/models/notification_type.rb +38 -0
- data/lib/fdx_api/models/notifications_entity.rb +104 -0
- data/lib/fdx_api/models/occurrence_based_limits_for_a_payment_network.rb +95 -0
- data/lib/fdx_api/models/occurrence_based_limits_for_a_payment_network2.rb +94 -0
- data/lib/fdx_api/models/offer_of_health_insurance_coverage.rb +119 -0
- data/lib/fdx_api/models/open_order_entity.rb +231 -0
- data/lib/fdx_api/models/operation_entity.rb +150 -0
- data/lib/fdx_api/models/option_security_entity.rb +135 -0
- data/lib/fdx_api/models/option_type.rb +23 -0
- data/lib/fdx_api/models/option_type2.rb +23 -0
- data/lib/fdx_api/models/order_duration.rb +26 -0
- data/lib/fdx_api/models/order_duration2.rb +26 -0
- data/lib/fdx_api/models/order_type.rb +41 -0
- data/lib/fdx_api/models/order_type2.rb +42 -0
- data/lib/fdx_api/models/organization_name_entity.rb +87 -0
- data/lib/fdx_api/models/other_monetary_amount.rb +94 -0
- data/lib/fdx_api/models/other_security_entity.rb +94 -0
- data/lib/fdx_api/models/page_metadata.rb +108 -0
- data/lib/fdx_api/models/page_metadata_links.rb +95 -0
- data/lib/fdx_api/models/page_metadata_links1.rb +85 -0
- data/lib/fdx_api/models/party_entity.rb +139 -0
- data/lib/fdx_api/models/party_group_entity.rb +86 -0
- data/lib/fdx_api/models/party_status.rb +33 -0
- data/lib/fdx_api/models/party_status1.rb +29 -0
- data/lib/fdx_api/models/party_status3.rb +29 -0
- data/lib/fdx_api/models/party_type.rb +35 -0
- data/lib/fdx_api/models/party_type1.rb +35 -0
- data/lib/fdx_api/models/party_type2.rb +35 -0
- data/lib/fdx_api/models/payee_entity.rb +75 -0
- data/lib/fdx_api/models/payee_for_update_entity.rb +74 -0
- data/lib/fdx_api/models/payee_for_update_entity1.rb +74 -0
- data/lib/fdx_api/models/payees_entity.rb +113 -0
- data/lib/fdx_api/models/payment_amounts.rb +133 -0
- data/lib/fdx_api/models/payment_amounts1.rb +92 -0
- data/lib/fdx_api/models/payment_amounts2.rb +133 -0
- data/lib/fdx_api/models/payment_amounts3.rb +92 -0
- data/lib/fdx_api/models/payment_delivery_address_entity.rb +99 -0
- data/lib/fdx_api/models/payment_details_entity.rb +142 -0
- data/lib/fdx_api/models/payment_entity.rb +262 -0
- data/lib/fdx_api/models/payment_for_update_entity.rb +113 -0
- data/lib/fdx_api/models/payment_for_update_entity1.rb +113 -0
- data/lib/fdx_api/models/payment_for_update_entity2.rb +113 -0
- data/lib/fdx_api/models/payment_frequency.rb +38 -0
- data/lib/fdx_api/models/payment_frequency1.rb +38 -0
- data/lib/fdx_api/models/payment_frequency3.rb +38 -0
- data/lib/fdx_api/models/payment_generic_account_entity.rb +138 -0
- data/lib/fdx_api/models/payment_generic_account_entity1.rb +138 -0
- data/lib/fdx_api/models/payment_generic_account_entity2.rb +138 -0
- data/lib/fdx_api/models/payment_initiation_parties_entity.rb +108 -0
- data/lib/fdx_api/models/payment_initiation_party_contact_method_entity.rb +97 -0
- data/lib/fdx_api/models/payment_initiation_party_create_response_entity.rb +85 -0
- data/lib/fdx_api/models/payment_initiation_party_entity.rb +292 -0
- data/lib/fdx_api/models/payment_initiation_party_method_create_response_entity.rb +78 -0
- data/lib/fdx_api/models/payment_initiation_party_name_entity.rb +98 -0
- data/lib/fdx_api/models/payment_initiation_party_name_entity1.rb +97 -0
- data/lib/fdx_api/models/payment_initiation_party_name_entity3.rb +97 -0
- data/lib/fdx_api/models/payment_initiation_party_summary_entity.rb +90 -0
- data/lib/fdx_api/models/payment_initiation_party_to_payment_method_entity.rb +130 -0
- data/lib/fdx_api/models/payment_method_credit_account_entity.rb +111 -0
- data/lib/fdx_api/models/payment_method_debit_account_entity.rb +100 -0
- data/lib/fdx_api/models/payment_method_entity.rb +139 -0
- data/lib/fdx_api/models/payment_method_entity2.rb +149 -0
- data/lib/fdx_api/models/payment_method_id.rb +96 -0
- data/lib/fdx_api/models/payment_method_system_code.rb +90 -0
- data/lib/fdx_api/models/payment_method_system_proprietary.rb +85 -0
- data/lib/fdx_api/models/payment_network_identifier_type.rb +23 -0
- data/lib/fdx_api/models/payment_network_identifier_type1.rb +23 -0
- data/lib/fdx_api/models/payment_network_identifier_type3.rb +23 -0
- data/lib/fdx_api/models/payment_network_supported_by_account.rb +161 -0
- data/lib/fdx_api/models/payment_network_type.rb +43 -0
- data/lib/fdx_api/models/payment_network_type2.rb +39 -0
- data/lib/fdx_api/models/payment_status.rb +41 -0
- data/lib/fdx_api/models/payment_status1.rb +35 -0
- data/lib/fdx_api/models/payment_status3.rb +35 -0
- data/lib/fdx_api/models/payments_entity.rb +113 -0
- data/lib/fdx_api/models/payout_mode.rb +41 -0
- data/lib/fdx_api/models/payout_mode2.rb +38 -0
- data/lib/fdx_api/models/payout_type.rb +26 -0
- data/lib/fdx_api/models/payout_type2.rb +23 -0
- data/lib/fdx_api/models/payroll_frequency_type.rb +50 -0
- data/lib/fdx_api/models/payroll_frequency_type2.rb +50 -0
- data/lib/fdx_api/models/payroll_rate_type.rb +29 -0
- data/lib/fdx_api/models/payroll_rate_type2.rb +29 -0
- data/lib/fdx_api/models/payroll_report_entity.rb +162 -0
- data/lib/fdx_api/models/payroll_report_list_entity.rb +103 -0
- data/lib/fdx_api/models/payroll_report_summary_entity.rb +160 -0
- data/lib/fdx_api/models/payroll_report_type.rb +24 -0
- data/lib/fdx_api/models/payroll_report_type1.rb +23 -0
- data/lib/fdx_api/models/pension_source_entity.rb +136 -0
- data/lib/fdx_api/models/period_certain_type.rb +36 -0
- data/lib/fdx_api/models/period_certain_type2.rb +33 -0
- data/lib/fdx_api/models/planned_availability_entity.rb +122 -0
- data/lib/fdx_api/models/policy_premium_term_type.rb +23 -0
- data/lib/fdx_api/models/policy_premium_term_type2.rb +23 -0
- data/lib/fdx_api/models/policy_product_type.rb +26 -0
- data/lib/fdx_api/models/policy_product_type2.rb +23 -0
- data/lib/fdx_api/models/policy_status.rb +52 -0
- data/lib/fdx_api/models/policy_status2.rb +41 -0
- data/lib/fdx_api/models/portion_entity.rb +95 -0
- data/lib/fdx_api/models/position_type.rb +23 -0
- data/lib/fdx_api/models/position_type1.rb +23 -0
- data/lib/fdx_api/models/proprietary_account_id_scheme_entity.rb +88 -0
- data/lib/fdx_api/models/proprietary_financial_institution_id_scheme_entity.rb +86 -0
- data/lib/fdx_api/models/recipient_provider.rb +293 -0
- data/lib/fdx_api/models/recipient_record_at_ecosystem_registry.rb +223 -0
- data/lib/fdx_api/models/recipient_records_at_ecosystem_registry.rb +105 -0
- data/lib/fdx_api/models/recipient_request.rb +214 -0
- data/lib/fdx_api/models/recurring_payment_duration_entity.rb +86 -0
- data/lib/fdx_api/models/recurring_payment_duration_entity2.rb +86 -0
- data/lib/fdx_api/models/recurring_payment_duration_type.rb +24 -0
- data/lib/fdx_api/models/recurring_payment_duration_type2.rb +23 -0
- data/lib/fdx_api/models/recurring_payment_entity.rb +231 -0
- data/lib/fdx_api/models/recurring_payment_for_update_entity.rb +133 -0
- data/lib/fdx_api/models/recurring_payment_for_update_entity1.rb +132 -0
- data/lib/fdx_api/models/recurring_payment_for_update_entity2.rb +132 -0
- data/lib/fdx_api/models/recurring_payment_frequency.rb +46 -0
- data/lib/fdx_api/models/recurring_payment_frequency2.rb +44 -0
- data/lib/fdx_api/models/recurring_payment_status.rb +33 -0
- data/lib/fdx_api/models/recurring_payment_status2.rb +29 -0
- data/lib/fdx_api/models/recurring_payments_entity.rb +113 -0
- data/lib/fdx_api/models/registry.rb +30 -0
- data/lib/fdx_api/models/registry_reference.rb +102 -0
- data/lib/fdx_api/models/rental_income_statement.rb +424 -0
- data/lib/fdx_api/models/resource_entity.rb +114 -0
- data/lib/fdx_api/models/resource_list_entity.rb +104 -0
- data/lib/fdx_api/models/resource_status.rb +26 -0
- data/lib/fdx_api/models/resource_status2.rb +26 -0
- data/lib/fdx_api/models/result_type.rb +26 -0
- data/lib/fdx_api/models/reward_balance_entity.rb +144 -0
- data/lib/fdx_api/models/reward_categories_entity.rb +104 -0
- data/lib/fdx_api/models/reward_category_entity.rb +136 -0
- data/lib/fdx_api/models/reward_program_entity.rb +136 -0
- data/lib/fdx_api/models/reward_program_membership_entity.rb +147 -0
- data/lib/fdx_api/models/reward_programs_entity.rb +104 -0
- data/lib/fdx_api/models/reward_type.rb +30 -0
- data/lib/fdx_api/models/reward_type2.rb +26 -0
- data/lib/fdx_api/models/royalty_income_statement.rb +424 -0
- data/lib/fdx_api/models/sale_proceeds_type.rb +23 -0
- data/lib/fdx_api/models/sale_proceeds_type2.rb +23 -0
- data/lib/fdx_api/models/secured.rb +23 -0
- data/lib/fdx_api/models/secured2.rb +23 -0
- data/lib/fdx_api/models/security_category.rb +35 -0
- data/lib/fdx_api/models/security_detail_irs_form1099_b.rb +390 -0
- data/lib/fdx_api/models/security_entity.rb +96 -0
- data/lib/fdx_api/models/security_id_entity.rb +95 -0
- data/lib/fdx_api/models/security_id_type.rb +60 -0
- data/lib/fdx_api/models/security_id_type1.rb +50 -0
- data/lib/fdx_api/models/security_type.rb +51 -0
- data/lib/fdx_api/models/security_type2.rb +41 -0
- data/lib/fdx_api/models/state_and_local_tax_withholding.rb +95 -0
- data/lib/fdx_api/models/state_and_local_tax_withholding1.rb +95 -0
- data/lib/fdx_api/models/state_and_local_tax_withholding2.rb +95 -0
- data/lib/fdx_api/models/state_code.rb +203 -0
- data/lib/fdx_api/models/state_tax_withholding.rb +95 -0
- data/lib/fdx_api/models/state_tax_withholding2.rb +95 -0
- data/lib/fdx_api/models/statement_entity.rb +135 -0
- data/lib/fdx_api/models/stock_security_entity.rb +147 -0
- data/lib/fdx_api/models/stock_type.rb +29 -0
- data/lib/fdx_api/models/stock_type2.rb +29 -0
- data/lib/fdx_api/models/sub_account_type.rb +29 -0
- data/lib/fdx_api/models/sub_account_type1.rb +29 -0
- data/lib/fdx_api/models/sub_account_type2.rb +29 -0
- data/lib/fdx_api/models/sub_account_type4.rb +29 -0
- data/lib/fdx_api/models/supplemental_status.rb +44 -0
- data/lib/fdx_api/models/supplemental_status2.rb +44 -0
- data/lib/fdx_api/models/suspected_fraud_incident_entity.rb +133 -0
- data/lib/fdx_api/models/sweep_security_entity.rb +135 -0
- data/lib/fdx_api/models/synchronizable_array_entity.rb +96 -0
- data/lib/fdx_api/models/synchronizable_array_links_entity.rb +95 -0
- data/lib/fdx_api/models/synchronizable_array_links_entity2.rb +95 -0
- data/lib/fdx_api/models/tax.rb +218 -0
- data/lib/fdx_api/models/tax_data.rb +653 -0
- data/lib/fdx_api/models/tax_data_for_qr.rb +675 -0
- data/lib/fdx_api/models/tax_form_attribute.rb +106 -0
- data/lib/fdx_api/models/tax_lot_entity.rb +140 -0
- data/lib/fdx_api/models/tax_party.rb +138 -0
- data/lib/fdx_api/models/tax_party1.rb +140 -0
- data/lib/fdx_api/models/tax_party2.rb +138 -0
- data/lib/fdx_api/models/tax_party3.rb +138 -0
- data/lib/fdx_api/models/tax_party4.rb +139 -0
- data/lib/fdx_api/models/tax_party6.rb +140 -0
- data/lib/fdx_api/models/tax_party7.rb +140 -0
- data/lib/fdx_api/models/tax_party8.rb +139 -0
- data/lib/fdx_api/models/tax_party_type.rb +23 -0
- data/lib/fdx_api/models/tax_party_type2.rb +24 -0
- data/lib/fdx_api/models/tax_refund_direct_deposit.rb +108 -0
- data/lib/fdx_api/models/tax_refund_direct_deposit2.rb +108 -0
- data/lib/fdx_api/models/tax_statement.rb +174 -0
- data/lib/fdx_api/models/tax_statement1.rb +175 -0
- data/lib/fdx_api/models/tax_statement2.rb +175 -0
- data/lib/fdx_api/models/tax_statement4.rb +175 -0
- data/lib/fdx_api/models/tax_statement6.rb +175 -0
- data/lib/fdx_api/models/tax_statement_list.rb +85 -0
- data/lib/fdx_api/models/telephone_number.rb +105 -0
- data/lib/fdx_api/models/telephone_number_plus_extension.rb +105 -0
- data/lib/fdx_api/models/telephone_number_plus_extension1.rb +105 -0
- data/lib/fdx_api/models/telephone_number_plus_extension2.rb +105 -0
- data/lib/fdx_api/models/telephone_number_type.rb +29 -0
- data/lib/fdx_api/models/time_and_occurrence_based_transfer_limits.rb +115 -0
- data/lib/fdx_api/models/time_and_occurrence_based_transfer_limits1.rb +115 -0
- data/lib/fdx_api/models/time_and_occurrence_based_transfer_limits3.rb +115 -0
- data/lib/fdx_api/models/timeframe_based_limits_for_a_payment_network.rb +139 -0
- data/lib/fdx_api/models/timeframe_based_limits_for_a_payment_network1.rb +138 -0
- data/lib/fdx_api/models/timeframe_based_limits_for_a_payment_network2.rb +138 -0
- data/lib/fdx_api/models/timeframe_based_limits_for_a_payment_network3.rb +138 -0
- data/lib/fdx_api/models/timeframe_based_limits_for_a_payment_network5.rb +138 -0
- data/lib/fdx_api/models/transaction.rb +357 -0
- data/lib/fdx_api/models/transaction_reason.rb +26 -0
- data/lib/fdx_api/models/transaction_reason2.rb +27 -0
- data/lib/fdx_api/models/transaction_reward_entity.rb +97 -0
- data/lib/fdx_api/models/transaction_reward_entity2.rb +107 -0
- data/lib/fdx_api/models/transaction_status.rb +29 -0
- data/lib/fdx_api/models/transaction_status2.rb +29 -0
- data/lib/fdx_api/models/transactions_entity.rb +109 -0
- data/lib/fdx_api/models/transfer_entity.rb +169 -0
- data/lib/fdx_api/models/transfer_for_create_entity.rb +129 -0
- data/lib/fdx_api/models/transfer_for_create_entity1.rb +129 -0
- data/lib/fdx_api/models/transfers_entity.rb +113 -0
- data/lib/fdx_api/models/treasury_management_type.rb +30 -0
- data/lib/fdx_api/models/type_data_type.rb +26 -0
- data/lib/fdx_api/models/type_data_type2.rb +24 -0
- data/lib/fdx_api/models/type_form_type.rb +176 -0
- data/lib/fdx_api/models/type_form_type1.rb +176 -0
- data/lib/fdx_api/models/unit_type.rb +23 -0
- data/lib/fdx_api/models/unit_type1.rb +23 -0
- data/lib/fdx_api/models/unit_type3.rb +23 -0
- data/lib/fdx_api/models/updates_metadata_entity.rb +77 -0
- data/lib/fdx_api/models/updates_metadata_entity2.rb +77 -0
- data/lib/fdx_api/models/vesting_entity.rb +186 -0
- data/lib/fdx_api/utilities/date_time_helper.rb +11 -0
- data/lib/fdx_api/utilities/file_wrapper.rb +28 -0
- data/lib/fdx_api/utilities/union_type_lookup.rb +240 -0
- data/lib/fdx_api.rb +661 -0
- metadata +717 -0
|
@@ -0,0 +1,1177 @@
|
|
|
1
|
+
# fdx_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module FdxApi
|
|
7
|
+
# Partner's Share of Income, Deductions, Credits, etc., from Partnership
|
|
8
|
+
# (boxes A, D as issuer) to Partner (boxes E-F as recipient)
|
|
9
|
+
class Form1065K1 < BaseModel
|
|
10
|
+
SKIP = Object.new
|
|
11
|
+
private_constant :SKIP
|
|
12
|
+
|
|
13
|
+
# Year for which taxes are being paid
|
|
14
|
+
# @return [Integer]
|
|
15
|
+
attr_accessor :tax_year
|
|
16
|
+
|
|
17
|
+
# True to indicate this is a corrected tax form
|
|
18
|
+
# @return [TrueClass | FalseClass]
|
|
19
|
+
attr_accessor :corrected
|
|
20
|
+
|
|
21
|
+
# Long-term persistent identity of the source account. Not the account
|
|
22
|
+
# number
|
|
23
|
+
# @return [String]
|
|
24
|
+
attr_accessor :account_id
|
|
25
|
+
|
|
26
|
+
# Long-term persistent id for this tax form. Depending upon the data
|
|
27
|
+
# provider, this may be the same id as the enclosing tax statement id, or
|
|
28
|
+
# this may be a different id, or this id may be omitted.
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :tax_form_id
|
|
31
|
+
|
|
32
|
+
# Date of production or delivery of the tax form
|
|
33
|
+
# @return [Date]
|
|
34
|
+
attr_accessor :tax_form_date
|
|
35
|
+
|
|
36
|
+
# Additional explanation text or content about this tax form
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :additional_information
|
|
39
|
+
|
|
40
|
+
# Enumerated name of the tax form entity e.g. "TaxW2"
|
|
41
|
+
# @return [TypeFormType1]
|
|
42
|
+
attr_accessor :tax_form_type
|
|
43
|
+
|
|
44
|
+
# Issuer's name, address, phone, and TIN. Issuer data need only be
|
|
45
|
+
# transmitted on enclosing TaxStatement, if it is the same on all its
|
|
46
|
+
# included tax forms.
|
|
47
|
+
# @return [TaxParty8]
|
|
48
|
+
attr_accessor :issuer
|
|
49
|
+
|
|
50
|
+
# Recipient's name, address, phone, and TIN. Recipient data need only be
|
|
51
|
+
# transmitted on enclosing TaxStatement, if it is the same on all its
|
|
52
|
+
# included tax forms.
|
|
53
|
+
# @return [TaxParty1]
|
|
54
|
+
attr_accessor :recipient
|
|
55
|
+
|
|
56
|
+
# Additional attributes for this tax form when defined fields are not
|
|
57
|
+
# available. Some specific additional attributes already defined by
|
|
58
|
+
# providers: Fields required by [IRS
|
|
59
|
+
# FIRE](https://www.irs.gov/e-file-providers/filing-information-returns-elec
|
|
60
|
+
# tronically-fire): Name Control, Type of Identification Number (EIN, SSN,
|
|
61
|
+
# ITIN, ATIN). (ATIN is tax ID number for pending adoptions.) Tax form
|
|
62
|
+
# provider field for taxpayer notification: Recipient Email Address.
|
|
63
|
+
# @return [Array[TaxFormAttribute]]
|
|
64
|
+
attr_accessor :attributes
|
|
65
|
+
|
|
66
|
+
# Present if an error was encountered while retrieving this form
|
|
67
|
+
# @return [Error1]
|
|
68
|
+
attr_accessor :error
|
|
69
|
+
|
|
70
|
+
# Links to retrieve this form as data or image, or to invoke other APIs
|
|
71
|
+
# @return [Array[HateoasLink]]
|
|
72
|
+
attr_accessor :links
|
|
73
|
+
|
|
74
|
+
# Fiscal year begin date
|
|
75
|
+
# @return [Date]
|
|
76
|
+
attr_accessor :fiscal_year_begin
|
|
77
|
+
|
|
78
|
+
# Fiscal year end data
|
|
79
|
+
# @return [Date]
|
|
80
|
+
attr_accessor :fiscal_year_end
|
|
81
|
+
|
|
82
|
+
# Final K-1
|
|
83
|
+
# @return [TrueClass | FalseClass]
|
|
84
|
+
attr_accessor :final_k1
|
|
85
|
+
|
|
86
|
+
# Amended K-1
|
|
87
|
+
# @return [TrueClass | FalseClass]
|
|
88
|
+
attr_accessor :amended_k1
|
|
89
|
+
|
|
90
|
+
# Box C, IRS Center where partnership filed return
|
|
91
|
+
# @return [String]
|
|
92
|
+
attr_accessor :irs_center
|
|
93
|
+
|
|
94
|
+
# Box D, Check if this is a publicly traded partnership (PTP)
|
|
95
|
+
# @return [TrueClass | FalseClass]
|
|
96
|
+
attr_accessor :publicly_traded
|
|
97
|
+
|
|
98
|
+
# Box G, General partner or LLC member-manager
|
|
99
|
+
# @return [TrueClass | FalseClass]
|
|
100
|
+
attr_accessor :general_partner
|
|
101
|
+
|
|
102
|
+
# Box G, Limited partner or other LLC member
|
|
103
|
+
# @return [TrueClass | FalseClass]
|
|
104
|
+
attr_accessor :limited_partner
|
|
105
|
+
|
|
106
|
+
# Box H1, Domestic partner
|
|
107
|
+
# @return [TrueClass | FalseClass]
|
|
108
|
+
attr_accessor :domestic
|
|
109
|
+
|
|
110
|
+
# Box H1, Foreign partner
|
|
111
|
+
# @return [TrueClass | FalseClass]
|
|
112
|
+
attr_accessor :foreign
|
|
113
|
+
|
|
114
|
+
# Box H2, Check if the partner is a disregarded entity (DE), and enter the
|
|
115
|
+
# partner's TIN and Name
|
|
116
|
+
# @return [TrueClass | FalseClass]
|
|
117
|
+
attr_accessor :disregarded_entity
|
|
118
|
+
|
|
119
|
+
# Box H2, Disregarded entity partner's TIN
|
|
120
|
+
# @return [String]
|
|
121
|
+
attr_accessor :disregarded_entity_tin
|
|
122
|
+
|
|
123
|
+
# Box H2, Disregarded entity partner's Name
|
|
124
|
+
# @return [String]
|
|
125
|
+
attr_accessor :disregarded_entity_name
|
|
126
|
+
|
|
127
|
+
# Box I1, What type of entity is this partner?
|
|
128
|
+
# @return [String]
|
|
129
|
+
attr_accessor :entity_type
|
|
130
|
+
|
|
131
|
+
# Box I2, If this partner is a retirement plan (IRA/SEP/Keogh/etc.), check
|
|
132
|
+
# here
|
|
133
|
+
# @return [TrueClass | FalseClass]
|
|
134
|
+
attr_accessor :retirement_plan
|
|
135
|
+
|
|
136
|
+
# Box J, Partner's share of profit - beginning
|
|
137
|
+
# @return [Float]
|
|
138
|
+
attr_accessor :profit_share_begin
|
|
139
|
+
|
|
140
|
+
# Box J, Partner's share of profit - ending
|
|
141
|
+
# @return [Float]
|
|
142
|
+
attr_accessor :profit_share_end
|
|
143
|
+
|
|
144
|
+
# Box J, Partner's share of loss - beginning
|
|
145
|
+
# @return [Float]
|
|
146
|
+
attr_accessor :loss_share_begin
|
|
147
|
+
|
|
148
|
+
# Box J, Partner's share of loss - ending
|
|
149
|
+
# @return [Float]
|
|
150
|
+
attr_accessor :loss_share_end
|
|
151
|
+
|
|
152
|
+
# Box J, Partner's share of capital - beginning
|
|
153
|
+
# @return [Float]
|
|
154
|
+
attr_accessor :capital_share_begin
|
|
155
|
+
|
|
156
|
+
# Box J, Partner's share of capital - ending
|
|
157
|
+
# @return [Float]
|
|
158
|
+
attr_accessor :capital_share_end
|
|
159
|
+
|
|
160
|
+
# Box J, Check if decrease is due to sale or exchange of partnership
|
|
161
|
+
# interest. Deprecated and no longer used beginning tax year 2023. Use
|
|
162
|
+
# `decreaseDueToSale` and `decreaseDueToExchange` instead
|
|
163
|
+
# @return [TrueClass | FalseClass]
|
|
164
|
+
attr_accessor :decrease_due_to_sale_or_exchange
|
|
165
|
+
|
|
166
|
+
# Box J, Check if decrease is due to sale of partnership interest
|
|
167
|
+
# @return [TrueClass | FalseClass]
|
|
168
|
+
attr_accessor :decrease_due_to_sale
|
|
169
|
+
|
|
170
|
+
# Box J, Check if decrease is due to exchange of partnership interest
|
|
171
|
+
# @return [TrueClass | FalseClass]
|
|
172
|
+
attr_accessor :decrease_due_to_exchange
|
|
173
|
+
|
|
174
|
+
# Box K1, Partner's share of liabilities - beginning - nonrecourse
|
|
175
|
+
# @return [Float]
|
|
176
|
+
attr_accessor :nonrecourse_liability_share_begin
|
|
177
|
+
|
|
178
|
+
# Box K1, Partner's share of liabilities - ending - nonrecourse
|
|
179
|
+
# @return [Float]
|
|
180
|
+
attr_accessor :nonrecourse_liability_share_end
|
|
181
|
+
|
|
182
|
+
# Box K1, Partner's share of liabilities - beginning - qualified nonrecourse
|
|
183
|
+
# financing
|
|
184
|
+
# @return [Float]
|
|
185
|
+
attr_accessor :qualified_liability_share_begin
|
|
186
|
+
|
|
187
|
+
# Box K1, Partner's share of liabilities - ending - qualified nonrecourse
|
|
188
|
+
# financing
|
|
189
|
+
# @return [Float]
|
|
190
|
+
attr_accessor :qualified_liability_share_end
|
|
191
|
+
|
|
192
|
+
# Box K1, Partner's share of liabilities - beginning - recourse
|
|
193
|
+
# @return [Float]
|
|
194
|
+
attr_accessor :recourse_liability_share_begin
|
|
195
|
+
|
|
196
|
+
# Box K1, Partner's share of liabilities - ending - recourse
|
|
197
|
+
# @return [Float]
|
|
198
|
+
attr_accessor :recourse_liability_share_end
|
|
199
|
+
|
|
200
|
+
# Box K2, Check this box if item K1 includes liability amounts from lower
|
|
201
|
+
# tier partnerships
|
|
202
|
+
# @return [TrueClass | FalseClass]
|
|
203
|
+
attr_accessor :includes_lower_tier_liability
|
|
204
|
+
|
|
205
|
+
# Box K3, Check if any of the above liability is subject to guarantees or
|
|
206
|
+
# other payment obligations by the partner
|
|
207
|
+
# @return [TrueClass | FalseClass]
|
|
208
|
+
attr_accessor :liability_subject_to_guarantees
|
|
209
|
+
|
|
210
|
+
# Box L, Partner's capital account analysis - Beginning capital account
|
|
211
|
+
# @return [Float]
|
|
212
|
+
attr_accessor :capital_account_begin
|
|
213
|
+
|
|
214
|
+
# Box L, Partner's capital account analysis - Capital contributed during the
|
|
215
|
+
# year
|
|
216
|
+
# @return [Float]
|
|
217
|
+
attr_accessor :capital_account_contributions
|
|
218
|
+
|
|
219
|
+
# Box L, Partner's capital account analysis - Current year net income (loss)
|
|
220
|
+
# @return [Float]
|
|
221
|
+
attr_accessor :capital_account_increase
|
|
222
|
+
|
|
223
|
+
# Box L, Partner's capital account analysis - Other increase (decrease)
|
|
224
|
+
# @return [Float]
|
|
225
|
+
attr_accessor :capital_account_other
|
|
226
|
+
|
|
227
|
+
# Box L, Partner's capital account analysis - Withdrawals & distributions
|
|
228
|
+
# @return [Float]
|
|
229
|
+
attr_accessor :capital_account_withdrawals
|
|
230
|
+
|
|
231
|
+
# Box L, Partner's capital account analysis - Ending capital account
|
|
232
|
+
# @return [Float]
|
|
233
|
+
attr_accessor :capital_account_end
|
|
234
|
+
|
|
235
|
+
# Box M, Did the partner contribute property with a built-in gain or loss? -
|
|
236
|
+
# Yes
|
|
237
|
+
# @return [TrueClass | FalseClass]
|
|
238
|
+
attr_accessor :built_in_gain
|
|
239
|
+
|
|
240
|
+
# Box N, Partner's Share of Net Unrecognized Section 704(c) Gain or (Loss) -
|
|
241
|
+
# beginning
|
|
242
|
+
# @return [Float]
|
|
243
|
+
attr_accessor :unrecognized_section704_begin
|
|
244
|
+
|
|
245
|
+
# Box N, Partner's Share of Net Unrecognized Section 704(c) Gain or (Loss) -
|
|
246
|
+
# ending
|
|
247
|
+
# @return [Float]
|
|
248
|
+
attr_accessor :unrecognized_section704_end
|
|
249
|
+
|
|
250
|
+
# Box 1, Ordinary business income (loss)
|
|
251
|
+
# @return [Float]
|
|
252
|
+
attr_accessor :ordinary_income
|
|
253
|
+
|
|
254
|
+
# Box 2, Net rental real estate income (loss)
|
|
255
|
+
# @return [Float]
|
|
256
|
+
attr_accessor :net_rental_real_estate_income
|
|
257
|
+
|
|
258
|
+
# Box 3, Other net rental income (loss)
|
|
259
|
+
# @return [Float]
|
|
260
|
+
attr_accessor :other_rental_income
|
|
261
|
+
|
|
262
|
+
# Box 4a, Guaranteed payments for services
|
|
263
|
+
# @return [Float]
|
|
264
|
+
attr_accessor :guaranteed_payment_services
|
|
265
|
+
|
|
266
|
+
# Box 4b, Guaranteed payments for capital
|
|
267
|
+
# @return [Float]
|
|
268
|
+
attr_accessor :guaranteed_payment_capital
|
|
269
|
+
|
|
270
|
+
# Box 4c, Total guaranteed payments
|
|
271
|
+
# @return [Float]
|
|
272
|
+
attr_accessor :guaranteed_payment
|
|
273
|
+
|
|
274
|
+
# Box 5, Interest income
|
|
275
|
+
# @return [Float]
|
|
276
|
+
attr_accessor :interest_income
|
|
277
|
+
|
|
278
|
+
# Box 6a, Ordinary dividends
|
|
279
|
+
# @return [Float]
|
|
280
|
+
attr_accessor :ordinary_dividends
|
|
281
|
+
|
|
282
|
+
# Box 6b, Qualified dividends
|
|
283
|
+
# @return [Float]
|
|
284
|
+
attr_accessor :qualified_dividends
|
|
285
|
+
|
|
286
|
+
# Box 6c, Dividend equivalents
|
|
287
|
+
# @return [Float]
|
|
288
|
+
attr_accessor :dividend_equivalents
|
|
289
|
+
|
|
290
|
+
# Box 7, Royalties
|
|
291
|
+
# @return [Float]
|
|
292
|
+
attr_accessor :royalties
|
|
293
|
+
|
|
294
|
+
# Box 8, Net short-term capital gain (loss)
|
|
295
|
+
# @return [Float]
|
|
296
|
+
attr_accessor :net_short_term_gain
|
|
297
|
+
|
|
298
|
+
# Box 9a, Net long-term capital gain (loss)
|
|
299
|
+
# @return [Float]
|
|
300
|
+
attr_accessor :net_long_term_gain
|
|
301
|
+
|
|
302
|
+
# Box 9b, Collectibles (28%) gain (loss)
|
|
303
|
+
# @return [Float]
|
|
304
|
+
attr_accessor :collectibles_gain
|
|
305
|
+
|
|
306
|
+
# Box 9c, Unrecaptured section 1250 gain
|
|
307
|
+
# @return [Float]
|
|
308
|
+
attr_accessor :unrecaptured1250_gain
|
|
309
|
+
|
|
310
|
+
# Box 10, Net section 1231 gain (loss)
|
|
311
|
+
# @return [Float]
|
|
312
|
+
attr_accessor :net1231_gain
|
|
313
|
+
|
|
314
|
+
# Box 11, Other income
|
|
315
|
+
# @return [Array[CodeAndAmount]]
|
|
316
|
+
attr_accessor :other_income
|
|
317
|
+
|
|
318
|
+
# Box 12, Section 179 deduction
|
|
319
|
+
# @return [Float]
|
|
320
|
+
attr_accessor :section179_deduction
|
|
321
|
+
|
|
322
|
+
# Box 13, Other deductions
|
|
323
|
+
# @return [Array[CodeAndAmount]]
|
|
324
|
+
attr_accessor :other_deductions
|
|
325
|
+
|
|
326
|
+
# Box 14, Self-employment earnings (loss)
|
|
327
|
+
# @return [Array[CodeAndAmount]]
|
|
328
|
+
attr_accessor :self_employment
|
|
329
|
+
|
|
330
|
+
# Box 15, Credits
|
|
331
|
+
# @return [Array[CodeAndAmount]]
|
|
332
|
+
attr_accessor :credits
|
|
333
|
+
|
|
334
|
+
# Box 16, Schedule K-3 is attached
|
|
335
|
+
# @return [TrueClass | FalseClass]
|
|
336
|
+
attr_accessor :schedule_k3
|
|
337
|
+
|
|
338
|
+
# Box 17, Alternative minimum tax (AMT) items
|
|
339
|
+
# @return [Array[CodeAndAmount]]
|
|
340
|
+
attr_accessor :amt_items
|
|
341
|
+
|
|
342
|
+
# Box 18, Tax-exempt income and nondeductible expenses
|
|
343
|
+
# @return [Array[CodeAndAmount]]
|
|
344
|
+
attr_accessor :tax_exempt_income
|
|
345
|
+
|
|
346
|
+
# Box 19, Distributions
|
|
347
|
+
# @return [Array[CodeAndAmount]]
|
|
348
|
+
attr_accessor :distributions
|
|
349
|
+
|
|
350
|
+
# Box 20, Other information
|
|
351
|
+
# @return [Array[CodeAndAmount]]
|
|
352
|
+
attr_accessor :other_info
|
|
353
|
+
|
|
354
|
+
# Box 21, Foreign taxes paid or accrued
|
|
355
|
+
# @return [Float]
|
|
356
|
+
attr_accessor :foreign_tax_paid
|
|
357
|
+
|
|
358
|
+
# Box 22, More than one activity for at-risk purposes
|
|
359
|
+
# @return [TrueClass | FalseClass]
|
|
360
|
+
attr_accessor :multiple_at_risk_activities
|
|
361
|
+
|
|
362
|
+
# Box 23, More than one activity for passive activity purposes
|
|
363
|
+
# @return [TrueClass | FalseClass]
|
|
364
|
+
attr_accessor :multiple_passive_activities
|
|
365
|
+
|
|
366
|
+
# A mapping from model property names to API property names.
|
|
367
|
+
def self.names
|
|
368
|
+
@_hash = {} if @_hash.nil?
|
|
369
|
+
@_hash['tax_year'] = 'taxYear'
|
|
370
|
+
@_hash['corrected'] = 'corrected'
|
|
371
|
+
@_hash['account_id'] = 'accountId'
|
|
372
|
+
@_hash['tax_form_id'] = 'taxFormId'
|
|
373
|
+
@_hash['tax_form_date'] = 'taxFormDate'
|
|
374
|
+
@_hash['additional_information'] = 'additionalInformation'
|
|
375
|
+
@_hash['tax_form_type'] = 'taxFormType'
|
|
376
|
+
@_hash['issuer'] = 'issuer'
|
|
377
|
+
@_hash['recipient'] = 'recipient'
|
|
378
|
+
@_hash['attributes'] = 'attributes'
|
|
379
|
+
@_hash['error'] = 'error'
|
|
380
|
+
@_hash['links'] = 'links'
|
|
381
|
+
@_hash['fiscal_year_begin'] = 'fiscalYearBegin'
|
|
382
|
+
@_hash['fiscal_year_end'] = 'fiscalYearEnd'
|
|
383
|
+
@_hash['final_k1'] = 'finalK1'
|
|
384
|
+
@_hash['amended_k1'] = 'amendedK1'
|
|
385
|
+
@_hash['irs_center'] = 'irsCenter'
|
|
386
|
+
@_hash['publicly_traded'] = 'publiclyTraded'
|
|
387
|
+
@_hash['general_partner'] = 'generalPartner'
|
|
388
|
+
@_hash['limited_partner'] = 'limitedPartner'
|
|
389
|
+
@_hash['domestic'] = 'domestic'
|
|
390
|
+
@_hash['foreign'] = 'foreign'
|
|
391
|
+
@_hash['disregarded_entity'] = 'disregardedEntity'
|
|
392
|
+
@_hash['disregarded_entity_tin'] = 'disregardedEntityTin'
|
|
393
|
+
@_hash['disregarded_entity_name'] = 'disregardedEntityName'
|
|
394
|
+
@_hash['entity_type'] = 'entityType'
|
|
395
|
+
@_hash['retirement_plan'] = 'retirementPlan'
|
|
396
|
+
@_hash['profit_share_begin'] = 'profitShareBegin'
|
|
397
|
+
@_hash['profit_share_end'] = 'profitShareEnd'
|
|
398
|
+
@_hash['loss_share_begin'] = 'lossShareBegin'
|
|
399
|
+
@_hash['loss_share_end'] = 'lossShareEnd'
|
|
400
|
+
@_hash['capital_share_begin'] = 'capitalShareBegin'
|
|
401
|
+
@_hash['capital_share_end'] = 'capitalShareEnd'
|
|
402
|
+
@_hash['decrease_due_to_sale_or_exchange'] =
|
|
403
|
+
'decreaseDueToSaleOrExchange'
|
|
404
|
+
@_hash['decrease_due_to_sale'] = 'decreaseDueToSale'
|
|
405
|
+
@_hash['decrease_due_to_exchange'] = 'decreaseDueToExchange'
|
|
406
|
+
@_hash['nonrecourse_liability_share_begin'] =
|
|
407
|
+
'nonrecourseLiabilityShareBegin'
|
|
408
|
+
@_hash['nonrecourse_liability_share_end'] =
|
|
409
|
+
'nonrecourseLiabilityShareEnd'
|
|
410
|
+
@_hash['qualified_liability_share_begin'] =
|
|
411
|
+
'qualifiedLiabilityShareBegin'
|
|
412
|
+
@_hash['qualified_liability_share_end'] = 'qualifiedLiabilityShareEnd'
|
|
413
|
+
@_hash['recourse_liability_share_begin'] = 'recourseLiabilityShareBegin'
|
|
414
|
+
@_hash['recourse_liability_share_end'] = 'recourseLiabilityShareEnd'
|
|
415
|
+
@_hash['includes_lower_tier_liability'] = 'includesLowerTierLiability'
|
|
416
|
+
@_hash['liability_subject_to_guarantees'] =
|
|
417
|
+
'liabilitySubjectToGuarantees'
|
|
418
|
+
@_hash['capital_account_begin'] = 'capitalAccountBegin'
|
|
419
|
+
@_hash['capital_account_contributions'] = 'capitalAccountContributions'
|
|
420
|
+
@_hash['capital_account_increase'] = 'capitalAccountIncrease'
|
|
421
|
+
@_hash['capital_account_other'] = 'capitalAccountOther'
|
|
422
|
+
@_hash['capital_account_withdrawals'] = 'capitalAccountWithdrawals'
|
|
423
|
+
@_hash['capital_account_end'] = 'capitalAccountEnd'
|
|
424
|
+
@_hash['built_in_gain'] = 'builtInGain'
|
|
425
|
+
@_hash['unrecognized_section704_begin'] = 'unrecognizedSection704Begin'
|
|
426
|
+
@_hash['unrecognized_section704_end'] = 'unrecognizedSection704End'
|
|
427
|
+
@_hash['ordinary_income'] = 'ordinaryIncome'
|
|
428
|
+
@_hash['net_rental_real_estate_income'] = 'netRentalRealEstateIncome'
|
|
429
|
+
@_hash['other_rental_income'] = 'otherRentalIncome'
|
|
430
|
+
@_hash['guaranteed_payment_services'] = 'guaranteedPaymentServices'
|
|
431
|
+
@_hash['guaranteed_payment_capital'] = 'guaranteedPaymentCapital'
|
|
432
|
+
@_hash['guaranteed_payment'] = 'guaranteedPayment'
|
|
433
|
+
@_hash['interest_income'] = 'interestIncome'
|
|
434
|
+
@_hash['ordinary_dividends'] = 'ordinaryDividends'
|
|
435
|
+
@_hash['qualified_dividends'] = 'qualifiedDividends'
|
|
436
|
+
@_hash['dividend_equivalents'] = 'dividendEquivalents'
|
|
437
|
+
@_hash['royalties'] = 'royalties'
|
|
438
|
+
@_hash['net_short_term_gain'] = 'netShortTermGain'
|
|
439
|
+
@_hash['net_long_term_gain'] = 'netLongTermGain'
|
|
440
|
+
@_hash['collectibles_gain'] = 'collectiblesGain'
|
|
441
|
+
@_hash['unrecaptured1250_gain'] = 'unrecaptured1250Gain'
|
|
442
|
+
@_hash['net1231_gain'] = 'net1231Gain'
|
|
443
|
+
@_hash['other_income'] = 'otherIncome'
|
|
444
|
+
@_hash['section179_deduction'] = 'section179Deduction'
|
|
445
|
+
@_hash['other_deductions'] = 'otherDeductions'
|
|
446
|
+
@_hash['self_employment'] = 'selfEmployment'
|
|
447
|
+
@_hash['credits'] = 'credits'
|
|
448
|
+
@_hash['schedule_k3'] = 'scheduleK3'
|
|
449
|
+
@_hash['amt_items'] = 'amtItems'
|
|
450
|
+
@_hash['tax_exempt_income'] = 'taxExemptIncome'
|
|
451
|
+
@_hash['distributions'] = 'distributions'
|
|
452
|
+
@_hash['other_info'] = 'otherInfo'
|
|
453
|
+
@_hash['foreign_tax_paid'] = 'foreignTaxPaid'
|
|
454
|
+
@_hash['multiple_at_risk_activities'] = 'multipleAtRiskActivities'
|
|
455
|
+
@_hash['multiple_passive_activities'] = 'multiplePassiveActivities'
|
|
456
|
+
@_hash
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# An array for optional fields
|
|
460
|
+
def self.optionals
|
|
461
|
+
%w[
|
|
462
|
+
tax_year
|
|
463
|
+
corrected
|
|
464
|
+
account_id
|
|
465
|
+
tax_form_id
|
|
466
|
+
tax_form_date
|
|
467
|
+
additional_information
|
|
468
|
+
tax_form_type
|
|
469
|
+
issuer
|
|
470
|
+
recipient
|
|
471
|
+
attributes
|
|
472
|
+
error
|
|
473
|
+
links
|
|
474
|
+
fiscal_year_begin
|
|
475
|
+
fiscal_year_end
|
|
476
|
+
final_k1
|
|
477
|
+
amended_k1
|
|
478
|
+
irs_center
|
|
479
|
+
publicly_traded
|
|
480
|
+
general_partner
|
|
481
|
+
limited_partner
|
|
482
|
+
domestic
|
|
483
|
+
foreign
|
|
484
|
+
disregarded_entity
|
|
485
|
+
disregarded_entity_tin
|
|
486
|
+
disregarded_entity_name
|
|
487
|
+
entity_type
|
|
488
|
+
retirement_plan
|
|
489
|
+
profit_share_begin
|
|
490
|
+
profit_share_end
|
|
491
|
+
loss_share_begin
|
|
492
|
+
loss_share_end
|
|
493
|
+
capital_share_begin
|
|
494
|
+
capital_share_end
|
|
495
|
+
decrease_due_to_sale_or_exchange
|
|
496
|
+
decrease_due_to_sale
|
|
497
|
+
decrease_due_to_exchange
|
|
498
|
+
nonrecourse_liability_share_begin
|
|
499
|
+
nonrecourse_liability_share_end
|
|
500
|
+
qualified_liability_share_begin
|
|
501
|
+
qualified_liability_share_end
|
|
502
|
+
recourse_liability_share_begin
|
|
503
|
+
recourse_liability_share_end
|
|
504
|
+
includes_lower_tier_liability
|
|
505
|
+
liability_subject_to_guarantees
|
|
506
|
+
capital_account_begin
|
|
507
|
+
capital_account_contributions
|
|
508
|
+
capital_account_increase
|
|
509
|
+
capital_account_other
|
|
510
|
+
capital_account_withdrawals
|
|
511
|
+
capital_account_end
|
|
512
|
+
built_in_gain
|
|
513
|
+
unrecognized_section704_begin
|
|
514
|
+
unrecognized_section704_end
|
|
515
|
+
ordinary_income
|
|
516
|
+
net_rental_real_estate_income
|
|
517
|
+
other_rental_income
|
|
518
|
+
guaranteed_payment_services
|
|
519
|
+
guaranteed_payment_capital
|
|
520
|
+
guaranteed_payment
|
|
521
|
+
interest_income
|
|
522
|
+
ordinary_dividends
|
|
523
|
+
qualified_dividends
|
|
524
|
+
dividend_equivalents
|
|
525
|
+
royalties
|
|
526
|
+
net_short_term_gain
|
|
527
|
+
net_long_term_gain
|
|
528
|
+
collectibles_gain
|
|
529
|
+
unrecaptured1250_gain
|
|
530
|
+
net1231_gain
|
|
531
|
+
other_income
|
|
532
|
+
section179_deduction
|
|
533
|
+
other_deductions
|
|
534
|
+
self_employment
|
|
535
|
+
credits
|
|
536
|
+
schedule_k3
|
|
537
|
+
amt_items
|
|
538
|
+
tax_exempt_income
|
|
539
|
+
distributions
|
|
540
|
+
other_info
|
|
541
|
+
foreign_tax_paid
|
|
542
|
+
multiple_at_risk_activities
|
|
543
|
+
multiple_passive_activities
|
|
544
|
+
]
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# An array for nullable fields
|
|
548
|
+
def self.nullables
|
|
549
|
+
[]
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
def initialize(tax_year: SKIP, corrected: SKIP, account_id: SKIP,
|
|
553
|
+
tax_form_id: SKIP, tax_form_date: SKIP,
|
|
554
|
+
additional_information: SKIP, tax_form_type: SKIP,
|
|
555
|
+
issuer: SKIP, recipient: SKIP, attributes: SKIP, error: SKIP,
|
|
556
|
+
links: SKIP, fiscal_year_begin: SKIP, fiscal_year_end: SKIP,
|
|
557
|
+
final_k1: SKIP, amended_k1: SKIP, irs_center: SKIP,
|
|
558
|
+
publicly_traded: SKIP, general_partner: SKIP,
|
|
559
|
+
limited_partner: SKIP, domestic: SKIP, foreign: SKIP,
|
|
560
|
+
disregarded_entity: SKIP, disregarded_entity_tin: SKIP,
|
|
561
|
+
disregarded_entity_name: SKIP, entity_type: SKIP,
|
|
562
|
+
retirement_plan: SKIP, profit_share_begin: SKIP,
|
|
563
|
+
profit_share_end: SKIP, loss_share_begin: SKIP,
|
|
564
|
+
loss_share_end: SKIP, capital_share_begin: SKIP,
|
|
565
|
+
capital_share_end: SKIP,
|
|
566
|
+
decrease_due_to_sale_or_exchange: SKIP,
|
|
567
|
+
decrease_due_to_sale: SKIP, decrease_due_to_exchange: SKIP,
|
|
568
|
+
nonrecourse_liability_share_begin: SKIP,
|
|
569
|
+
nonrecourse_liability_share_end: SKIP,
|
|
570
|
+
qualified_liability_share_begin: SKIP,
|
|
571
|
+
qualified_liability_share_end: SKIP,
|
|
572
|
+
recourse_liability_share_begin: SKIP,
|
|
573
|
+
recourse_liability_share_end: SKIP,
|
|
574
|
+
includes_lower_tier_liability: SKIP,
|
|
575
|
+
liability_subject_to_guarantees: SKIP,
|
|
576
|
+
capital_account_begin: SKIP,
|
|
577
|
+
capital_account_contributions: SKIP,
|
|
578
|
+
capital_account_increase: SKIP, capital_account_other: SKIP,
|
|
579
|
+
capital_account_withdrawals: SKIP, capital_account_end: SKIP,
|
|
580
|
+
built_in_gain: SKIP, unrecognized_section704_begin: SKIP,
|
|
581
|
+
unrecognized_section704_end: SKIP, ordinary_income: SKIP,
|
|
582
|
+
net_rental_real_estate_income: SKIP,
|
|
583
|
+
other_rental_income: SKIP, guaranteed_payment_services: SKIP,
|
|
584
|
+
guaranteed_payment_capital: SKIP, guaranteed_payment: SKIP,
|
|
585
|
+
interest_income: SKIP, ordinary_dividends: SKIP,
|
|
586
|
+
qualified_dividends: SKIP, dividend_equivalents: SKIP,
|
|
587
|
+
royalties: SKIP, net_short_term_gain: SKIP,
|
|
588
|
+
net_long_term_gain: SKIP, collectibles_gain: SKIP,
|
|
589
|
+
unrecaptured1250_gain: SKIP, net1231_gain: SKIP,
|
|
590
|
+
other_income: SKIP, section179_deduction: SKIP,
|
|
591
|
+
other_deductions: SKIP, self_employment: SKIP, credits: SKIP,
|
|
592
|
+
schedule_k3: SKIP, amt_items: SKIP, tax_exempt_income: SKIP,
|
|
593
|
+
distributions: SKIP, other_info: SKIP,
|
|
594
|
+
foreign_tax_paid: SKIP, multiple_at_risk_activities: SKIP,
|
|
595
|
+
multiple_passive_activities: SKIP,
|
|
596
|
+
additional_properties: nil)
|
|
597
|
+
# Add additional model properties to the instance
|
|
598
|
+
additional_properties = {} if additional_properties.nil?
|
|
599
|
+
|
|
600
|
+
@tax_year = tax_year unless tax_year == SKIP
|
|
601
|
+
@corrected = corrected unless corrected == SKIP
|
|
602
|
+
@account_id = account_id unless account_id == SKIP
|
|
603
|
+
@tax_form_id = tax_form_id unless tax_form_id == SKIP
|
|
604
|
+
@tax_form_date = tax_form_date unless tax_form_date == SKIP
|
|
605
|
+
@additional_information = additional_information unless additional_information == SKIP
|
|
606
|
+
@tax_form_type = tax_form_type unless tax_form_type == SKIP
|
|
607
|
+
@issuer = issuer unless issuer == SKIP
|
|
608
|
+
@recipient = recipient unless recipient == SKIP
|
|
609
|
+
@attributes = attributes unless attributes == SKIP
|
|
610
|
+
@error = error unless error == SKIP
|
|
611
|
+
@links = links unless links == SKIP
|
|
612
|
+
@fiscal_year_begin = fiscal_year_begin unless fiscal_year_begin == SKIP
|
|
613
|
+
@fiscal_year_end = fiscal_year_end unless fiscal_year_end == SKIP
|
|
614
|
+
@final_k1 = final_k1 unless final_k1 == SKIP
|
|
615
|
+
@amended_k1 = amended_k1 unless amended_k1 == SKIP
|
|
616
|
+
@irs_center = irs_center unless irs_center == SKIP
|
|
617
|
+
@publicly_traded = publicly_traded unless publicly_traded == SKIP
|
|
618
|
+
@general_partner = general_partner unless general_partner == SKIP
|
|
619
|
+
@limited_partner = limited_partner unless limited_partner == SKIP
|
|
620
|
+
@domestic = domestic unless domestic == SKIP
|
|
621
|
+
@foreign = foreign unless foreign == SKIP
|
|
622
|
+
@disregarded_entity = disregarded_entity unless disregarded_entity == SKIP
|
|
623
|
+
@disregarded_entity_tin = disregarded_entity_tin unless disregarded_entity_tin == SKIP
|
|
624
|
+
@disregarded_entity_name = disregarded_entity_name unless disregarded_entity_name == SKIP
|
|
625
|
+
@entity_type = entity_type unless entity_type == SKIP
|
|
626
|
+
@retirement_plan = retirement_plan unless retirement_plan == SKIP
|
|
627
|
+
@profit_share_begin = profit_share_begin unless profit_share_begin == SKIP
|
|
628
|
+
@profit_share_end = profit_share_end unless profit_share_end == SKIP
|
|
629
|
+
@loss_share_begin = loss_share_begin unless loss_share_begin == SKIP
|
|
630
|
+
@loss_share_end = loss_share_end unless loss_share_end == SKIP
|
|
631
|
+
@capital_share_begin = capital_share_begin unless capital_share_begin == SKIP
|
|
632
|
+
@capital_share_end = capital_share_end unless capital_share_end == SKIP
|
|
633
|
+
unless decrease_due_to_sale_or_exchange == SKIP
|
|
634
|
+
@decrease_due_to_sale_or_exchange =
|
|
635
|
+
decrease_due_to_sale_or_exchange
|
|
636
|
+
end
|
|
637
|
+
@decrease_due_to_sale = decrease_due_to_sale unless decrease_due_to_sale == SKIP
|
|
638
|
+
@decrease_due_to_exchange = decrease_due_to_exchange unless decrease_due_to_exchange == SKIP
|
|
639
|
+
unless nonrecourse_liability_share_begin == SKIP
|
|
640
|
+
@nonrecourse_liability_share_begin =
|
|
641
|
+
nonrecourse_liability_share_begin
|
|
642
|
+
end
|
|
643
|
+
unless nonrecourse_liability_share_end == SKIP
|
|
644
|
+
@nonrecourse_liability_share_end =
|
|
645
|
+
nonrecourse_liability_share_end
|
|
646
|
+
end
|
|
647
|
+
unless qualified_liability_share_begin == SKIP
|
|
648
|
+
@qualified_liability_share_begin =
|
|
649
|
+
qualified_liability_share_begin
|
|
650
|
+
end
|
|
651
|
+
unless qualified_liability_share_end == SKIP
|
|
652
|
+
@qualified_liability_share_end =
|
|
653
|
+
qualified_liability_share_end
|
|
654
|
+
end
|
|
655
|
+
unless recourse_liability_share_begin == SKIP
|
|
656
|
+
@recourse_liability_share_begin =
|
|
657
|
+
recourse_liability_share_begin
|
|
658
|
+
end
|
|
659
|
+
unless recourse_liability_share_end == SKIP
|
|
660
|
+
@recourse_liability_share_end =
|
|
661
|
+
recourse_liability_share_end
|
|
662
|
+
end
|
|
663
|
+
unless includes_lower_tier_liability == SKIP
|
|
664
|
+
@includes_lower_tier_liability =
|
|
665
|
+
includes_lower_tier_liability
|
|
666
|
+
end
|
|
667
|
+
unless liability_subject_to_guarantees == SKIP
|
|
668
|
+
@liability_subject_to_guarantees =
|
|
669
|
+
liability_subject_to_guarantees
|
|
670
|
+
end
|
|
671
|
+
@capital_account_begin = capital_account_begin unless capital_account_begin == SKIP
|
|
672
|
+
unless capital_account_contributions == SKIP
|
|
673
|
+
@capital_account_contributions =
|
|
674
|
+
capital_account_contributions
|
|
675
|
+
end
|
|
676
|
+
@capital_account_increase = capital_account_increase unless capital_account_increase == SKIP
|
|
677
|
+
@capital_account_other = capital_account_other unless capital_account_other == SKIP
|
|
678
|
+
unless capital_account_withdrawals == SKIP
|
|
679
|
+
@capital_account_withdrawals =
|
|
680
|
+
capital_account_withdrawals
|
|
681
|
+
end
|
|
682
|
+
@capital_account_end = capital_account_end unless capital_account_end == SKIP
|
|
683
|
+
@built_in_gain = built_in_gain unless built_in_gain == SKIP
|
|
684
|
+
unless unrecognized_section704_begin == SKIP
|
|
685
|
+
@unrecognized_section704_begin =
|
|
686
|
+
unrecognized_section704_begin
|
|
687
|
+
end
|
|
688
|
+
unless unrecognized_section704_end == SKIP
|
|
689
|
+
@unrecognized_section704_end =
|
|
690
|
+
unrecognized_section704_end
|
|
691
|
+
end
|
|
692
|
+
@ordinary_income = ordinary_income unless ordinary_income == SKIP
|
|
693
|
+
unless net_rental_real_estate_income == SKIP
|
|
694
|
+
@net_rental_real_estate_income =
|
|
695
|
+
net_rental_real_estate_income
|
|
696
|
+
end
|
|
697
|
+
@other_rental_income = other_rental_income unless other_rental_income == SKIP
|
|
698
|
+
unless guaranteed_payment_services == SKIP
|
|
699
|
+
@guaranteed_payment_services =
|
|
700
|
+
guaranteed_payment_services
|
|
701
|
+
end
|
|
702
|
+
unless guaranteed_payment_capital == SKIP
|
|
703
|
+
@guaranteed_payment_capital =
|
|
704
|
+
guaranteed_payment_capital
|
|
705
|
+
end
|
|
706
|
+
@guaranteed_payment = guaranteed_payment unless guaranteed_payment == SKIP
|
|
707
|
+
@interest_income = interest_income unless interest_income == SKIP
|
|
708
|
+
@ordinary_dividends = ordinary_dividends unless ordinary_dividends == SKIP
|
|
709
|
+
@qualified_dividends = qualified_dividends unless qualified_dividends == SKIP
|
|
710
|
+
@dividend_equivalents = dividend_equivalents unless dividend_equivalents == SKIP
|
|
711
|
+
@royalties = royalties unless royalties == SKIP
|
|
712
|
+
@net_short_term_gain = net_short_term_gain unless net_short_term_gain == SKIP
|
|
713
|
+
@net_long_term_gain = net_long_term_gain unless net_long_term_gain == SKIP
|
|
714
|
+
@collectibles_gain = collectibles_gain unless collectibles_gain == SKIP
|
|
715
|
+
@unrecaptured1250_gain = unrecaptured1250_gain unless unrecaptured1250_gain == SKIP
|
|
716
|
+
@net1231_gain = net1231_gain unless net1231_gain == SKIP
|
|
717
|
+
@other_income = other_income unless other_income == SKIP
|
|
718
|
+
@section179_deduction = section179_deduction unless section179_deduction == SKIP
|
|
719
|
+
@other_deductions = other_deductions unless other_deductions == SKIP
|
|
720
|
+
@self_employment = self_employment unless self_employment == SKIP
|
|
721
|
+
@credits = credits unless credits == SKIP
|
|
722
|
+
@schedule_k3 = schedule_k3 unless schedule_k3 == SKIP
|
|
723
|
+
@amt_items = amt_items unless amt_items == SKIP
|
|
724
|
+
@tax_exempt_income = tax_exempt_income unless tax_exempt_income == SKIP
|
|
725
|
+
@distributions = distributions unless distributions == SKIP
|
|
726
|
+
@other_info = other_info unless other_info == SKIP
|
|
727
|
+
@foreign_tax_paid = foreign_tax_paid unless foreign_tax_paid == SKIP
|
|
728
|
+
unless multiple_at_risk_activities == SKIP
|
|
729
|
+
@multiple_at_risk_activities =
|
|
730
|
+
multiple_at_risk_activities
|
|
731
|
+
end
|
|
732
|
+
unless multiple_passive_activities == SKIP
|
|
733
|
+
@multiple_passive_activities =
|
|
734
|
+
multiple_passive_activities
|
|
735
|
+
end
|
|
736
|
+
@additional_properties = additional_properties
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
# Creates an instance of the object from a hash.
|
|
740
|
+
def self.from_hash(hash)
|
|
741
|
+
return nil unless hash
|
|
742
|
+
|
|
743
|
+
# Extract variables from the hash.
|
|
744
|
+
tax_year = hash.key?('taxYear') ? hash['taxYear'] : SKIP
|
|
745
|
+
corrected = hash.key?('corrected') ? hash['corrected'] : SKIP
|
|
746
|
+
account_id = hash.key?('accountId') ? hash['accountId'] : SKIP
|
|
747
|
+
tax_form_id = hash.key?('taxFormId') ? hash['taxFormId'] : SKIP
|
|
748
|
+
tax_form_date = hash.key?('taxFormDate') ? hash['taxFormDate'] : SKIP
|
|
749
|
+
additional_information =
|
|
750
|
+
hash.key?('additionalInformation') ? hash['additionalInformation'] : SKIP
|
|
751
|
+
tax_form_type = hash.key?('taxFormType') ? hash['taxFormType'] : SKIP
|
|
752
|
+
issuer = TaxParty8.from_hash(hash['issuer']) if hash['issuer']
|
|
753
|
+
recipient = TaxParty1.from_hash(hash['recipient']) if hash['recipient']
|
|
754
|
+
# Parameter is an array, so we need to iterate through it
|
|
755
|
+
attributes = nil
|
|
756
|
+
unless hash['attributes'].nil?
|
|
757
|
+
attributes = []
|
|
758
|
+
hash['attributes'].each do |structure|
|
|
759
|
+
attributes << (TaxFormAttribute.from_hash(structure) if structure)
|
|
760
|
+
end
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
attributes = SKIP unless hash.key?('attributes')
|
|
764
|
+
error = Error1.from_hash(hash['error']) if hash['error']
|
|
765
|
+
# Parameter is an array, so we need to iterate through it
|
|
766
|
+
links = nil
|
|
767
|
+
unless hash['links'].nil?
|
|
768
|
+
links = []
|
|
769
|
+
hash['links'].each do |structure|
|
|
770
|
+
links << (HateoasLink.from_hash(structure) if structure)
|
|
771
|
+
end
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
links = SKIP unless hash.key?('links')
|
|
775
|
+
fiscal_year_begin =
|
|
776
|
+
hash.key?('fiscalYearBegin') ? hash['fiscalYearBegin'] : SKIP
|
|
777
|
+
fiscal_year_end =
|
|
778
|
+
hash.key?('fiscalYearEnd') ? hash['fiscalYearEnd'] : SKIP
|
|
779
|
+
final_k1 = hash.key?('finalK1') ? hash['finalK1'] : SKIP
|
|
780
|
+
amended_k1 = hash.key?('amendedK1') ? hash['amendedK1'] : SKIP
|
|
781
|
+
irs_center = hash.key?('irsCenter') ? hash['irsCenter'] : SKIP
|
|
782
|
+
publicly_traded =
|
|
783
|
+
hash.key?('publiclyTraded') ? hash['publiclyTraded'] : SKIP
|
|
784
|
+
general_partner =
|
|
785
|
+
hash.key?('generalPartner') ? hash['generalPartner'] : SKIP
|
|
786
|
+
limited_partner =
|
|
787
|
+
hash.key?('limitedPartner') ? hash['limitedPartner'] : SKIP
|
|
788
|
+
domestic = hash.key?('domestic') ? hash['domestic'] : SKIP
|
|
789
|
+
foreign = hash.key?('foreign') ? hash['foreign'] : SKIP
|
|
790
|
+
disregarded_entity =
|
|
791
|
+
hash.key?('disregardedEntity') ? hash['disregardedEntity'] : SKIP
|
|
792
|
+
disregarded_entity_tin =
|
|
793
|
+
hash.key?('disregardedEntityTin') ? hash['disregardedEntityTin'] : SKIP
|
|
794
|
+
disregarded_entity_name =
|
|
795
|
+
hash.key?('disregardedEntityName') ? hash['disregardedEntityName'] : SKIP
|
|
796
|
+
entity_type = hash.key?('entityType') ? hash['entityType'] : SKIP
|
|
797
|
+
retirement_plan =
|
|
798
|
+
hash.key?('retirementPlan') ? hash['retirementPlan'] : SKIP
|
|
799
|
+
profit_share_begin =
|
|
800
|
+
hash.key?('profitShareBegin') ? hash['profitShareBegin'] : SKIP
|
|
801
|
+
profit_share_end =
|
|
802
|
+
hash.key?('profitShareEnd') ? hash['profitShareEnd'] : SKIP
|
|
803
|
+
loss_share_begin =
|
|
804
|
+
hash.key?('lossShareBegin') ? hash['lossShareBegin'] : SKIP
|
|
805
|
+
loss_share_end = hash.key?('lossShareEnd') ? hash['lossShareEnd'] : SKIP
|
|
806
|
+
capital_share_begin =
|
|
807
|
+
hash.key?('capitalShareBegin') ? hash['capitalShareBegin'] : SKIP
|
|
808
|
+
capital_share_end =
|
|
809
|
+
hash.key?('capitalShareEnd') ? hash['capitalShareEnd'] : SKIP
|
|
810
|
+
decrease_due_to_sale_or_exchange =
|
|
811
|
+
hash.key?('decreaseDueToSaleOrExchange') ? hash['decreaseDueToSaleOrExchange'] : SKIP
|
|
812
|
+
decrease_due_to_sale =
|
|
813
|
+
hash.key?('decreaseDueToSale') ? hash['decreaseDueToSale'] : SKIP
|
|
814
|
+
decrease_due_to_exchange =
|
|
815
|
+
hash.key?('decreaseDueToExchange') ? hash['decreaseDueToExchange'] : SKIP
|
|
816
|
+
nonrecourse_liability_share_begin =
|
|
817
|
+
hash.key?('nonrecourseLiabilityShareBegin') ? hash['nonrecourseLiabilityShareBegin'] : SKIP
|
|
818
|
+
nonrecourse_liability_share_end =
|
|
819
|
+
hash.key?('nonrecourseLiabilityShareEnd') ? hash['nonrecourseLiabilityShareEnd'] : SKIP
|
|
820
|
+
qualified_liability_share_begin =
|
|
821
|
+
hash.key?('qualifiedLiabilityShareBegin') ? hash['qualifiedLiabilityShareBegin'] : SKIP
|
|
822
|
+
qualified_liability_share_end =
|
|
823
|
+
hash.key?('qualifiedLiabilityShareEnd') ? hash['qualifiedLiabilityShareEnd'] : SKIP
|
|
824
|
+
recourse_liability_share_begin =
|
|
825
|
+
hash.key?('recourseLiabilityShareBegin') ? hash['recourseLiabilityShareBegin'] : SKIP
|
|
826
|
+
recourse_liability_share_end =
|
|
827
|
+
hash.key?('recourseLiabilityShareEnd') ? hash['recourseLiabilityShareEnd'] : SKIP
|
|
828
|
+
includes_lower_tier_liability =
|
|
829
|
+
hash.key?('includesLowerTierLiability') ? hash['includesLowerTierLiability'] : SKIP
|
|
830
|
+
liability_subject_to_guarantees =
|
|
831
|
+
hash.key?('liabilitySubjectToGuarantees') ? hash['liabilitySubjectToGuarantees'] : SKIP
|
|
832
|
+
capital_account_begin =
|
|
833
|
+
hash.key?('capitalAccountBegin') ? hash['capitalAccountBegin'] : SKIP
|
|
834
|
+
capital_account_contributions =
|
|
835
|
+
hash.key?('capitalAccountContributions') ? hash['capitalAccountContributions'] : SKIP
|
|
836
|
+
capital_account_increase =
|
|
837
|
+
hash.key?('capitalAccountIncrease') ? hash['capitalAccountIncrease'] : SKIP
|
|
838
|
+
capital_account_other =
|
|
839
|
+
hash.key?('capitalAccountOther') ? hash['capitalAccountOther'] : SKIP
|
|
840
|
+
capital_account_withdrawals =
|
|
841
|
+
hash.key?('capitalAccountWithdrawals') ? hash['capitalAccountWithdrawals'] : SKIP
|
|
842
|
+
capital_account_end =
|
|
843
|
+
hash.key?('capitalAccountEnd') ? hash['capitalAccountEnd'] : SKIP
|
|
844
|
+
built_in_gain = hash.key?('builtInGain') ? hash['builtInGain'] : SKIP
|
|
845
|
+
unrecognized_section704_begin =
|
|
846
|
+
hash.key?('unrecognizedSection704Begin') ? hash['unrecognizedSection704Begin'] : SKIP
|
|
847
|
+
unrecognized_section704_end =
|
|
848
|
+
hash.key?('unrecognizedSection704End') ? hash['unrecognizedSection704End'] : SKIP
|
|
849
|
+
ordinary_income =
|
|
850
|
+
hash.key?('ordinaryIncome') ? hash['ordinaryIncome'] : SKIP
|
|
851
|
+
net_rental_real_estate_income =
|
|
852
|
+
hash.key?('netRentalRealEstateIncome') ? hash['netRentalRealEstateIncome'] : SKIP
|
|
853
|
+
other_rental_income =
|
|
854
|
+
hash.key?('otherRentalIncome') ? hash['otherRentalIncome'] : SKIP
|
|
855
|
+
guaranteed_payment_services =
|
|
856
|
+
hash.key?('guaranteedPaymentServices') ? hash['guaranteedPaymentServices'] : SKIP
|
|
857
|
+
guaranteed_payment_capital =
|
|
858
|
+
hash.key?('guaranteedPaymentCapital') ? hash['guaranteedPaymentCapital'] : SKIP
|
|
859
|
+
guaranteed_payment =
|
|
860
|
+
hash.key?('guaranteedPayment') ? hash['guaranteedPayment'] : SKIP
|
|
861
|
+
interest_income =
|
|
862
|
+
hash.key?('interestIncome') ? hash['interestIncome'] : SKIP
|
|
863
|
+
ordinary_dividends =
|
|
864
|
+
hash.key?('ordinaryDividends') ? hash['ordinaryDividends'] : SKIP
|
|
865
|
+
qualified_dividends =
|
|
866
|
+
hash.key?('qualifiedDividends') ? hash['qualifiedDividends'] : SKIP
|
|
867
|
+
dividend_equivalents =
|
|
868
|
+
hash.key?('dividendEquivalents') ? hash['dividendEquivalents'] : SKIP
|
|
869
|
+
royalties = hash.key?('royalties') ? hash['royalties'] : SKIP
|
|
870
|
+
net_short_term_gain =
|
|
871
|
+
hash.key?('netShortTermGain') ? hash['netShortTermGain'] : SKIP
|
|
872
|
+
net_long_term_gain =
|
|
873
|
+
hash.key?('netLongTermGain') ? hash['netLongTermGain'] : SKIP
|
|
874
|
+
collectibles_gain =
|
|
875
|
+
hash.key?('collectiblesGain') ? hash['collectiblesGain'] : SKIP
|
|
876
|
+
unrecaptured1250_gain =
|
|
877
|
+
hash.key?('unrecaptured1250Gain') ? hash['unrecaptured1250Gain'] : SKIP
|
|
878
|
+
net1231_gain = hash.key?('net1231Gain') ? hash['net1231Gain'] : SKIP
|
|
879
|
+
# Parameter is an array, so we need to iterate through it
|
|
880
|
+
other_income = nil
|
|
881
|
+
unless hash['otherIncome'].nil?
|
|
882
|
+
other_income = []
|
|
883
|
+
hash['otherIncome'].each do |structure|
|
|
884
|
+
other_income << (CodeAndAmount.from_hash(structure) if structure)
|
|
885
|
+
end
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
other_income = SKIP unless hash.key?('otherIncome')
|
|
889
|
+
section179_deduction =
|
|
890
|
+
hash.key?('section179Deduction') ? hash['section179Deduction'] : SKIP
|
|
891
|
+
# Parameter is an array, so we need to iterate through it
|
|
892
|
+
other_deductions = nil
|
|
893
|
+
unless hash['otherDeductions'].nil?
|
|
894
|
+
other_deductions = []
|
|
895
|
+
hash['otherDeductions'].each do |structure|
|
|
896
|
+
other_deductions << (CodeAndAmount.from_hash(structure) if structure)
|
|
897
|
+
end
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
other_deductions = SKIP unless hash.key?('otherDeductions')
|
|
901
|
+
# Parameter is an array, so we need to iterate through it
|
|
902
|
+
self_employment = nil
|
|
903
|
+
unless hash['selfEmployment'].nil?
|
|
904
|
+
self_employment = []
|
|
905
|
+
hash['selfEmployment'].each do |structure|
|
|
906
|
+
self_employment << (CodeAndAmount.from_hash(structure) if structure)
|
|
907
|
+
end
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
self_employment = SKIP unless hash.key?('selfEmployment')
|
|
911
|
+
# Parameter is an array, so we need to iterate through it
|
|
912
|
+
credits = nil
|
|
913
|
+
unless hash['credits'].nil?
|
|
914
|
+
credits = []
|
|
915
|
+
hash['credits'].each do |structure|
|
|
916
|
+
credits << (CodeAndAmount.from_hash(structure) if structure)
|
|
917
|
+
end
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
credits = SKIP unless hash.key?('credits')
|
|
921
|
+
schedule_k3 = hash.key?('scheduleK3') ? hash['scheduleK3'] : SKIP
|
|
922
|
+
# Parameter is an array, so we need to iterate through it
|
|
923
|
+
amt_items = nil
|
|
924
|
+
unless hash['amtItems'].nil?
|
|
925
|
+
amt_items = []
|
|
926
|
+
hash['amtItems'].each do |structure|
|
|
927
|
+
amt_items << (CodeAndAmount.from_hash(structure) if structure)
|
|
928
|
+
end
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
amt_items = SKIP unless hash.key?('amtItems')
|
|
932
|
+
# Parameter is an array, so we need to iterate through it
|
|
933
|
+
tax_exempt_income = nil
|
|
934
|
+
unless hash['taxExemptIncome'].nil?
|
|
935
|
+
tax_exempt_income = []
|
|
936
|
+
hash['taxExemptIncome'].each do |structure|
|
|
937
|
+
tax_exempt_income << (CodeAndAmount.from_hash(structure) if structure)
|
|
938
|
+
end
|
|
939
|
+
end
|
|
940
|
+
|
|
941
|
+
tax_exempt_income = SKIP unless hash.key?('taxExemptIncome')
|
|
942
|
+
# Parameter is an array, so we need to iterate through it
|
|
943
|
+
distributions = nil
|
|
944
|
+
unless hash['distributions'].nil?
|
|
945
|
+
distributions = []
|
|
946
|
+
hash['distributions'].each do |structure|
|
|
947
|
+
distributions << (CodeAndAmount.from_hash(structure) if structure)
|
|
948
|
+
end
|
|
949
|
+
end
|
|
950
|
+
|
|
951
|
+
distributions = SKIP unless hash.key?('distributions')
|
|
952
|
+
# Parameter is an array, so we need to iterate through it
|
|
953
|
+
other_info = nil
|
|
954
|
+
unless hash['otherInfo'].nil?
|
|
955
|
+
other_info = []
|
|
956
|
+
hash['otherInfo'].each do |structure|
|
|
957
|
+
other_info << (CodeAndAmount.from_hash(structure) if structure)
|
|
958
|
+
end
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
other_info = SKIP unless hash.key?('otherInfo')
|
|
962
|
+
foreign_tax_paid =
|
|
963
|
+
hash.key?('foreignTaxPaid') ? hash['foreignTaxPaid'] : SKIP
|
|
964
|
+
multiple_at_risk_activities =
|
|
965
|
+
hash.key?('multipleAtRiskActivities') ? hash['multipleAtRiskActivities'] : SKIP
|
|
966
|
+
multiple_passive_activities =
|
|
967
|
+
hash.key?('multiplePassiveActivities') ? hash['multiplePassiveActivities'] : SKIP
|
|
968
|
+
|
|
969
|
+
# Create a new hash for additional properties, removing known properties.
|
|
970
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
971
|
+
|
|
972
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
973
|
+
new_hash, proc { |value| value }
|
|
974
|
+
)
|
|
975
|
+
|
|
976
|
+
# Create object from extracted values.
|
|
977
|
+
Form1065K1.new(tax_year: tax_year,
|
|
978
|
+
corrected: corrected,
|
|
979
|
+
account_id: account_id,
|
|
980
|
+
tax_form_id: tax_form_id,
|
|
981
|
+
tax_form_date: tax_form_date,
|
|
982
|
+
additional_information: additional_information,
|
|
983
|
+
tax_form_type: tax_form_type,
|
|
984
|
+
issuer: issuer,
|
|
985
|
+
recipient: recipient,
|
|
986
|
+
attributes: attributes,
|
|
987
|
+
error: error,
|
|
988
|
+
links: links,
|
|
989
|
+
fiscal_year_begin: fiscal_year_begin,
|
|
990
|
+
fiscal_year_end: fiscal_year_end,
|
|
991
|
+
final_k1: final_k1,
|
|
992
|
+
amended_k1: amended_k1,
|
|
993
|
+
irs_center: irs_center,
|
|
994
|
+
publicly_traded: publicly_traded,
|
|
995
|
+
general_partner: general_partner,
|
|
996
|
+
limited_partner: limited_partner,
|
|
997
|
+
domestic: domestic,
|
|
998
|
+
foreign: foreign,
|
|
999
|
+
disregarded_entity: disregarded_entity,
|
|
1000
|
+
disregarded_entity_tin: disregarded_entity_tin,
|
|
1001
|
+
disregarded_entity_name: disregarded_entity_name,
|
|
1002
|
+
entity_type: entity_type,
|
|
1003
|
+
retirement_plan: retirement_plan,
|
|
1004
|
+
profit_share_begin: profit_share_begin,
|
|
1005
|
+
profit_share_end: profit_share_end,
|
|
1006
|
+
loss_share_begin: loss_share_begin,
|
|
1007
|
+
loss_share_end: loss_share_end,
|
|
1008
|
+
capital_share_begin: capital_share_begin,
|
|
1009
|
+
capital_share_end: capital_share_end,
|
|
1010
|
+
decrease_due_to_sale_or_exchange: decrease_due_to_sale_or_exchange,
|
|
1011
|
+
decrease_due_to_sale: decrease_due_to_sale,
|
|
1012
|
+
decrease_due_to_exchange: decrease_due_to_exchange,
|
|
1013
|
+
nonrecourse_liability_share_begin: nonrecourse_liability_share_begin,
|
|
1014
|
+
nonrecourse_liability_share_end: nonrecourse_liability_share_end,
|
|
1015
|
+
qualified_liability_share_begin: qualified_liability_share_begin,
|
|
1016
|
+
qualified_liability_share_end: qualified_liability_share_end,
|
|
1017
|
+
recourse_liability_share_begin: recourse_liability_share_begin,
|
|
1018
|
+
recourse_liability_share_end: recourse_liability_share_end,
|
|
1019
|
+
includes_lower_tier_liability: includes_lower_tier_liability,
|
|
1020
|
+
liability_subject_to_guarantees: liability_subject_to_guarantees,
|
|
1021
|
+
capital_account_begin: capital_account_begin,
|
|
1022
|
+
capital_account_contributions: capital_account_contributions,
|
|
1023
|
+
capital_account_increase: capital_account_increase,
|
|
1024
|
+
capital_account_other: capital_account_other,
|
|
1025
|
+
capital_account_withdrawals: capital_account_withdrawals,
|
|
1026
|
+
capital_account_end: capital_account_end,
|
|
1027
|
+
built_in_gain: built_in_gain,
|
|
1028
|
+
unrecognized_section704_begin: unrecognized_section704_begin,
|
|
1029
|
+
unrecognized_section704_end: unrecognized_section704_end,
|
|
1030
|
+
ordinary_income: ordinary_income,
|
|
1031
|
+
net_rental_real_estate_income: net_rental_real_estate_income,
|
|
1032
|
+
other_rental_income: other_rental_income,
|
|
1033
|
+
guaranteed_payment_services: guaranteed_payment_services,
|
|
1034
|
+
guaranteed_payment_capital: guaranteed_payment_capital,
|
|
1035
|
+
guaranteed_payment: guaranteed_payment,
|
|
1036
|
+
interest_income: interest_income,
|
|
1037
|
+
ordinary_dividends: ordinary_dividends,
|
|
1038
|
+
qualified_dividends: qualified_dividends,
|
|
1039
|
+
dividend_equivalents: dividend_equivalents,
|
|
1040
|
+
royalties: royalties,
|
|
1041
|
+
net_short_term_gain: net_short_term_gain,
|
|
1042
|
+
net_long_term_gain: net_long_term_gain,
|
|
1043
|
+
collectibles_gain: collectibles_gain,
|
|
1044
|
+
unrecaptured1250_gain: unrecaptured1250_gain,
|
|
1045
|
+
net1231_gain: net1231_gain,
|
|
1046
|
+
other_income: other_income,
|
|
1047
|
+
section179_deduction: section179_deduction,
|
|
1048
|
+
other_deductions: other_deductions,
|
|
1049
|
+
self_employment: self_employment,
|
|
1050
|
+
credits: credits,
|
|
1051
|
+
schedule_k3: schedule_k3,
|
|
1052
|
+
amt_items: amt_items,
|
|
1053
|
+
tax_exempt_income: tax_exempt_income,
|
|
1054
|
+
distributions: distributions,
|
|
1055
|
+
other_info: other_info,
|
|
1056
|
+
foreign_tax_paid: foreign_tax_paid,
|
|
1057
|
+
multiple_at_risk_activities: multiple_at_risk_activities,
|
|
1058
|
+
multiple_passive_activities: multiple_passive_activities,
|
|
1059
|
+
additional_properties: additional_properties)
|
|
1060
|
+
end
|
|
1061
|
+
|
|
1062
|
+
# Provides a human-readable string representation of the object.
|
|
1063
|
+
def to_s
|
|
1064
|
+
class_name = self.class.name.split('::').last
|
|
1065
|
+
"<#{class_name} tax_year: #{@tax_year}, corrected: #{@corrected}, account_id:"\
|
|
1066
|
+
" #{@account_id}, tax_form_id: #{@tax_form_id}, tax_form_date: #{@tax_form_date},"\
|
|
1067
|
+
" additional_information: #{@additional_information}, tax_form_type: #{@tax_form_type},"\
|
|
1068
|
+
" issuer: #{@issuer}, recipient: #{@recipient}, attributes: #{@attributes}, error:"\
|
|
1069
|
+
" #{@error}, links: #{@links}, fiscal_year_begin: #{@fiscal_year_begin}, fiscal_year_end:"\
|
|
1070
|
+
" #{@fiscal_year_end}, final_k1: #{@final_k1}, amended_k1: #{@amended_k1}, irs_center:"\
|
|
1071
|
+
" #{@irs_center}, publicly_traded: #{@publicly_traded}, general_partner:"\
|
|
1072
|
+
" #{@general_partner}, limited_partner: #{@limited_partner}, domestic: #{@domestic},"\
|
|
1073
|
+
" foreign: #{@foreign}, disregarded_entity: #{@disregarded_entity}, disregarded_entity_tin:"\
|
|
1074
|
+
" #{@disregarded_entity_tin}, disregarded_entity_name: #{@disregarded_entity_name},"\
|
|
1075
|
+
" entity_type: #{@entity_type}, retirement_plan: #{@retirement_plan}, profit_share_begin:"\
|
|
1076
|
+
" #{@profit_share_begin}, profit_share_end: #{@profit_share_end}, loss_share_begin:"\
|
|
1077
|
+
" #{@loss_share_begin}, loss_share_end: #{@loss_share_end}, capital_share_begin:"\
|
|
1078
|
+
" #{@capital_share_begin}, capital_share_end: #{@capital_share_end},"\
|
|
1079
|
+
" decrease_due_to_sale_or_exchange: #{@decrease_due_to_sale_or_exchange},"\
|
|
1080
|
+
" decrease_due_to_sale: #{@decrease_due_to_sale}, decrease_due_to_exchange:"\
|
|
1081
|
+
" #{@decrease_due_to_exchange}, nonrecourse_liability_share_begin:"\
|
|
1082
|
+
" #{@nonrecourse_liability_share_begin}, nonrecourse_liability_share_end:"\
|
|
1083
|
+
" #{@nonrecourse_liability_share_end}, qualified_liability_share_begin:"\
|
|
1084
|
+
" #{@qualified_liability_share_begin}, qualified_liability_share_end:"\
|
|
1085
|
+
" #{@qualified_liability_share_end}, recourse_liability_share_begin:"\
|
|
1086
|
+
" #{@recourse_liability_share_begin}, recourse_liability_share_end:"\
|
|
1087
|
+
" #{@recourse_liability_share_end}, includes_lower_tier_liability:"\
|
|
1088
|
+
" #{@includes_lower_tier_liability}, liability_subject_to_guarantees:"\
|
|
1089
|
+
" #{@liability_subject_to_guarantees}, capital_account_begin: #{@capital_account_begin},"\
|
|
1090
|
+
" capital_account_contributions: #{@capital_account_contributions},"\
|
|
1091
|
+
" capital_account_increase: #{@capital_account_increase}, capital_account_other:"\
|
|
1092
|
+
" #{@capital_account_other}, capital_account_withdrawals: #{@capital_account_withdrawals},"\
|
|
1093
|
+
" capital_account_end: #{@capital_account_end}, built_in_gain: #{@built_in_gain},"\
|
|
1094
|
+
" unrecognized_section704_begin: #{@unrecognized_section704_begin},"\
|
|
1095
|
+
" unrecognized_section704_end: #{@unrecognized_section704_end}, ordinary_income:"\
|
|
1096
|
+
" #{@ordinary_income}, net_rental_real_estate_income: #{@net_rental_real_estate_income},"\
|
|
1097
|
+
" other_rental_income: #{@other_rental_income}, guaranteed_payment_services:"\
|
|
1098
|
+
" #{@guaranteed_payment_services}, guaranteed_payment_capital:"\
|
|
1099
|
+
" #{@guaranteed_payment_capital}, guaranteed_payment: #{@guaranteed_payment},"\
|
|
1100
|
+
" interest_income: #{@interest_income}, ordinary_dividends: #{@ordinary_dividends},"\
|
|
1101
|
+
" qualified_dividends: #{@qualified_dividends}, dividend_equivalents:"\
|
|
1102
|
+
" #{@dividend_equivalents}, royalties: #{@royalties}, net_short_term_gain:"\
|
|
1103
|
+
" #{@net_short_term_gain}, net_long_term_gain: #{@net_long_term_gain}, collectibles_gain:"\
|
|
1104
|
+
" #{@collectibles_gain}, unrecaptured1250_gain: #{@unrecaptured1250_gain}, net1231_gain:"\
|
|
1105
|
+
" #{@net1231_gain}, other_income: #{@other_income}, section179_deduction:"\
|
|
1106
|
+
" #{@section179_deduction}, other_deductions: #{@other_deductions}, self_employment:"\
|
|
1107
|
+
" #{@self_employment}, credits: #{@credits}, schedule_k3: #{@schedule_k3}, amt_items:"\
|
|
1108
|
+
" #{@amt_items}, tax_exempt_income: #{@tax_exempt_income}, distributions: #{@distributions},"\
|
|
1109
|
+
" other_info: #{@other_info}, foreign_tax_paid: #{@foreign_tax_paid},"\
|
|
1110
|
+
" multiple_at_risk_activities: #{@multiple_at_risk_activities}, multiple_passive_activities:"\
|
|
1111
|
+
" #{@multiple_passive_activities}, additional_properties: #{@additional_properties}>"
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
1115
|
+
def inspect
|
|
1116
|
+
class_name = self.class.name.split('::').last
|
|
1117
|
+
"<#{class_name} tax_year: #{@tax_year.inspect}, corrected: #{@corrected.inspect},"\
|
|
1118
|
+
" account_id: #{@account_id.inspect}, tax_form_id: #{@tax_form_id.inspect}, tax_form_date:"\
|
|
1119
|
+
" #{@tax_form_date.inspect}, additional_information: #{@additional_information.inspect},"\
|
|
1120
|
+
" tax_form_type: #{@tax_form_type.inspect}, issuer: #{@issuer.inspect}, recipient:"\
|
|
1121
|
+
" #{@recipient.inspect}, attributes: #{@attributes.inspect}, error: #{@error.inspect},"\
|
|
1122
|
+
" links: #{@links.inspect}, fiscal_year_begin: #{@fiscal_year_begin.inspect},"\
|
|
1123
|
+
" fiscal_year_end: #{@fiscal_year_end.inspect}, final_k1: #{@final_k1.inspect}, amended_k1:"\
|
|
1124
|
+
" #{@amended_k1.inspect}, irs_center: #{@irs_center.inspect}, publicly_traded:"\
|
|
1125
|
+
" #{@publicly_traded.inspect}, general_partner: #{@general_partner.inspect},"\
|
|
1126
|
+
" limited_partner: #{@limited_partner.inspect}, domestic: #{@domestic.inspect}, foreign:"\
|
|
1127
|
+
" #{@foreign.inspect}, disregarded_entity: #{@disregarded_entity.inspect},"\
|
|
1128
|
+
" disregarded_entity_tin: #{@disregarded_entity_tin.inspect}, disregarded_entity_name:"\
|
|
1129
|
+
" #{@disregarded_entity_name.inspect}, entity_type: #{@entity_type.inspect},"\
|
|
1130
|
+
" retirement_plan: #{@retirement_plan.inspect}, profit_share_begin:"\
|
|
1131
|
+
" #{@profit_share_begin.inspect}, profit_share_end: #{@profit_share_end.inspect},"\
|
|
1132
|
+
" loss_share_begin: #{@loss_share_begin.inspect}, loss_share_end:"\
|
|
1133
|
+
" #{@loss_share_end.inspect}, capital_share_begin: #{@capital_share_begin.inspect},"\
|
|
1134
|
+
" capital_share_end: #{@capital_share_end.inspect}, decrease_due_to_sale_or_exchange:"\
|
|
1135
|
+
" #{@decrease_due_to_sale_or_exchange.inspect}, decrease_due_to_sale:"\
|
|
1136
|
+
" #{@decrease_due_to_sale.inspect}, decrease_due_to_exchange:"\
|
|
1137
|
+
" #{@decrease_due_to_exchange.inspect}, nonrecourse_liability_share_begin:"\
|
|
1138
|
+
" #{@nonrecourse_liability_share_begin.inspect}, nonrecourse_liability_share_end:"\
|
|
1139
|
+
" #{@nonrecourse_liability_share_end.inspect}, qualified_liability_share_begin:"\
|
|
1140
|
+
" #{@qualified_liability_share_begin.inspect}, qualified_liability_share_end:"\
|
|
1141
|
+
" #{@qualified_liability_share_end.inspect}, recourse_liability_share_begin:"\
|
|
1142
|
+
" #{@recourse_liability_share_begin.inspect}, recourse_liability_share_end:"\
|
|
1143
|
+
" #{@recourse_liability_share_end.inspect}, includes_lower_tier_liability:"\
|
|
1144
|
+
" #{@includes_lower_tier_liability.inspect}, liability_subject_to_guarantees:"\
|
|
1145
|
+
" #{@liability_subject_to_guarantees.inspect}, capital_account_begin:"\
|
|
1146
|
+
" #{@capital_account_begin.inspect}, capital_account_contributions:"\
|
|
1147
|
+
" #{@capital_account_contributions.inspect}, capital_account_increase:"\
|
|
1148
|
+
" #{@capital_account_increase.inspect}, capital_account_other:"\
|
|
1149
|
+
" #{@capital_account_other.inspect}, capital_account_withdrawals:"\
|
|
1150
|
+
" #{@capital_account_withdrawals.inspect}, capital_account_end:"\
|
|
1151
|
+
" #{@capital_account_end.inspect}, built_in_gain: #{@built_in_gain.inspect},"\
|
|
1152
|
+
" unrecognized_section704_begin: #{@unrecognized_section704_begin.inspect},"\
|
|
1153
|
+
" unrecognized_section704_end: #{@unrecognized_section704_end.inspect}, ordinary_income:"\
|
|
1154
|
+
" #{@ordinary_income.inspect}, net_rental_real_estate_income:"\
|
|
1155
|
+
" #{@net_rental_real_estate_income.inspect}, other_rental_income:"\
|
|
1156
|
+
" #{@other_rental_income.inspect}, guaranteed_payment_services:"\
|
|
1157
|
+
" #{@guaranteed_payment_services.inspect}, guaranteed_payment_capital:"\
|
|
1158
|
+
" #{@guaranteed_payment_capital.inspect}, guaranteed_payment:"\
|
|
1159
|
+
" #{@guaranteed_payment.inspect}, interest_income: #{@interest_income.inspect},"\
|
|
1160
|
+
" ordinary_dividends: #{@ordinary_dividends.inspect}, qualified_dividends:"\
|
|
1161
|
+
" #{@qualified_dividends.inspect}, dividend_equivalents: #{@dividend_equivalents.inspect},"\
|
|
1162
|
+
" royalties: #{@royalties.inspect}, net_short_term_gain: #{@net_short_term_gain.inspect},"\
|
|
1163
|
+
" net_long_term_gain: #{@net_long_term_gain.inspect}, collectibles_gain:"\
|
|
1164
|
+
" #{@collectibles_gain.inspect}, unrecaptured1250_gain: #{@unrecaptured1250_gain.inspect},"\
|
|
1165
|
+
" net1231_gain: #{@net1231_gain.inspect}, other_income: #{@other_income.inspect},"\
|
|
1166
|
+
" section179_deduction: #{@section179_deduction.inspect}, other_deductions:"\
|
|
1167
|
+
" #{@other_deductions.inspect}, self_employment: #{@self_employment.inspect}, credits:"\
|
|
1168
|
+
" #{@credits.inspect}, schedule_k3: #{@schedule_k3.inspect}, amt_items:"\
|
|
1169
|
+
" #{@amt_items.inspect}, tax_exempt_income: #{@tax_exempt_income.inspect}, distributions:"\
|
|
1170
|
+
" #{@distributions.inspect}, other_info: #{@other_info.inspect}, foreign_tax_paid:"\
|
|
1171
|
+
" #{@foreign_tax_paid.inspect}, multiple_at_risk_activities:"\
|
|
1172
|
+
" #{@multiple_at_risk_activities.inspect}, multiple_passive_activities:"\
|
|
1173
|
+
" #{@multiple_passive_activities.inspect}, additional_properties:"\
|
|
1174
|
+
" #{@additional_properties}>"
|
|
1175
|
+
end
|
|
1176
|
+
end
|
|
1177
|
+
end
|