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,675 @@
|
|
|
1
|
+
# fdx_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module FdxApi
|
|
7
|
+
# Tax data container for QR Code purposes
|
|
8
|
+
class TaxDataForQr < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Business Income Statement for IRS Form 1040 Schedule C
|
|
13
|
+
# @return [BusinessIncomeStatement]
|
|
14
|
+
attr_accessor :business_income_statement
|
|
15
|
+
|
|
16
|
+
# Cryptocurrency Tax Statement list
|
|
17
|
+
# @return [CryptocurrencyTaxStatementList1]
|
|
18
|
+
attr_accessor :cryptocurrency_tax_statement
|
|
19
|
+
|
|
20
|
+
# Farm Income Statement for IRS Form 1040 Schedule F
|
|
21
|
+
# @return [FarmIncomeStatement]
|
|
22
|
+
attr_accessor :farm_income_statement
|
|
23
|
+
|
|
24
|
+
# Farm Rental Income Statement for IRS Form 4835
|
|
25
|
+
# @return [FarmRentalIncomeStatement]
|
|
26
|
+
attr_accessor :farm_rental_income_statement
|
|
27
|
+
|
|
28
|
+
# Rental Income Statement for IRS Form 1040 Schedule E
|
|
29
|
+
# @return [RentalIncomeStatement]
|
|
30
|
+
attr_accessor :rental_income_statement
|
|
31
|
+
|
|
32
|
+
# Royalty Income Statement for IRS Form 1040 Schedule E
|
|
33
|
+
# @return [RoyaltyIncomeStatement]
|
|
34
|
+
attr_accessor :royalty_income_statement
|
|
35
|
+
|
|
36
|
+
# Beneficiary's Share of Income, Deductions, Credits, etc.
|
|
37
|
+
# @return [Form1041K11]
|
|
38
|
+
attr_accessor :tax1041_k1
|
|
39
|
+
|
|
40
|
+
# Foreign Person's U.S. Source Income Subject to Withholding
|
|
41
|
+
# @return [Form1042S1]
|
|
42
|
+
attr_accessor :tax1042_s
|
|
43
|
+
|
|
44
|
+
# Partner's Share of Income, Deductions, Credits, etc.
|
|
45
|
+
# @return [Form1065K11]
|
|
46
|
+
attr_accessor :tax1065_k1
|
|
47
|
+
|
|
48
|
+
# Health Insurance Marketplace Statement
|
|
49
|
+
# @return [Form1095A1]
|
|
50
|
+
attr_accessor :tax1095_a
|
|
51
|
+
|
|
52
|
+
# Health Coverage
|
|
53
|
+
# @return [Form1095B1]
|
|
54
|
+
attr_accessor :tax1095_b
|
|
55
|
+
|
|
56
|
+
# Employer-Provided Health Insurance Offer and Coverage
|
|
57
|
+
# @return [Form1095C1]
|
|
58
|
+
attr_accessor :tax1095_c
|
|
59
|
+
|
|
60
|
+
# Bond Tax Credit
|
|
61
|
+
# @return [Form1097Btc1]
|
|
62
|
+
attr_accessor :tax1097_btc
|
|
63
|
+
|
|
64
|
+
# Mortgage Interest Statement
|
|
65
|
+
# @return [Form10981]
|
|
66
|
+
attr_accessor :tax1098
|
|
67
|
+
|
|
68
|
+
# Contributions of Motor Vehicles, Boats, and Airplanes
|
|
69
|
+
# @return [Form1098C1]
|
|
70
|
+
attr_accessor :tax1098_c
|
|
71
|
+
|
|
72
|
+
# Student Loan Interest Statement
|
|
73
|
+
# @return [Form1098E1]
|
|
74
|
+
attr_accessor :tax1098_e
|
|
75
|
+
|
|
76
|
+
# Mortgage Assistance Payments
|
|
77
|
+
# @return [Form1098Ma1]
|
|
78
|
+
attr_accessor :tax1098_ma
|
|
79
|
+
|
|
80
|
+
# Qualifying Longevity Annuity Contract Information
|
|
81
|
+
# @return [Form1098Q1]
|
|
82
|
+
attr_accessor :tax1098_q
|
|
83
|
+
|
|
84
|
+
# Tuition Statement
|
|
85
|
+
# @return [Form1098T1]
|
|
86
|
+
attr_accessor :tax1098_t
|
|
87
|
+
|
|
88
|
+
# Acquisition or Abandonment of Secured Property
|
|
89
|
+
# @return [Form1099A1]
|
|
90
|
+
attr_accessor :tax1099_a
|
|
91
|
+
|
|
92
|
+
# Proceeds From Broker and Barter Exchange Transactions
|
|
93
|
+
# @return [Form1099B1]
|
|
94
|
+
attr_accessor :tax1099_b
|
|
95
|
+
|
|
96
|
+
# Cancellation of Debt
|
|
97
|
+
# @return [Form1099C1]
|
|
98
|
+
attr_accessor :tax1099_c
|
|
99
|
+
|
|
100
|
+
# Changes in Corporate Control and Capital Structure
|
|
101
|
+
# @return [Form1099Cap1]
|
|
102
|
+
attr_accessor :tax1099_cap
|
|
103
|
+
|
|
104
|
+
# Consolidated Statement for combined IRS Form 1099s
|
|
105
|
+
# @return [Form1099ConsolidatedStatement1]
|
|
106
|
+
attr_accessor :tax1099_consolidated_statement
|
|
107
|
+
|
|
108
|
+
# Dividends and Distributions
|
|
109
|
+
# @return [Form1099Div1]
|
|
110
|
+
attr_accessor :tax1099_div
|
|
111
|
+
|
|
112
|
+
# Certain Government Payments
|
|
113
|
+
# @return [Form1099G1]
|
|
114
|
+
attr_accessor :tax1099_g
|
|
115
|
+
|
|
116
|
+
# Health Coverage Tax Credit (HCTC) Advance Payments
|
|
117
|
+
# @return [Form1099H1]
|
|
118
|
+
attr_accessor :tax1099_h
|
|
119
|
+
|
|
120
|
+
# Interest Income
|
|
121
|
+
# @return [Form1099Int1]
|
|
122
|
+
attr_accessor :tax1099_int
|
|
123
|
+
|
|
124
|
+
# Merchant Card and Third-Party Network Payments
|
|
125
|
+
# @return [Form1099K1]
|
|
126
|
+
attr_accessor :tax1099_k
|
|
127
|
+
|
|
128
|
+
# Reportable Life Insurance Sale
|
|
129
|
+
# @return [Form1099Ls1]
|
|
130
|
+
attr_accessor :tax1099_ls
|
|
131
|
+
|
|
132
|
+
# Long-Term Care and Accelerated Death Benefits
|
|
133
|
+
# @return [Form1099Ltc1]
|
|
134
|
+
attr_accessor :tax1099_ltc
|
|
135
|
+
|
|
136
|
+
# Miscellaneous Income
|
|
137
|
+
# @return [Form1099Misc1]
|
|
138
|
+
attr_accessor :tax1099_misc
|
|
139
|
+
|
|
140
|
+
# Nonemployee Compensation
|
|
141
|
+
# @return [Form1099Nec1]
|
|
142
|
+
attr_accessor :tax1099_nec
|
|
143
|
+
|
|
144
|
+
# Original Issue Discount
|
|
145
|
+
# @return [Form1099Oid1]
|
|
146
|
+
attr_accessor :tax1099_oid
|
|
147
|
+
|
|
148
|
+
# Taxable Distributions Received From Cooperatives
|
|
149
|
+
# @return [Form1099Patr1]
|
|
150
|
+
attr_accessor :tax1099_patr
|
|
151
|
+
|
|
152
|
+
# Payments From Qualified Education Programs
|
|
153
|
+
# @return [Form1099Q1]
|
|
154
|
+
attr_accessor :tax1099_q
|
|
155
|
+
|
|
156
|
+
# Distributions From ABLE Accounts
|
|
157
|
+
# @return [Form1099Qa1]
|
|
158
|
+
attr_accessor :tax1099_qa
|
|
159
|
+
|
|
160
|
+
# Distributions from Pensions, Annuities, Retirement or Profit-Sharing
|
|
161
|
+
# Plans, IRAs, Insurance Contracts, etc.
|
|
162
|
+
# @return [Form1099R1]
|
|
163
|
+
attr_accessor :tax1099_r
|
|
164
|
+
|
|
165
|
+
# Proceeds From Real Estate Transactions
|
|
166
|
+
# @return [Form1099S1]
|
|
167
|
+
attr_accessor :tax1099_s
|
|
168
|
+
|
|
169
|
+
# Distributions From an HSA, Archer MSA, or Medicare Advantage MSA
|
|
170
|
+
# @return [Form1099Sa1]
|
|
171
|
+
attr_accessor :tax1099_sa
|
|
172
|
+
|
|
173
|
+
# Seller's Investment in Life Insurance Contract
|
|
174
|
+
# @return [Form1099Sb1]
|
|
175
|
+
attr_accessor :tax1099_sb
|
|
176
|
+
|
|
177
|
+
# Shareholder's Share of Income, Deductions, Credits, etc.
|
|
178
|
+
# @return [Form1120SK11]
|
|
179
|
+
attr_accessor :tax1120_sk1
|
|
180
|
+
|
|
181
|
+
# Notice to Shareholder of Undistributed Long-Term Capital Gains
|
|
182
|
+
# @return [Form24391]
|
|
183
|
+
attr_accessor :tax2439
|
|
184
|
+
|
|
185
|
+
# Exercise of an Incentive Stock Option Under Section 422(b)
|
|
186
|
+
# @return [Form39211]
|
|
187
|
+
attr_accessor :tax3921
|
|
188
|
+
|
|
189
|
+
# Transfer of Stock Acquired Through an Employee Stock Purchase Plan under
|
|
190
|
+
# Section 423(c)
|
|
191
|
+
# @return [Form39221]
|
|
192
|
+
attr_accessor :tax3922
|
|
193
|
+
|
|
194
|
+
# Split-Interest Trust Beneficiary's schedule K-1
|
|
195
|
+
# @return [Form1041K1]
|
|
196
|
+
attr_accessor :tax5227_k1
|
|
197
|
+
|
|
198
|
+
# IRA Contribution Information
|
|
199
|
+
# @return [Form54981]
|
|
200
|
+
attr_accessor :tax5498
|
|
201
|
+
|
|
202
|
+
# Coverdell ESA Contribution Information
|
|
203
|
+
# @return [Form5498Esa1]
|
|
204
|
+
attr_accessor :tax5498_esa
|
|
205
|
+
|
|
206
|
+
# ABLE Account Contribution Information
|
|
207
|
+
# @return [Form5498Qa1]
|
|
208
|
+
attr_accessor :tax5498_qa
|
|
209
|
+
|
|
210
|
+
# HSA, Archer MSA, or Medicare Advantage MSA Information
|
|
211
|
+
# @return [Form5498Sa1]
|
|
212
|
+
attr_accessor :tax5498_sa
|
|
213
|
+
|
|
214
|
+
# Wage and Tax Statement
|
|
215
|
+
# @return [FormW24]
|
|
216
|
+
attr_accessor :tax_w2
|
|
217
|
+
|
|
218
|
+
# IRS form W-2c, Corrected Wage and Tax Statement
|
|
219
|
+
# @return [FormW2C2]
|
|
220
|
+
attr_accessor :tax_w2_c
|
|
221
|
+
|
|
222
|
+
# Certain Gambling Winnings
|
|
223
|
+
# @return [FormW2G2]
|
|
224
|
+
attr_accessor :tax_w2_g
|
|
225
|
+
|
|
226
|
+
# Tax refund direct deposit information
|
|
227
|
+
# @return [TaxRefundDirectDeposit2]
|
|
228
|
+
attr_accessor :tax_refund_direct_deposit
|
|
229
|
+
|
|
230
|
+
# [Financial Data Exchange (FDX)](https://financialdataexchange.org/) schema
|
|
231
|
+
# version number (e.g. "V5.0").
|
|
232
|
+
# @return [FdxVersion]
|
|
233
|
+
attr_accessor :version
|
|
234
|
+
|
|
235
|
+
# The FDX registration ID of company or software generating this tax data
|
|
236
|
+
# @return [String]
|
|
237
|
+
attr_accessor :software_id
|
|
238
|
+
|
|
239
|
+
# A mapping from model property names to API property names.
|
|
240
|
+
def self.names
|
|
241
|
+
@_hash = {} if @_hash.nil?
|
|
242
|
+
@_hash['business_income_statement'] = 'businessIncomeStatement'
|
|
243
|
+
@_hash['cryptocurrency_tax_statement'] = 'cryptocurrencyTaxStatement'
|
|
244
|
+
@_hash['farm_income_statement'] = 'farmIncomeStatement'
|
|
245
|
+
@_hash['farm_rental_income_statement'] = 'farmRentalIncomeStatement'
|
|
246
|
+
@_hash['rental_income_statement'] = 'rentalIncomeStatement'
|
|
247
|
+
@_hash['royalty_income_statement'] = 'royaltyIncomeStatement'
|
|
248
|
+
@_hash['tax1041_k1'] = 'tax1041K1'
|
|
249
|
+
@_hash['tax1042_s'] = 'tax1042S'
|
|
250
|
+
@_hash['tax1065_k1'] = 'tax1065K1'
|
|
251
|
+
@_hash['tax1095_a'] = 'tax1095A'
|
|
252
|
+
@_hash['tax1095_b'] = 'tax1095B'
|
|
253
|
+
@_hash['tax1095_c'] = 'tax1095C'
|
|
254
|
+
@_hash['tax1097_btc'] = 'tax1097Btc'
|
|
255
|
+
@_hash['tax1098'] = 'tax1098'
|
|
256
|
+
@_hash['tax1098_c'] = 'tax1098C'
|
|
257
|
+
@_hash['tax1098_e'] = 'tax1098E'
|
|
258
|
+
@_hash['tax1098_ma'] = 'tax1098Ma'
|
|
259
|
+
@_hash['tax1098_q'] = 'tax1098Q'
|
|
260
|
+
@_hash['tax1098_t'] = 'tax1098T'
|
|
261
|
+
@_hash['tax1099_a'] = 'tax1099A'
|
|
262
|
+
@_hash['tax1099_b'] = 'tax1099B'
|
|
263
|
+
@_hash['tax1099_c'] = 'tax1099C'
|
|
264
|
+
@_hash['tax1099_cap'] = 'tax1099Cap'
|
|
265
|
+
@_hash['tax1099_consolidated_statement'] =
|
|
266
|
+
'tax1099ConsolidatedStatement'
|
|
267
|
+
@_hash['tax1099_div'] = 'tax1099Div'
|
|
268
|
+
@_hash['tax1099_g'] = 'tax1099G'
|
|
269
|
+
@_hash['tax1099_h'] = 'tax1099H'
|
|
270
|
+
@_hash['tax1099_int'] = 'tax1099Int'
|
|
271
|
+
@_hash['tax1099_k'] = 'tax1099K'
|
|
272
|
+
@_hash['tax1099_ls'] = 'tax1099Ls'
|
|
273
|
+
@_hash['tax1099_ltc'] = 'tax1099Ltc'
|
|
274
|
+
@_hash['tax1099_misc'] = 'tax1099Misc'
|
|
275
|
+
@_hash['tax1099_nec'] = 'tax1099Nec'
|
|
276
|
+
@_hash['tax1099_oid'] = 'tax1099Oid'
|
|
277
|
+
@_hash['tax1099_patr'] = 'tax1099Patr'
|
|
278
|
+
@_hash['tax1099_q'] = 'tax1099Q'
|
|
279
|
+
@_hash['tax1099_qa'] = 'tax1099Qa'
|
|
280
|
+
@_hash['tax1099_r'] = 'tax1099R'
|
|
281
|
+
@_hash['tax1099_s'] = 'tax1099S'
|
|
282
|
+
@_hash['tax1099_sa'] = 'tax1099Sa'
|
|
283
|
+
@_hash['tax1099_sb'] = 'tax1099Sb'
|
|
284
|
+
@_hash['tax1120_sk1'] = 'tax1120SK1'
|
|
285
|
+
@_hash['tax2439'] = 'tax2439'
|
|
286
|
+
@_hash['tax3921'] = 'tax3921'
|
|
287
|
+
@_hash['tax3922'] = 'tax3922'
|
|
288
|
+
@_hash['tax5227_k1'] = 'tax5227K1'
|
|
289
|
+
@_hash['tax5498'] = 'tax5498'
|
|
290
|
+
@_hash['tax5498_esa'] = 'tax5498Esa'
|
|
291
|
+
@_hash['tax5498_qa'] = 'tax5498Qa'
|
|
292
|
+
@_hash['tax5498_sa'] = 'tax5498Sa'
|
|
293
|
+
@_hash['tax_w2'] = 'taxW2'
|
|
294
|
+
@_hash['tax_w2_c'] = 'taxW2C'
|
|
295
|
+
@_hash['tax_w2_g'] = 'taxW2G'
|
|
296
|
+
@_hash['tax_refund_direct_deposit'] = 'taxRefundDirectDeposit'
|
|
297
|
+
@_hash['version'] = 'version'
|
|
298
|
+
@_hash['software_id'] = 'softwareId'
|
|
299
|
+
@_hash
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# An array for optional fields
|
|
303
|
+
def self.optionals
|
|
304
|
+
%w[
|
|
305
|
+
business_income_statement
|
|
306
|
+
cryptocurrency_tax_statement
|
|
307
|
+
farm_income_statement
|
|
308
|
+
farm_rental_income_statement
|
|
309
|
+
rental_income_statement
|
|
310
|
+
royalty_income_statement
|
|
311
|
+
tax1041_k1
|
|
312
|
+
tax1042_s
|
|
313
|
+
tax1065_k1
|
|
314
|
+
tax1095_a
|
|
315
|
+
tax1095_b
|
|
316
|
+
tax1095_c
|
|
317
|
+
tax1097_btc
|
|
318
|
+
tax1098
|
|
319
|
+
tax1098_c
|
|
320
|
+
tax1098_e
|
|
321
|
+
tax1098_ma
|
|
322
|
+
tax1098_q
|
|
323
|
+
tax1098_t
|
|
324
|
+
tax1099_a
|
|
325
|
+
tax1099_b
|
|
326
|
+
tax1099_c
|
|
327
|
+
tax1099_cap
|
|
328
|
+
tax1099_consolidated_statement
|
|
329
|
+
tax1099_div
|
|
330
|
+
tax1099_g
|
|
331
|
+
tax1099_h
|
|
332
|
+
tax1099_int
|
|
333
|
+
tax1099_k
|
|
334
|
+
tax1099_ls
|
|
335
|
+
tax1099_ltc
|
|
336
|
+
tax1099_misc
|
|
337
|
+
tax1099_nec
|
|
338
|
+
tax1099_oid
|
|
339
|
+
tax1099_patr
|
|
340
|
+
tax1099_q
|
|
341
|
+
tax1099_qa
|
|
342
|
+
tax1099_r
|
|
343
|
+
tax1099_s
|
|
344
|
+
tax1099_sa
|
|
345
|
+
tax1099_sb
|
|
346
|
+
tax1120_sk1
|
|
347
|
+
tax2439
|
|
348
|
+
tax3921
|
|
349
|
+
tax3922
|
|
350
|
+
tax5227_k1
|
|
351
|
+
tax5498
|
|
352
|
+
tax5498_esa
|
|
353
|
+
tax5498_qa
|
|
354
|
+
tax5498_sa
|
|
355
|
+
tax_w2
|
|
356
|
+
tax_w2_c
|
|
357
|
+
tax_w2_g
|
|
358
|
+
tax_refund_direct_deposit
|
|
359
|
+
version
|
|
360
|
+
software_id
|
|
361
|
+
]
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# An array for nullable fields
|
|
365
|
+
def self.nullables
|
|
366
|
+
[]
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
def initialize(business_income_statement: SKIP,
|
|
370
|
+
cryptocurrency_tax_statement: SKIP,
|
|
371
|
+
farm_income_statement: SKIP,
|
|
372
|
+
farm_rental_income_statement: SKIP,
|
|
373
|
+
rental_income_statement: SKIP,
|
|
374
|
+
royalty_income_statement: SKIP, tax1041_k1: SKIP,
|
|
375
|
+
tax1042_s: SKIP, tax1065_k1: SKIP, tax1095_a: SKIP,
|
|
376
|
+
tax1095_b: SKIP, tax1095_c: SKIP, tax1097_btc: SKIP,
|
|
377
|
+
tax1098: SKIP, tax1098_c: SKIP, tax1098_e: SKIP,
|
|
378
|
+
tax1098_ma: SKIP, tax1098_q: SKIP, tax1098_t: SKIP,
|
|
379
|
+
tax1099_a: SKIP, tax1099_b: SKIP, tax1099_c: SKIP,
|
|
380
|
+
tax1099_cap: SKIP, tax1099_consolidated_statement: SKIP,
|
|
381
|
+
tax1099_div: SKIP, tax1099_g: SKIP, tax1099_h: SKIP,
|
|
382
|
+
tax1099_int: SKIP, tax1099_k: SKIP, tax1099_ls: SKIP,
|
|
383
|
+
tax1099_ltc: SKIP, tax1099_misc: SKIP, tax1099_nec: SKIP,
|
|
384
|
+
tax1099_oid: SKIP, tax1099_patr: SKIP, tax1099_q: SKIP,
|
|
385
|
+
tax1099_qa: SKIP, tax1099_r: SKIP, tax1099_s: SKIP,
|
|
386
|
+
tax1099_sa: SKIP, tax1099_sb: SKIP, tax1120_sk1: SKIP,
|
|
387
|
+
tax2439: SKIP, tax3921: SKIP, tax3922: SKIP,
|
|
388
|
+
tax5227_k1: SKIP, tax5498: SKIP, tax5498_esa: SKIP,
|
|
389
|
+
tax5498_qa: SKIP, tax5498_sa: SKIP, tax_w2: SKIP,
|
|
390
|
+
tax_w2_c: SKIP, tax_w2_g: SKIP,
|
|
391
|
+
tax_refund_direct_deposit: SKIP, version: SKIP,
|
|
392
|
+
software_id: SKIP, additional_properties: nil)
|
|
393
|
+
# Add additional model properties to the instance
|
|
394
|
+
additional_properties = {} if additional_properties.nil?
|
|
395
|
+
|
|
396
|
+
unless business_income_statement == SKIP
|
|
397
|
+
@business_income_statement =
|
|
398
|
+
business_income_statement
|
|
399
|
+
end
|
|
400
|
+
unless cryptocurrency_tax_statement == SKIP
|
|
401
|
+
@cryptocurrency_tax_statement =
|
|
402
|
+
cryptocurrency_tax_statement
|
|
403
|
+
end
|
|
404
|
+
@farm_income_statement = farm_income_statement unless farm_income_statement == SKIP
|
|
405
|
+
unless farm_rental_income_statement == SKIP
|
|
406
|
+
@farm_rental_income_statement =
|
|
407
|
+
farm_rental_income_statement
|
|
408
|
+
end
|
|
409
|
+
@rental_income_statement = rental_income_statement unless rental_income_statement == SKIP
|
|
410
|
+
@royalty_income_statement = royalty_income_statement unless royalty_income_statement == SKIP
|
|
411
|
+
@tax1041_k1 = tax1041_k1 unless tax1041_k1 == SKIP
|
|
412
|
+
@tax1042_s = tax1042_s unless tax1042_s == SKIP
|
|
413
|
+
@tax1065_k1 = tax1065_k1 unless tax1065_k1 == SKIP
|
|
414
|
+
@tax1095_a = tax1095_a unless tax1095_a == SKIP
|
|
415
|
+
@tax1095_b = tax1095_b unless tax1095_b == SKIP
|
|
416
|
+
@tax1095_c = tax1095_c unless tax1095_c == SKIP
|
|
417
|
+
@tax1097_btc = tax1097_btc unless tax1097_btc == SKIP
|
|
418
|
+
@tax1098 = tax1098 unless tax1098 == SKIP
|
|
419
|
+
@tax1098_c = tax1098_c unless tax1098_c == SKIP
|
|
420
|
+
@tax1098_e = tax1098_e unless tax1098_e == SKIP
|
|
421
|
+
@tax1098_ma = tax1098_ma unless tax1098_ma == SKIP
|
|
422
|
+
@tax1098_q = tax1098_q unless tax1098_q == SKIP
|
|
423
|
+
@tax1098_t = tax1098_t unless tax1098_t == SKIP
|
|
424
|
+
@tax1099_a = tax1099_a unless tax1099_a == SKIP
|
|
425
|
+
@tax1099_b = tax1099_b unless tax1099_b == SKIP
|
|
426
|
+
@tax1099_c = tax1099_c unless tax1099_c == SKIP
|
|
427
|
+
@tax1099_cap = tax1099_cap unless tax1099_cap == SKIP
|
|
428
|
+
unless tax1099_consolidated_statement == SKIP
|
|
429
|
+
@tax1099_consolidated_statement =
|
|
430
|
+
tax1099_consolidated_statement
|
|
431
|
+
end
|
|
432
|
+
@tax1099_div = tax1099_div unless tax1099_div == SKIP
|
|
433
|
+
@tax1099_g = tax1099_g unless tax1099_g == SKIP
|
|
434
|
+
@tax1099_h = tax1099_h unless tax1099_h == SKIP
|
|
435
|
+
@tax1099_int = tax1099_int unless tax1099_int == SKIP
|
|
436
|
+
@tax1099_k = tax1099_k unless tax1099_k == SKIP
|
|
437
|
+
@tax1099_ls = tax1099_ls unless tax1099_ls == SKIP
|
|
438
|
+
@tax1099_ltc = tax1099_ltc unless tax1099_ltc == SKIP
|
|
439
|
+
@tax1099_misc = tax1099_misc unless tax1099_misc == SKIP
|
|
440
|
+
@tax1099_nec = tax1099_nec unless tax1099_nec == SKIP
|
|
441
|
+
@tax1099_oid = tax1099_oid unless tax1099_oid == SKIP
|
|
442
|
+
@tax1099_patr = tax1099_patr unless tax1099_patr == SKIP
|
|
443
|
+
@tax1099_q = tax1099_q unless tax1099_q == SKIP
|
|
444
|
+
@tax1099_qa = tax1099_qa unless tax1099_qa == SKIP
|
|
445
|
+
@tax1099_r = tax1099_r unless tax1099_r == SKIP
|
|
446
|
+
@tax1099_s = tax1099_s unless tax1099_s == SKIP
|
|
447
|
+
@tax1099_sa = tax1099_sa unless tax1099_sa == SKIP
|
|
448
|
+
@tax1099_sb = tax1099_sb unless tax1099_sb == SKIP
|
|
449
|
+
@tax1120_sk1 = tax1120_sk1 unless tax1120_sk1 == SKIP
|
|
450
|
+
@tax2439 = tax2439 unless tax2439 == SKIP
|
|
451
|
+
@tax3921 = tax3921 unless tax3921 == SKIP
|
|
452
|
+
@tax3922 = tax3922 unless tax3922 == SKIP
|
|
453
|
+
@tax5227_k1 = tax5227_k1 unless tax5227_k1 == SKIP
|
|
454
|
+
@tax5498 = tax5498 unless tax5498 == SKIP
|
|
455
|
+
@tax5498_esa = tax5498_esa unless tax5498_esa == SKIP
|
|
456
|
+
@tax5498_qa = tax5498_qa unless tax5498_qa == SKIP
|
|
457
|
+
@tax5498_sa = tax5498_sa unless tax5498_sa == SKIP
|
|
458
|
+
@tax_w2 = tax_w2 unless tax_w2 == SKIP
|
|
459
|
+
@tax_w2_c = tax_w2_c unless tax_w2_c == SKIP
|
|
460
|
+
@tax_w2_g = tax_w2_g unless tax_w2_g == SKIP
|
|
461
|
+
unless tax_refund_direct_deposit == SKIP
|
|
462
|
+
@tax_refund_direct_deposit =
|
|
463
|
+
tax_refund_direct_deposit
|
|
464
|
+
end
|
|
465
|
+
@version = version unless version == SKIP
|
|
466
|
+
@software_id = software_id unless software_id == SKIP
|
|
467
|
+
@additional_properties = additional_properties
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
# Creates an instance of the object from a hash.
|
|
471
|
+
def self.from_hash(hash)
|
|
472
|
+
return nil unless hash
|
|
473
|
+
|
|
474
|
+
# Extract variables from the hash.
|
|
475
|
+
if hash['businessIncomeStatement']
|
|
476
|
+
business_income_statement = BusinessIncomeStatement.from_hash(hash['businessIncomeStatement'])
|
|
477
|
+
end
|
|
478
|
+
if hash['cryptocurrencyTaxStatement']
|
|
479
|
+
cryptocurrency_tax_statement = CryptocurrencyTaxStatementList1.from_hash(hash['cryptocurrencyTaxStatement'])
|
|
480
|
+
end
|
|
481
|
+
farm_income_statement = FarmIncomeStatement.from_hash(hash['farmIncomeStatement']) if
|
|
482
|
+
hash['farmIncomeStatement']
|
|
483
|
+
if hash['farmRentalIncomeStatement']
|
|
484
|
+
farm_rental_income_statement = FarmRentalIncomeStatement.from_hash(hash['farmRentalIncomeStatement'])
|
|
485
|
+
end
|
|
486
|
+
rental_income_statement = RentalIncomeStatement.from_hash(hash['rentalIncomeStatement']) if
|
|
487
|
+
hash['rentalIncomeStatement']
|
|
488
|
+
royalty_income_statement = RoyaltyIncomeStatement.from_hash(hash['royaltyIncomeStatement']) if
|
|
489
|
+
hash['royaltyIncomeStatement']
|
|
490
|
+
tax1041_k1 = Form1041K11.from_hash(hash['tax1041K1']) if hash['tax1041K1']
|
|
491
|
+
tax1042_s = Form1042S1.from_hash(hash['tax1042S']) if hash['tax1042S']
|
|
492
|
+
tax1065_k1 = Form1065K11.from_hash(hash['tax1065K1']) if hash['tax1065K1']
|
|
493
|
+
tax1095_a = Form1095A1.from_hash(hash['tax1095A']) if hash['tax1095A']
|
|
494
|
+
tax1095_b = Form1095B1.from_hash(hash['tax1095B']) if hash['tax1095B']
|
|
495
|
+
tax1095_c = Form1095C1.from_hash(hash['tax1095C']) if hash['tax1095C']
|
|
496
|
+
tax1097_btc = Form1097Btc1.from_hash(hash['tax1097Btc']) if hash['tax1097Btc']
|
|
497
|
+
tax1098 = Form10981.from_hash(hash['tax1098']) if hash['tax1098']
|
|
498
|
+
tax1098_c = Form1098C1.from_hash(hash['tax1098C']) if hash['tax1098C']
|
|
499
|
+
tax1098_e = Form1098E1.from_hash(hash['tax1098E']) if hash['tax1098E']
|
|
500
|
+
tax1098_ma = Form1098Ma1.from_hash(hash['tax1098Ma']) if hash['tax1098Ma']
|
|
501
|
+
tax1098_q = Form1098Q1.from_hash(hash['tax1098Q']) if hash['tax1098Q']
|
|
502
|
+
tax1098_t = Form1098T1.from_hash(hash['tax1098T']) if hash['tax1098T']
|
|
503
|
+
tax1099_a = Form1099A1.from_hash(hash['tax1099A']) if hash['tax1099A']
|
|
504
|
+
tax1099_b = Form1099B1.from_hash(hash['tax1099B']) if hash['tax1099B']
|
|
505
|
+
tax1099_c = Form1099C1.from_hash(hash['tax1099C']) if hash['tax1099C']
|
|
506
|
+
tax1099_cap = Form1099Cap1.from_hash(hash['tax1099Cap']) if hash['tax1099Cap']
|
|
507
|
+
if hash['tax1099ConsolidatedStatement']
|
|
508
|
+
tax1099_consolidated_statement = Form1099ConsolidatedStatement1.from_hash(hash['tax1099ConsolidatedStatement'])
|
|
509
|
+
end
|
|
510
|
+
tax1099_div = Form1099Div1.from_hash(hash['tax1099Div']) if hash['tax1099Div']
|
|
511
|
+
tax1099_g = Form1099G1.from_hash(hash['tax1099G']) if hash['tax1099G']
|
|
512
|
+
tax1099_h = Form1099H1.from_hash(hash['tax1099H']) if hash['tax1099H']
|
|
513
|
+
tax1099_int = Form1099Int1.from_hash(hash['tax1099Int']) if hash['tax1099Int']
|
|
514
|
+
tax1099_k = Form1099K1.from_hash(hash['tax1099K']) if hash['tax1099K']
|
|
515
|
+
tax1099_ls = Form1099Ls1.from_hash(hash['tax1099Ls']) if hash['tax1099Ls']
|
|
516
|
+
tax1099_ltc = Form1099Ltc1.from_hash(hash['tax1099Ltc']) if hash['tax1099Ltc']
|
|
517
|
+
tax1099_misc = Form1099Misc1.from_hash(hash['tax1099Misc']) if hash['tax1099Misc']
|
|
518
|
+
tax1099_nec = Form1099Nec1.from_hash(hash['tax1099Nec']) if hash['tax1099Nec']
|
|
519
|
+
tax1099_oid = Form1099Oid1.from_hash(hash['tax1099Oid']) if hash['tax1099Oid']
|
|
520
|
+
tax1099_patr = Form1099Patr1.from_hash(hash['tax1099Patr']) if hash['tax1099Patr']
|
|
521
|
+
tax1099_q = Form1099Q1.from_hash(hash['tax1099Q']) if hash['tax1099Q']
|
|
522
|
+
tax1099_qa = Form1099Qa1.from_hash(hash['tax1099Qa']) if hash['tax1099Qa']
|
|
523
|
+
tax1099_r = Form1099R1.from_hash(hash['tax1099R']) if hash['tax1099R']
|
|
524
|
+
tax1099_s = Form1099S1.from_hash(hash['tax1099S']) if hash['tax1099S']
|
|
525
|
+
tax1099_sa = Form1099Sa1.from_hash(hash['tax1099Sa']) if hash['tax1099Sa']
|
|
526
|
+
tax1099_sb = Form1099Sb1.from_hash(hash['tax1099Sb']) if hash['tax1099Sb']
|
|
527
|
+
tax1120_sk1 = Form1120SK11.from_hash(hash['tax1120SK1']) if hash['tax1120SK1']
|
|
528
|
+
tax2439 = Form24391.from_hash(hash['tax2439']) if hash['tax2439']
|
|
529
|
+
tax3921 = Form39211.from_hash(hash['tax3921']) if hash['tax3921']
|
|
530
|
+
tax3922 = Form39221.from_hash(hash['tax3922']) if hash['tax3922']
|
|
531
|
+
tax5227_k1 = Form1041K1.from_hash(hash['tax5227K1']) if hash['tax5227K1']
|
|
532
|
+
tax5498 = Form54981.from_hash(hash['tax5498']) if hash['tax5498']
|
|
533
|
+
tax5498_esa = Form5498Esa1.from_hash(hash['tax5498Esa']) if hash['tax5498Esa']
|
|
534
|
+
tax5498_qa = Form5498Qa1.from_hash(hash['tax5498Qa']) if hash['tax5498Qa']
|
|
535
|
+
tax5498_sa = Form5498Sa1.from_hash(hash['tax5498Sa']) if hash['tax5498Sa']
|
|
536
|
+
tax_w2 = FormW24.from_hash(hash['taxW2']) if hash['taxW2']
|
|
537
|
+
tax_w2_c = FormW2C2.from_hash(hash['taxW2C']) if hash['taxW2C']
|
|
538
|
+
tax_w2_g = FormW2G2.from_hash(hash['taxW2G']) if hash['taxW2G']
|
|
539
|
+
if hash['taxRefundDirectDeposit']
|
|
540
|
+
tax_refund_direct_deposit = TaxRefundDirectDeposit2.from_hash(hash['taxRefundDirectDeposit'])
|
|
541
|
+
end
|
|
542
|
+
version = hash.key?('version') ? hash['version'] : SKIP
|
|
543
|
+
software_id = hash.key?('softwareId') ? hash['softwareId'] : SKIP
|
|
544
|
+
|
|
545
|
+
# Create a new hash for additional properties, removing known properties.
|
|
546
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
547
|
+
|
|
548
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
549
|
+
new_hash, proc { |value| value }
|
|
550
|
+
)
|
|
551
|
+
|
|
552
|
+
# Create object from extracted values.
|
|
553
|
+
TaxDataForQr.new(business_income_statement: business_income_statement,
|
|
554
|
+
cryptocurrency_tax_statement: cryptocurrency_tax_statement,
|
|
555
|
+
farm_income_statement: farm_income_statement,
|
|
556
|
+
farm_rental_income_statement: farm_rental_income_statement,
|
|
557
|
+
rental_income_statement: rental_income_statement,
|
|
558
|
+
royalty_income_statement: royalty_income_statement,
|
|
559
|
+
tax1041_k1: tax1041_k1,
|
|
560
|
+
tax1042_s: tax1042_s,
|
|
561
|
+
tax1065_k1: tax1065_k1,
|
|
562
|
+
tax1095_a: tax1095_a,
|
|
563
|
+
tax1095_b: tax1095_b,
|
|
564
|
+
tax1095_c: tax1095_c,
|
|
565
|
+
tax1097_btc: tax1097_btc,
|
|
566
|
+
tax1098: tax1098,
|
|
567
|
+
tax1098_c: tax1098_c,
|
|
568
|
+
tax1098_e: tax1098_e,
|
|
569
|
+
tax1098_ma: tax1098_ma,
|
|
570
|
+
tax1098_q: tax1098_q,
|
|
571
|
+
tax1098_t: tax1098_t,
|
|
572
|
+
tax1099_a: tax1099_a,
|
|
573
|
+
tax1099_b: tax1099_b,
|
|
574
|
+
tax1099_c: tax1099_c,
|
|
575
|
+
tax1099_cap: tax1099_cap,
|
|
576
|
+
tax1099_consolidated_statement: tax1099_consolidated_statement,
|
|
577
|
+
tax1099_div: tax1099_div,
|
|
578
|
+
tax1099_g: tax1099_g,
|
|
579
|
+
tax1099_h: tax1099_h,
|
|
580
|
+
tax1099_int: tax1099_int,
|
|
581
|
+
tax1099_k: tax1099_k,
|
|
582
|
+
tax1099_ls: tax1099_ls,
|
|
583
|
+
tax1099_ltc: tax1099_ltc,
|
|
584
|
+
tax1099_misc: tax1099_misc,
|
|
585
|
+
tax1099_nec: tax1099_nec,
|
|
586
|
+
tax1099_oid: tax1099_oid,
|
|
587
|
+
tax1099_patr: tax1099_patr,
|
|
588
|
+
tax1099_q: tax1099_q,
|
|
589
|
+
tax1099_qa: tax1099_qa,
|
|
590
|
+
tax1099_r: tax1099_r,
|
|
591
|
+
tax1099_s: tax1099_s,
|
|
592
|
+
tax1099_sa: tax1099_sa,
|
|
593
|
+
tax1099_sb: tax1099_sb,
|
|
594
|
+
tax1120_sk1: tax1120_sk1,
|
|
595
|
+
tax2439: tax2439,
|
|
596
|
+
tax3921: tax3921,
|
|
597
|
+
tax3922: tax3922,
|
|
598
|
+
tax5227_k1: tax5227_k1,
|
|
599
|
+
tax5498: tax5498,
|
|
600
|
+
tax5498_esa: tax5498_esa,
|
|
601
|
+
tax5498_qa: tax5498_qa,
|
|
602
|
+
tax5498_sa: tax5498_sa,
|
|
603
|
+
tax_w2: tax_w2,
|
|
604
|
+
tax_w2_c: tax_w2_c,
|
|
605
|
+
tax_w2_g: tax_w2_g,
|
|
606
|
+
tax_refund_direct_deposit: tax_refund_direct_deposit,
|
|
607
|
+
version: version,
|
|
608
|
+
software_id: software_id,
|
|
609
|
+
additional_properties: additional_properties)
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
# Provides a human-readable string representation of the object.
|
|
613
|
+
def to_s
|
|
614
|
+
class_name = self.class.name.split('::').last
|
|
615
|
+
"<#{class_name} business_income_statement: #{@business_income_statement},"\
|
|
616
|
+
" cryptocurrency_tax_statement: #{@cryptocurrency_tax_statement}, farm_income_statement:"\
|
|
617
|
+
" #{@farm_income_statement}, farm_rental_income_statement: #{@farm_rental_income_statement},"\
|
|
618
|
+
" rental_income_statement: #{@rental_income_statement}, royalty_income_statement:"\
|
|
619
|
+
" #{@royalty_income_statement}, tax1041_k1: #{@tax1041_k1}, tax1042_s: #{@tax1042_s},"\
|
|
620
|
+
" tax1065_k1: #{@tax1065_k1}, tax1095_a: #{@tax1095_a}, tax1095_b: #{@tax1095_b}, tax1095_c:"\
|
|
621
|
+
" #{@tax1095_c}, tax1097_btc: #{@tax1097_btc}, tax1098: #{@tax1098}, tax1098_c:"\
|
|
622
|
+
" #{@tax1098_c}, tax1098_e: #{@tax1098_e}, tax1098_ma: #{@tax1098_ma}, tax1098_q:"\
|
|
623
|
+
" #{@tax1098_q}, tax1098_t: #{@tax1098_t}, tax1099_a: #{@tax1099_a}, tax1099_b:"\
|
|
624
|
+
" #{@tax1099_b}, tax1099_c: #{@tax1099_c}, tax1099_cap: #{@tax1099_cap},"\
|
|
625
|
+
" tax1099_consolidated_statement: #{@tax1099_consolidated_statement}, tax1099_div:"\
|
|
626
|
+
" #{@tax1099_div}, tax1099_g: #{@tax1099_g}, tax1099_h: #{@tax1099_h}, tax1099_int:"\
|
|
627
|
+
" #{@tax1099_int}, tax1099_k: #{@tax1099_k}, tax1099_ls: #{@tax1099_ls}, tax1099_ltc:"\
|
|
628
|
+
" #{@tax1099_ltc}, tax1099_misc: #{@tax1099_misc}, tax1099_nec: #{@tax1099_nec},"\
|
|
629
|
+
" tax1099_oid: #{@tax1099_oid}, tax1099_patr: #{@tax1099_patr}, tax1099_q: #{@tax1099_q},"\
|
|
630
|
+
" tax1099_qa: #{@tax1099_qa}, tax1099_r: #{@tax1099_r}, tax1099_s: #{@tax1099_s},"\
|
|
631
|
+
" tax1099_sa: #{@tax1099_sa}, tax1099_sb: #{@tax1099_sb}, tax1120_sk1: #{@tax1120_sk1},"\
|
|
632
|
+
" tax2439: #{@tax2439}, tax3921: #{@tax3921}, tax3922: #{@tax3922}, tax5227_k1:"\
|
|
633
|
+
" #{@tax5227_k1}, tax5498: #{@tax5498}, tax5498_esa: #{@tax5498_esa}, tax5498_qa:"\
|
|
634
|
+
" #{@tax5498_qa}, tax5498_sa: #{@tax5498_sa}, tax_w2: #{@tax_w2}, tax_w2_c: #{@tax_w2_c},"\
|
|
635
|
+
" tax_w2_g: #{@tax_w2_g}, tax_refund_direct_deposit: #{@tax_refund_direct_deposit}, version:"\
|
|
636
|
+
" #{@version}, software_id: #{@software_id}, additional_properties:"\
|
|
637
|
+
" #{@additional_properties}>"
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
641
|
+
def inspect
|
|
642
|
+
class_name = self.class.name.split('::').last
|
|
643
|
+
"<#{class_name} business_income_statement: #{@business_income_statement.inspect},"\
|
|
644
|
+
" cryptocurrency_tax_statement: #{@cryptocurrency_tax_statement.inspect},"\
|
|
645
|
+
" farm_income_statement: #{@farm_income_statement.inspect}, farm_rental_income_statement:"\
|
|
646
|
+
" #{@farm_rental_income_statement.inspect}, rental_income_statement:"\
|
|
647
|
+
" #{@rental_income_statement.inspect}, royalty_income_statement:"\
|
|
648
|
+
" #{@royalty_income_statement.inspect}, tax1041_k1: #{@tax1041_k1.inspect}, tax1042_s:"\
|
|
649
|
+
" #{@tax1042_s.inspect}, tax1065_k1: #{@tax1065_k1.inspect}, tax1095_a:"\
|
|
650
|
+
" #{@tax1095_a.inspect}, tax1095_b: #{@tax1095_b.inspect}, tax1095_c: #{@tax1095_c.inspect},"\
|
|
651
|
+
" tax1097_btc: #{@tax1097_btc.inspect}, tax1098: #{@tax1098.inspect}, tax1098_c:"\
|
|
652
|
+
" #{@tax1098_c.inspect}, tax1098_e: #{@tax1098_e.inspect}, tax1098_ma:"\
|
|
653
|
+
" #{@tax1098_ma.inspect}, tax1098_q: #{@tax1098_q.inspect}, tax1098_t:"\
|
|
654
|
+
" #{@tax1098_t.inspect}, tax1099_a: #{@tax1099_a.inspect}, tax1099_b: #{@tax1099_b.inspect},"\
|
|
655
|
+
" tax1099_c: #{@tax1099_c.inspect}, tax1099_cap: #{@tax1099_cap.inspect},"\
|
|
656
|
+
" tax1099_consolidated_statement: #{@tax1099_consolidated_statement.inspect}, tax1099_div:"\
|
|
657
|
+
" #{@tax1099_div.inspect}, tax1099_g: #{@tax1099_g.inspect}, tax1099_h:"\
|
|
658
|
+
" #{@tax1099_h.inspect}, tax1099_int: #{@tax1099_int.inspect}, tax1099_k:"\
|
|
659
|
+
" #{@tax1099_k.inspect}, tax1099_ls: #{@tax1099_ls.inspect}, tax1099_ltc:"\
|
|
660
|
+
" #{@tax1099_ltc.inspect}, tax1099_misc: #{@tax1099_misc.inspect}, tax1099_nec:"\
|
|
661
|
+
" #{@tax1099_nec.inspect}, tax1099_oid: #{@tax1099_oid.inspect}, tax1099_patr:"\
|
|
662
|
+
" #{@tax1099_patr.inspect}, tax1099_q: #{@tax1099_q.inspect}, tax1099_qa:"\
|
|
663
|
+
" #{@tax1099_qa.inspect}, tax1099_r: #{@tax1099_r.inspect}, tax1099_s:"\
|
|
664
|
+
" #{@tax1099_s.inspect}, tax1099_sa: #{@tax1099_sa.inspect}, tax1099_sb:"\
|
|
665
|
+
" #{@tax1099_sb.inspect}, tax1120_sk1: #{@tax1120_sk1.inspect}, tax2439:"\
|
|
666
|
+
" #{@tax2439.inspect}, tax3921: #{@tax3921.inspect}, tax3922: #{@tax3922.inspect},"\
|
|
667
|
+
" tax5227_k1: #{@tax5227_k1.inspect}, tax5498: #{@tax5498.inspect}, tax5498_esa:"\
|
|
668
|
+
" #{@tax5498_esa.inspect}, tax5498_qa: #{@tax5498_qa.inspect}, tax5498_sa:"\
|
|
669
|
+
" #{@tax5498_sa.inspect}, tax_w2: #{@tax_w2.inspect}, tax_w2_c: #{@tax_w2_c.inspect},"\
|
|
670
|
+
" tax_w2_g: #{@tax_w2_g.inspect}, tax_refund_direct_deposit:"\
|
|
671
|
+
" #{@tax_refund_direct_deposit.inspect}, version: #{@version.inspect}, software_id:"\
|
|
672
|
+
" #{@software_id.inspect}, additional_properties: #{@additional_properties}>"
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
end
|