apimatic-mx-apis-sdk 0.0.1
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 +207 -0
- data/bin/console +15 -0
- data/lib/mx_platform_api/api_helper.rb +10 -0
- data/lib/mx_platform_api/apis/accounts_api.rb +619 -0
- data/lib/mx_platform_api/apis/ach_return_api.rb +115 -0
- data/lib/mx_platform_api/apis/base_api.rb +67 -0
- data/lib/mx_platform_api/apis/budgets_api.rb +212 -0
- data/lib/mx_platform_api/apis/categories_api.rb +377 -0
- data/lib/mx_platform_api/apis/goals_api.rb +223 -0
- data/lib/mx_platform_api/apis/insights_api.rb +415 -0
- data/lib/mx_platform_api/apis/institutions_api.rb +159 -0
- data/lib/mx_platform_api/apis/investment_holdings_api.rb +191 -0
- data/lib/mx_platform_api/apis/jobs_api.rb +48 -0
- data/lib/mx_platform_api/apis/managed_data_deprecated_api.rb +773 -0
- data/lib/mx_platform_api/apis/members_api.rb +639 -0
- data/lib/mx_platform_api/apis/merchants_api.rb +98 -0
- data/lib/mx_platform_api/apis/microdeposits_api.rb +219 -0
- data/lib/mx_platform_api/apis/monthly_cash_flow_profile_api.rb +75 -0
- data/lib/mx_platform_api/apis/notifications_api.rb +115 -0
- data/lib/mx_platform_api/apis/processor_token_api.rb +141 -0
- data/lib/mx_platform_api/apis/rewards_api.rb +149 -0
- data/lib/mx_platform_api/apis/spending_plan_api.rb +621 -0
- data/lib/mx_platform_api/apis/statements_api.rb +165 -0
- data/lib/mx_platform_api/apis/taggings_api.rb +184 -0
- data/lib/mx_platform_api/apis/tags_api.rb +185 -0
- data/lib/mx_platform_api/apis/transaction_rules_api.rb +163 -0
- data/lib/mx_platform_api/apis/transactions_api.rb +1223 -0
- data/lib/mx_platform_api/apis/users_api.rb +188 -0
- data/lib/mx_platform_api/apis/verifiable_credentials_api.rb +114 -0
- data/lib/mx_platform_api/apis/widgets_api.rb +135 -0
- data/lib/mx_platform_api/client.rb +225 -0
- data/lib/mx_platform_api/configuration.rb +182 -0
- data/lib/mx_platform_api/exceptions/api_exception.rb +21 -0
- data/lib/mx_platform_api/http/api_response.rb +19 -0
- data/lib/mx_platform_api/http/auth/basic_auth.rb +62 -0
- data/lib/mx_platform_api/http/auth/bearer_auth.rb +53 -0
- data/lib/mx_platform_api/http/http_call_back.rb +10 -0
- data/lib/mx_platform_api/http/http_method_enum.rb +10 -0
- data/lib/mx_platform_api/http/http_request.rb +10 -0
- data/lib/mx_platform_api/http/http_response.rb +10 -0
- data/lib/mx_platform_api/http/proxy_settings.rb +22 -0
- data/lib/mx_platform_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/mx_platform_api/logging/sdk_logger.rb +17 -0
- data/lib/mx_platform_api/models/account_create_request.rb +309 -0
- data/lib/mx_platform_api/models/account_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/account_number.rb +199 -0
- data/lib/mx_platform_api/models/account_number_response.rb +215 -0
- data/lib/mx_platform_api/models/account_numbers_response_body.rb +95 -0
- data/lib/mx_platform_api/models/account_owner.rb +186 -0
- data/lib/mx_platform_api/models/account_owner_response.rb +219 -0
- data/lib/mx_platform_api/models/account_owners_response_body.rb +95 -0
- data/lib/mx_platform_api/models/account_ownership.rb +45 -0
- data/lib/mx_platform_api/models/account_response.rb +814 -0
- data/lib/mx_platform_api/models/account_response_body.rb +75 -0
- data/lib/mx_platform_api/models/account_type.rb +80 -0
- data/lib/mx_platform_api/models/account_type1.rb +80 -0
- data/lib/mx_platform_api/models/account_update_request.rb +301 -0
- data/lib/mx_platform_api/models/account_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/accounts_merge_request.rb +75 -0
- data/lib/mx_platform_api/models/accounts_merge_request_body.rb +75 -0
- data/lib/mx_platform_api/models/accounts_response_body.rb +94 -0
- data/lib/mx_platform_api/models/ach_response.rb +424 -0
- data/lib/mx_platform_api/models/ach_return_create_request.rb +256 -0
- data/lib/mx_platform_api/models/ach_return_create_request_body.rb +76 -0
- data/lib/mx_platform_api/models/ach_return_response_body.rb +76 -0
- data/lib/mx_platform_api/models/ach_returns_response_body.rb +95 -0
- data/lib/mx_platform_api/models/authorization_code_request.rb +77 -0
- data/lib/mx_platform_api/models/authorization_code_request_body.rb +77 -0
- data/lib/mx_platform_api/models/authorization_code_response.rb +76 -0
- data/lib/mx_platform_api/models/authorization_code_response_body.rb +77 -0
- data/lib/mx_platform_api/models/base_model.rb +110 -0
- data/lib/mx_platform_api/models/budget_create_request.rb +115 -0
- data/lib/mx_platform_api/models/budget_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/budget_response.rb +246 -0
- data/lib/mx_platform_api/models/budget_response_body.rb +75 -0
- data/lib/mx_platform_api/models/budget_update_request.rb +96 -0
- data/lib/mx_platform_api/models/budget_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/categories_response_body.rb +95 -0
- data/lib/mx_platform_api/models/category_create_request.rb +93 -0
- data/lib/mx_platform_api/models/category_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/category_response.rb +160 -0
- data/lib/mx_platform_api/models/category_response_body.rb +75 -0
- data/lib/mx_platform_api/models/category_update_request.rb +85 -0
- data/lib/mx_platform_api/models/category_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/challenge_response.rb +159 -0
- data/lib/mx_platform_api/models/challenges_response_body.rb +95 -0
- data/lib/mx_platform_api/models/channel.rb +47 -0
- data/lib/mx_platform_api/models/classification.rb +85 -0
- data/lib/mx_platform_api/models/color_scheme.rb +43 -0
- data/lib/mx_platform_api/models/connection_status.rb +118 -0
- data/lib/mx_platform_api/models/credential_request.rb +85 -0
- data/lib/mx_platform_api/models/credential_response.rb +133 -0
- data/lib/mx_platform_api/models/credentials_response_body.rb +95 -0
- data/lib/mx_platform_api/models/credit_card_product.rb +276 -0
- data/lib/mx_platform_api/models/credit_card_product_response.rb +77 -0
- data/lib/mx_platform_api/models/data_request.rb +76 -0
- data/lib/mx_platform_api/models/date_range.rb +87 -0
- data/lib/mx_platform_api/models/date_range_category_totals_response.rb +115 -0
- data/lib/mx_platform_api/models/date_range_category_totals_response_body.rb +88 -0
- data/lib/mx_platform_api/models/deep_link_params.rb +131 -0
- data/lib/mx_platform_api/models/enhance_transaction_response.rb +371 -0
- data/lib/mx_platform_api/models/enhance_transactions_request.rb +143 -0
- data/lib/mx_platform_api/models/enhance_transactions_request_body.rb +85 -0
- data/lib/mx_platform_api/models/enhance_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/error.rb +106 -0
- data/lib/mx_platform_api/models/federal_insurance_status.rb +42 -0
- data/lib/mx_platform_api/models/geolocation.rb +108 -0
- data/lib/mx_platform_api/models/goal_request.rb +179 -0
- data/lib/mx_platform_api/models/goal_request_body.rb +74 -0
- data/lib/mx_platform_api/models/goal_response.rb +241 -0
- data/lib/mx_platform_api/models/goal_response_body.rb +74 -0
- data/lib/mx_platform_api/models/goal_type_name.rb +36 -0
- data/lib/mx_platform_api/models/goals_response.rb +241 -0
- data/lib/mx_platform_api/models/goals_response_body.rb +94 -0
- data/lib/mx_platform_api/models/image_option_response.rb +110 -0
- data/lib/mx_platform_api/models/insight_response.rb +338 -0
- data/lib/mx_platform_api/models/insight_response_body.rb +75 -0
- data/lib/mx_platform_api/models/insight_update_request.rb +87 -0
- data/lib/mx_platform_api/models/insight_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/insights_response_body.rb +94 -0
- data/lib/mx_platform_api/models/institution_response.rb +290 -0
- data/lib/mx_platform_api/models/institution_response_body.rb +76 -0
- data/lib/mx_platform_api/models/institutions_response_body.rb +95 -0
- data/lib/mx_platform_api/models/investment_holding_response.rb +513 -0
- data/lib/mx_platform_api/models/investment_holding_response_body.rb +77 -0
- data/lib/mx_platform_api/models/investment_holdings_deactivation.rb +85 -0
- data/lib/mx_platform_api/models/investment_holdings_response_body.rb +95 -0
- data/lib/mx_platform_api/models/iso_country_code.rb +36 -0
- data/lib/mx_platform_api/models/item_type.rb +52 -0
- data/lib/mx_platform_api/models/job_response.rb +203 -0
- data/lib/mx_platform_api/models/job_response_body.rb +74 -0
- data/lib/mx_platform_api/models/managed_account_create_request.rb +422 -0
- data/lib/mx_platform_api/models/managed_account_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_account_update_request.rb +428 -0
- data/lib/mx_platform_api/models/managed_account_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_member_create_request.rb +105 -0
- data/lib/mx_platform_api/models/managed_member_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_member_update_request.rb +95 -0
- data/lib/mx_platform_api/models/managed_member_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_transaction_create_request.rb +282 -0
- data/lib/mx_platform_api/models/managed_transaction_create_request_body.rb +77 -0
- data/lib/mx_platform_api/models/managed_transaction_update_request.rb +289 -0
- data/lib/mx_platform_api/models/managed_transaction_update_request_body.rb +77 -0
- data/lib/mx_platform_api/models/member_create_request.rb +154 -0
- data/lib/mx_platform_api/models/member_create_request_body.rb +152 -0
- data/lib/mx_platform_api/models/member_elements.rb +96 -0
- data/lib/mx_platform_api/models/member_response.rb +406 -0
- data/lib/mx_platform_api/models/member_response_body.rb +75 -0
- data/lib/mx_platform_api/models/member_response_with_job_error.rb +406 -0
- data/lib/mx_platform_api/models/member_response_with_job_error_body.rb +75 -0
- data/lib/mx_platform_api/models/member_resume_request.rb +85 -0
- data/lib/mx_platform_api/models/member_resume_request_body.rb +75 -0
- data/lib/mx_platform_api/models/member_status_response.rb +236 -0
- data/lib/mx_platform_api/models/member_status_response_body.rb +75 -0
- data/lib/mx_platform_api/models/member_update_request.rb +133 -0
- data/lib/mx_platform_api/models/member_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/members_response_body.rb +94 -0
- data/lib/mx_platform_api/models/merchant.rb +105 -0
- data/lib/mx_platform_api/models/merchant_location_response.rb +208 -0
- data/lib/mx_platform_api/models/merchant_location_response_body.rb +77 -0
- data/lib/mx_platform_api/models/merchant_response.rb +136 -0
- data/lib/mx_platform_api/models/merchant_response_body.rb +75 -0
- data/lib/mx_platform_api/models/merchants_response_body.rb +95 -0
- data/lib/mx_platform_api/models/micro_deposit.rb +223 -0
- data/lib/mx_platform_api/models/microdeposit_elements.rb +141 -0
- data/lib/mx_platform_api/models/microdeposit_request_body.rb +77 -0
- data/lib/mx_platform_api/models/microdeposit_response.rb +149 -0
- data/lib/mx_platform_api/models/microdeposit_response_body.rb +85 -0
- data/lib/mx_platform_api/models/microdeposit_verify_request.rb +88 -0
- data/lib/mx_platform_api/models/microdeposit_verify_request_body.rb +77 -0
- data/lib/mx_platform_api/models/microdeposits_response_body.rb +95 -0
- data/lib/mx_platform_api/models/monthly_account_balance.rb +123 -0
- data/lib/mx_platform_api/models/monthly_account_balances_response_body.rb +85 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_profile_request.rb +95 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_profile_request_body.rb +81 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_response.rb +157 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_response_body.rb +81 -0
- data/lib/mx_platform_api/models/notification_request.rb +83 -0
- data/lib/mx_platform_api/models/notification_request_body.rb +76 -0
- data/lib/mx_platform_api/models/notification_response.rb +204 -0
- data/lib/mx_platform_api/models/notification_response_body.rb +76 -0
- data/lib/mx_platform_api/models/notifications_response_body.rb +85 -0
- data/lib/mx_platform_api/models/oauth_window_response.rb +91 -0
- data/lib/mx_platform_api/models/oauth_window_response_body.rb +75 -0
- data/lib/mx_platform_api/models/option_response.rb +99 -0
- data/lib/mx_platform_api/models/pagination_response.rb +106 -0
- data/lib/mx_platform_api/models/parent_class.rb +84 -0
- data/lib/mx_platform_api/models/payment_account.rb +183 -0
- data/lib/mx_platform_api/models/payment_account1.rb +213 -0
- data/lib/mx_platform_api/models/payment_account_body.rb +77 -0
- data/lib/mx_platform_api/models/processor_account_number.rb +168 -0
- data/lib/mx_platform_api/models/processor_account_number_body.rb +85 -0
- data/lib/mx_platform_api/models/processor_owner.rb +155 -0
- data/lib/mx_platform_api/models/processor_owner_body.rb +95 -0
- data/lib/mx_platform_api/models/property_type.rb +69 -0
- data/lib/mx_platform_api/models/recurrence_type.rb +26 -0
- data/lib/mx_platform_api/models/repeating_transaction.rb +102 -0
- data/lib/mx_platform_api/models/repeating_transaction_response.rb +203 -0
- data/lib/mx_platform_api/models/repeating_transaction_type.rb +44 -0
- data/lib/mx_platform_api/models/repeating_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/reposition_request.rb +82 -0
- data/lib/mx_platform_api/models/reposition_request_body.rb +84 -0
- data/lib/mx_platform_api/models/reposition_response_body.rb +84 -0
- data/lib/mx_platform_api/models/reward.rb +187 -0
- data/lib/mx_platform_api/models/reward_elements.rb +156 -0
- data/lib/mx_platform_api/models/reward_response_body.rb +75 -0
- data/lib/mx_platform_api/models/rewards_response_body.rb +94 -0
- data/lib/mx_platform_api/models/scheduled_payment_response.rb +208 -0
- data/lib/mx_platform_api/models/scheduled_payments_response_body.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_account_response.rb +142 -0
- data/lib/mx_platform_api/models/spending_plan_accounts_response.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_item_create_request_body.rb +124 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_item_response.rb +224 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_items_response_body.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_response.rb +162 -0
- data/lib/mx_platform_api/models/spending_plan_iterations_response.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_response.rb +129 -0
- data/lib/mx_platform_api/models/spending_plans_response_body.rb +95 -0
- data/lib/mx_platform_api/models/split_transaction_request.rb +106 -0
- data/lib/mx_platform_api/models/split_transaction_request_body.rb +75 -0
- data/lib/mx_platform_api/models/split_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/statement_response.rb +157 -0
- data/lib/mx_platform_api/models/statement_response_body.rb +76 -0
- data/lib/mx_platform_api/models/statements_response_body.rb +95 -0
- data/lib/mx_platform_api/models/status.rb +36 -0
- data/lib/mx_platform_api/models/style.rb +74 -0
- data/lib/mx_platform_api/models/supported_product.rb +56 -0
- data/lib/mx_platform_api/models/supported_product1.rb +52 -0
- data/lib/mx_platform_api/models/tag_create_request.rb +72 -0
- data/lib/mx_platform_api/models/tag_create_request_body.rb +74 -0
- data/lib/mx_platform_api/models/tag_response.rb +99 -0
- data/lib/mx_platform_api/models/tag_response_body.rb +74 -0
- data/lib/mx_platform_api/models/tag_update_request.rb +72 -0
- data/lib/mx_platform_api/models/tag_update_request_body.rb +74 -0
- data/lib/mx_platform_api/models/tagging_create_request.rb +83 -0
- data/lib/mx_platform_api/models/tagging_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/tagging_response.rb +130 -0
- data/lib/mx_platform_api/models/tagging_response_body.rb +75 -0
- data/lib/mx_platform_api/models/tagging_update_request.rb +73 -0
- data/lib/mx_platform_api/models/tagging_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/taggings_response_body.rb +94 -0
- data/lib/mx_platform_api/models/tags_response_body.rb +94 -0
- data/lib/mx_platform_api/models/token_request_body.rb +75 -0
- data/lib/mx_platform_api/models/token_response.rb +114 -0
- data/lib/mx_platform_api/models/token_response_body.rb +84 -0
- data/lib/mx_platform_api/models/track_type_name.rb +44 -0
- data/lib/mx_platform_api/models/transaction_create_request.rb +192 -0
- data/lib/mx_platform_api/models/transaction_create_request_body.rb +76 -0
- data/lib/mx_platform_api/models/transaction_create_response_body.rb +595 -0
- data/lib/mx_platform_api/models/transaction_includes_response.rb +643 -0
- data/lib/mx_platform_api/models/transaction_response.rb +597 -0
- data/lib/mx_platform_api/models/transaction_response_body.rb +76 -0
- data/lib/mx_platform_api/models/transaction_rule_create_request.rb +98 -0
- data/lib/mx_platform_api/models/transaction_rule_create_request_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rule_response.rb +152 -0
- data/lib/mx_platform_api/models/transaction_rule_response_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rule_update_request.rb +103 -0
- data/lib/mx_platform_api/models/transaction_rule_update_request_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rules_response_body.rb +95 -0
- data/lib/mx_platform_api/models/transaction_type.rb +36 -0
- data/lib/mx_platform_api/models/transaction_update_request.rb +74 -0
- data/lib/mx_platform_api/models/transaction_update_request_body.rb +76 -0
- data/lib/mx_platform_api/models/transactions_response_body.rb +95 -0
- data/lib/mx_platform_api/models/transactions_response_body_includes.rb +95 -0
- data/lib/mx_platform_api/models/type.rb +36 -0
- data/lib/mx_platform_api/models/update_goal_request.rb +185 -0
- data/lib/mx_platform_api/models/update_goal_request_body.rb +74 -0
- data/lib/mx_platform_api/models/use_case.rb +36 -0
- data/lib/mx_platform_api/models/user_create_request.rb +105 -0
- data/lib/mx_platform_api/models/user_create_request_body.rb +74 -0
- data/lib/mx_platform_api/models/user_response.rb +119 -0
- data/lib/mx_platform_api/models/user_response_body.rb +74 -0
- data/lib/mx_platform_api/models/user_update_request.rb +105 -0
- data/lib/mx_platform_api/models/user_update_request_body.rb +74 -0
- data/lib/mx_platform_api/models/users_response_body.rb +94 -0
- data/lib/mx_platform_api/models/users_widget_urls_request.rb +76 -0
- data/lib/mx_platform_api/models/vc_response.rb +77 -0
- data/lib/mx_platform_api/models/widget_request.rb +466 -0
- data/lib/mx_platform_api/models/widget_response.rb +100 -0
- data/lib/mx_platform_api/models/widget_response_body.rb +76 -0
- data/lib/mx_platform_api/models/widget_type.rb +149 -0
- data/lib/mx_platform_api/utilities/date_time_helper.rb +11 -0
- data/lib/mx_platform_api/utilities/file_wrapper.rb +28 -0
- data/lib/mx_platform_api.rb +313 -0
- metadata +370 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# mx_platform_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module MxPlatformApi
|
|
7
|
+
# AccountNumberResponse Model.
|
|
8
|
+
class AccountNumberResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The unique identifier for an account. Defined by MX.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :account_guid
|
|
15
|
+
|
|
16
|
+
# The account number associated with the account. This will typically be a
|
|
17
|
+
# masked or partial account number.
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :account_number
|
|
20
|
+
|
|
21
|
+
# Unique identifier for the account number. Defined by MX.
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :guid
|
|
24
|
+
|
|
25
|
+
# The three-digit number identifying a Canadian banking institution.
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :institution_number
|
|
28
|
+
|
|
29
|
+
# The guarantor of the student loan.
|
|
30
|
+
# @return [String]
|
|
31
|
+
attr_accessor :loan_guarantor
|
|
32
|
+
|
|
33
|
+
# The reference number of the student loan.
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :loan_reference_number
|
|
36
|
+
|
|
37
|
+
# The unique identifier for the member. Defined by MX.
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :member_guid
|
|
40
|
+
|
|
41
|
+
# This indicates whether the account and routing numbers passed MX's
|
|
42
|
+
# internal validity checks. If true, the account and routing/transit numbers
|
|
43
|
+
# are likely (but not guaranteed) to be valid. If false, either the account
|
|
44
|
+
# number, routing/transit number, or both are likely invalid.
|
|
45
|
+
# @return [TrueClass | FalseClass]
|
|
46
|
+
attr_accessor :passed_validation
|
|
47
|
+
|
|
48
|
+
# The routing number for the `account`.
|
|
49
|
+
# @return [String]
|
|
50
|
+
attr_accessor :routing_number
|
|
51
|
+
|
|
52
|
+
# The sequence number of the student loan.
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :sequence_number
|
|
55
|
+
|
|
56
|
+
# The five-digit number identifying the branch of a Canadian financial
|
|
57
|
+
# institution.
|
|
58
|
+
# @return [String]
|
|
59
|
+
attr_accessor :transit_number
|
|
60
|
+
|
|
61
|
+
# The unique identifier for the user. Defined by MX.
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :user_guid
|
|
64
|
+
|
|
65
|
+
# A mapping from model property names to API property names.
|
|
66
|
+
def self.names
|
|
67
|
+
@_hash = {} if @_hash.nil?
|
|
68
|
+
@_hash['account_guid'] = 'account_guid'
|
|
69
|
+
@_hash['account_number'] = 'account_number'
|
|
70
|
+
@_hash['guid'] = 'guid'
|
|
71
|
+
@_hash['institution_number'] = 'institution_number'
|
|
72
|
+
@_hash['loan_guarantor'] = 'loan_guarantor'
|
|
73
|
+
@_hash['loan_reference_number'] = 'loan_reference_number'
|
|
74
|
+
@_hash['member_guid'] = 'member_guid'
|
|
75
|
+
@_hash['passed_validation'] = 'passed_validation'
|
|
76
|
+
@_hash['routing_number'] = 'routing_number'
|
|
77
|
+
@_hash['sequence_number'] = 'sequence_number'
|
|
78
|
+
@_hash['transit_number'] = 'transit_number'
|
|
79
|
+
@_hash['user_guid'] = 'user_guid'
|
|
80
|
+
@_hash
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# An array for optional fields
|
|
84
|
+
def self.optionals
|
|
85
|
+
%w[
|
|
86
|
+
account_guid
|
|
87
|
+
account_number
|
|
88
|
+
guid
|
|
89
|
+
institution_number
|
|
90
|
+
loan_guarantor
|
|
91
|
+
loan_reference_number
|
|
92
|
+
member_guid
|
|
93
|
+
passed_validation
|
|
94
|
+
routing_number
|
|
95
|
+
sequence_number
|
|
96
|
+
transit_number
|
|
97
|
+
user_guid
|
|
98
|
+
]
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# An array for nullable fields
|
|
102
|
+
def self.nullables
|
|
103
|
+
%w[
|
|
104
|
+
account_number
|
|
105
|
+
guid
|
|
106
|
+
institution_number
|
|
107
|
+
loan_guarantor
|
|
108
|
+
loan_reference_number
|
|
109
|
+
member_guid
|
|
110
|
+
passed_validation
|
|
111
|
+
routing_number
|
|
112
|
+
sequence_number
|
|
113
|
+
transit_number
|
|
114
|
+
user_guid
|
|
115
|
+
]
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
def initialize(account_guid: SKIP, account_number: SKIP, guid: SKIP,
|
|
119
|
+
institution_number: SKIP, loan_guarantor: SKIP,
|
|
120
|
+
loan_reference_number: SKIP, member_guid: SKIP,
|
|
121
|
+
passed_validation: SKIP, routing_number: SKIP,
|
|
122
|
+
sequence_number: SKIP, transit_number: SKIP, user_guid: SKIP,
|
|
123
|
+
additional_properties: nil)
|
|
124
|
+
# Add additional model properties to the instance
|
|
125
|
+
additional_properties = {} if additional_properties.nil?
|
|
126
|
+
|
|
127
|
+
@account_guid = account_guid unless account_guid == SKIP
|
|
128
|
+
@account_number = account_number unless account_number == SKIP
|
|
129
|
+
@guid = guid unless guid == SKIP
|
|
130
|
+
@institution_number = institution_number unless institution_number == SKIP
|
|
131
|
+
@loan_guarantor = loan_guarantor unless loan_guarantor == SKIP
|
|
132
|
+
@loan_reference_number = loan_reference_number unless loan_reference_number == SKIP
|
|
133
|
+
@member_guid = member_guid unless member_guid == SKIP
|
|
134
|
+
@passed_validation = passed_validation unless passed_validation == SKIP
|
|
135
|
+
@routing_number = routing_number unless routing_number == SKIP
|
|
136
|
+
@sequence_number = sequence_number unless sequence_number == SKIP
|
|
137
|
+
@transit_number = transit_number unless transit_number == SKIP
|
|
138
|
+
@user_guid = user_guid unless user_guid == SKIP
|
|
139
|
+
@additional_properties = additional_properties
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Creates an instance of the object from a hash.
|
|
143
|
+
def self.from_hash(hash)
|
|
144
|
+
return nil unless hash
|
|
145
|
+
|
|
146
|
+
# Extract variables from the hash.
|
|
147
|
+
account_guid = hash.key?('account_guid') ? hash['account_guid'] : SKIP
|
|
148
|
+
account_number =
|
|
149
|
+
hash.key?('account_number') ? hash['account_number'] : SKIP
|
|
150
|
+
guid = hash.key?('guid') ? hash['guid'] : SKIP
|
|
151
|
+
institution_number =
|
|
152
|
+
hash.key?('institution_number') ? hash['institution_number'] : SKIP
|
|
153
|
+
loan_guarantor =
|
|
154
|
+
hash.key?('loan_guarantor') ? hash['loan_guarantor'] : SKIP
|
|
155
|
+
loan_reference_number =
|
|
156
|
+
hash.key?('loan_reference_number') ? hash['loan_reference_number'] : SKIP
|
|
157
|
+
member_guid = hash.key?('member_guid') ? hash['member_guid'] : SKIP
|
|
158
|
+
passed_validation =
|
|
159
|
+
hash.key?('passed_validation') ? hash['passed_validation'] : SKIP
|
|
160
|
+
routing_number =
|
|
161
|
+
hash.key?('routing_number') ? hash['routing_number'] : SKIP
|
|
162
|
+
sequence_number =
|
|
163
|
+
hash.key?('sequence_number') ? hash['sequence_number'] : SKIP
|
|
164
|
+
transit_number =
|
|
165
|
+
hash.key?('transit_number') ? hash['transit_number'] : SKIP
|
|
166
|
+
user_guid = hash.key?('user_guid') ? hash['user_guid'] : SKIP
|
|
167
|
+
|
|
168
|
+
# Create a new hash for additional properties, removing known properties.
|
|
169
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
170
|
+
|
|
171
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
172
|
+
new_hash, proc { |value| value }
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
# Create object from extracted values.
|
|
176
|
+
AccountNumberResponse.new(account_guid: account_guid,
|
|
177
|
+
account_number: account_number,
|
|
178
|
+
guid: guid,
|
|
179
|
+
institution_number: institution_number,
|
|
180
|
+
loan_guarantor: loan_guarantor,
|
|
181
|
+
loan_reference_number: loan_reference_number,
|
|
182
|
+
member_guid: member_guid,
|
|
183
|
+
passed_validation: passed_validation,
|
|
184
|
+
routing_number: routing_number,
|
|
185
|
+
sequence_number: sequence_number,
|
|
186
|
+
transit_number: transit_number,
|
|
187
|
+
user_guid: user_guid,
|
|
188
|
+
additional_properties: additional_properties)
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Provides a human-readable string representation of the object.
|
|
192
|
+
def to_s
|
|
193
|
+
class_name = self.class.name.split('::').last
|
|
194
|
+
"<#{class_name} account_guid: #{@account_guid}, account_number: #{@account_number}, guid:"\
|
|
195
|
+
" #{@guid}, institution_number: #{@institution_number}, loan_guarantor: #{@loan_guarantor},"\
|
|
196
|
+
" loan_reference_number: #{@loan_reference_number}, member_guid: #{@member_guid},"\
|
|
197
|
+
" passed_validation: #{@passed_validation}, routing_number: #{@routing_number},"\
|
|
198
|
+
" sequence_number: #{@sequence_number}, transit_number: #{@transit_number}, user_guid:"\
|
|
199
|
+
" #{@user_guid}, additional_properties: #{@additional_properties}>"
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
203
|
+
def inspect
|
|
204
|
+
class_name = self.class.name.split('::').last
|
|
205
|
+
"<#{class_name} account_guid: #{@account_guid.inspect}, account_number:"\
|
|
206
|
+
" #{@account_number.inspect}, guid: #{@guid.inspect}, institution_number:"\
|
|
207
|
+
" #{@institution_number.inspect}, loan_guarantor: #{@loan_guarantor.inspect},"\
|
|
208
|
+
" loan_reference_number: #{@loan_reference_number.inspect}, member_guid:"\
|
|
209
|
+
" #{@member_guid.inspect}, passed_validation: #{@passed_validation.inspect}, routing_number:"\
|
|
210
|
+
" #{@routing_number.inspect}, sequence_number: #{@sequence_number.inspect}, transit_number:"\
|
|
211
|
+
" #{@transit_number.inspect}, user_guid: #{@user_guid.inspect}, additional_properties:"\
|
|
212
|
+
" #{@additional_properties}>"
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
end
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# mx_platform_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module MxPlatformApi
|
|
7
|
+
# AccountNumbersResponseBody Model.
|
|
8
|
+
class AccountNumbersResponseBody < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Array[AccountNumberResponse]]
|
|
14
|
+
attr_accessor :account_numbers
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [PaginationResponse]
|
|
18
|
+
attr_accessor :pagination
|
|
19
|
+
|
|
20
|
+
# A mapping from model property names to API property names.
|
|
21
|
+
def self.names
|
|
22
|
+
@_hash = {} if @_hash.nil?
|
|
23
|
+
@_hash['account_numbers'] = 'account_numbers'
|
|
24
|
+
@_hash['pagination'] = 'pagination'
|
|
25
|
+
@_hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# An array for optional fields
|
|
29
|
+
def self.optionals
|
|
30
|
+
%w[
|
|
31
|
+
account_numbers
|
|
32
|
+
pagination
|
|
33
|
+
]
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# An array for nullable fields
|
|
37
|
+
def self.nullables
|
|
38
|
+
[]
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def initialize(account_numbers: SKIP, pagination: SKIP,
|
|
42
|
+
additional_properties: nil)
|
|
43
|
+
# Add additional model properties to the instance
|
|
44
|
+
additional_properties = {} if additional_properties.nil?
|
|
45
|
+
|
|
46
|
+
@account_numbers = account_numbers unless account_numbers == SKIP
|
|
47
|
+
@pagination = pagination unless pagination == SKIP
|
|
48
|
+
@additional_properties = additional_properties
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Creates an instance of the object from a hash.
|
|
52
|
+
def self.from_hash(hash)
|
|
53
|
+
return nil unless hash
|
|
54
|
+
|
|
55
|
+
# Extract variables from the hash.
|
|
56
|
+
# Parameter is an array, so we need to iterate through it
|
|
57
|
+
account_numbers = nil
|
|
58
|
+
unless hash['account_numbers'].nil?
|
|
59
|
+
account_numbers = []
|
|
60
|
+
hash['account_numbers'].each do |structure|
|
|
61
|
+
account_numbers << (AccountNumberResponse.from_hash(structure) if structure)
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
account_numbers = SKIP unless hash.key?('account_numbers')
|
|
66
|
+
pagination = PaginationResponse.from_hash(hash['pagination']) if hash['pagination']
|
|
67
|
+
|
|
68
|
+
# Create a new hash for additional properties, removing known properties.
|
|
69
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
70
|
+
|
|
71
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
72
|
+
new_hash, proc { |value| value }
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
# Create object from extracted values.
|
|
76
|
+
AccountNumbersResponseBody.new(account_numbers: account_numbers,
|
|
77
|
+
pagination: pagination,
|
|
78
|
+
additional_properties: additional_properties)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Provides a human-readable string representation of the object.
|
|
82
|
+
def to_s
|
|
83
|
+
class_name = self.class.name.split('::').last
|
|
84
|
+
"<#{class_name} account_numbers: #{@account_numbers}, pagination: #{@pagination},"\
|
|
85
|
+
" additional_properties: #{@additional_properties}>"
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
89
|
+
def inspect
|
|
90
|
+
class_name = self.class.name.split('::').last
|
|
91
|
+
"<#{class_name} account_numbers: #{@account_numbers.inspect}, pagination:"\
|
|
92
|
+
" #{@pagination.inspect}, additional_properties: #{@additional_properties}>"
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# mx_platform_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module MxPlatformApi
|
|
7
|
+
# AccountOwner Model.
|
|
8
|
+
class AccountOwner < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The unique identifier for an account. Defined by MX.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :account_guid
|
|
15
|
+
|
|
16
|
+
# The unique identifier for the member. Defined by MX.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :member_guid
|
|
19
|
+
|
|
20
|
+
# The unique identifier for the user. Defined by MX.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :user_guid
|
|
23
|
+
|
|
24
|
+
# The unique identifier for an account owner. Defined by MX.
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :guid
|
|
27
|
+
|
|
28
|
+
# The account owner's name.
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :owner_name
|
|
31
|
+
|
|
32
|
+
# The account owner's street address.
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :address
|
|
35
|
+
|
|
36
|
+
# The account owner's city.
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :city
|
|
39
|
+
|
|
40
|
+
# The account owner's state.
|
|
41
|
+
# @return [String]
|
|
42
|
+
attr_accessor :state
|
|
43
|
+
|
|
44
|
+
# The account owner's postal code.
|
|
45
|
+
# @return [String]
|
|
46
|
+
attr_accessor :postal_code
|
|
47
|
+
|
|
48
|
+
# The country name.
|
|
49
|
+
# @return [String]
|
|
50
|
+
attr_accessor :country
|
|
51
|
+
|
|
52
|
+
# The email address associated with the account.
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :email
|
|
55
|
+
|
|
56
|
+
# The phone number associated with the account owner.
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_accessor :phone
|
|
59
|
+
|
|
60
|
+
# A mapping from model property names to API property names.
|
|
61
|
+
def self.names
|
|
62
|
+
@_hash = {} if @_hash.nil?
|
|
63
|
+
@_hash['account_guid'] = 'account_guid'
|
|
64
|
+
@_hash['member_guid'] = 'member_guid'
|
|
65
|
+
@_hash['user_guid'] = 'user_guid'
|
|
66
|
+
@_hash['guid'] = 'guid'
|
|
67
|
+
@_hash['owner_name'] = 'owner_name'
|
|
68
|
+
@_hash['address'] = 'address'
|
|
69
|
+
@_hash['city'] = 'city'
|
|
70
|
+
@_hash['state'] = 'state'
|
|
71
|
+
@_hash['postal_code'] = 'postal_code'
|
|
72
|
+
@_hash['country'] = 'country'
|
|
73
|
+
@_hash['email'] = 'email'
|
|
74
|
+
@_hash['phone'] = 'phone'
|
|
75
|
+
@_hash
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# An array for optional fields
|
|
79
|
+
def self.optionals
|
|
80
|
+
%w[
|
|
81
|
+
account_guid
|
|
82
|
+
member_guid
|
|
83
|
+
user_guid
|
|
84
|
+
guid
|
|
85
|
+
owner_name
|
|
86
|
+
address
|
|
87
|
+
city
|
|
88
|
+
state
|
|
89
|
+
postal_code
|
|
90
|
+
country
|
|
91
|
+
email
|
|
92
|
+
phone
|
|
93
|
+
]
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# An array for nullable fields
|
|
97
|
+
def self.nullables
|
|
98
|
+
%w[
|
|
99
|
+
country
|
|
100
|
+
]
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
def initialize(account_guid: SKIP, member_guid: SKIP, user_guid: SKIP,
|
|
104
|
+
guid: SKIP, owner_name: SKIP, address: SKIP, city: SKIP,
|
|
105
|
+
state: SKIP, postal_code: SKIP, country: SKIP, email: SKIP,
|
|
106
|
+
phone: SKIP, additional_properties: nil)
|
|
107
|
+
# Add additional model properties to the instance
|
|
108
|
+
additional_properties = {} if additional_properties.nil?
|
|
109
|
+
|
|
110
|
+
@account_guid = account_guid unless account_guid == SKIP
|
|
111
|
+
@member_guid = member_guid unless member_guid == SKIP
|
|
112
|
+
@user_guid = user_guid unless user_guid == SKIP
|
|
113
|
+
@guid = guid unless guid == SKIP
|
|
114
|
+
@owner_name = owner_name unless owner_name == SKIP
|
|
115
|
+
@address = address unless address == SKIP
|
|
116
|
+
@city = city unless city == SKIP
|
|
117
|
+
@state = state unless state == SKIP
|
|
118
|
+
@postal_code = postal_code unless postal_code == SKIP
|
|
119
|
+
@country = country unless country == SKIP
|
|
120
|
+
@email = email unless email == SKIP
|
|
121
|
+
@phone = phone unless phone == SKIP
|
|
122
|
+
@additional_properties = additional_properties
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Creates an instance of the object from a hash.
|
|
126
|
+
def self.from_hash(hash)
|
|
127
|
+
return nil unless hash
|
|
128
|
+
|
|
129
|
+
# Extract variables from the hash.
|
|
130
|
+
account_guid = hash.key?('account_guid') ? hash['account_guid'] : SKIP
|
|
131
|
+
member_guid = hash.key?('member_guid') ? hash['member_guid'] : SKIP
|
|
132
|
+
user_guid = hash.key?('user_guid') ? hash['user_guid'] : SKIP
|
|
133
|
+
guid = hash.key?('guid') ? hash['guid'] : SKIP
|
|
134
|
+
owner_name = hash.key?('owner_name') ? hash['owner_name'] : SKIP
|
|
135
|
+
address = hash.key?('address') ? hash['address'] : SKIP
|
|
136
|
+
city = hash.key?('city') ? hash['city'] : SKIP
|
|
137
|
+
state = hash.key?('state') ? hash['state'] : SKIP
|
|
138
|
+
postal_code = hash.key?('postal_code') ? hash['postal_code'] : SKIP
|
|
139
|
+
country = hash.key?('country') ? hash['country'] : SKIP
|
|
140
|
+
email = hash.key?('email') ? hash['email'] : SKIP
|
|
141
|
+
phone = hash.key?('phone') ? hash['phone'] : SKIP
|
|
142
|
+
|
|
143
|
+
# Create a new hash for additional properties, removing known properties.
|
|
144
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
145
|
+
|
|
146
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
147
|
+
new_hash, proc { |value| value }
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
# Create object from extracted values.
|
|
151
|
+
AccountOwner.new(account_guid: account_guid,
|
|
152
|
+
member_guid: member_guid,
|
|
153
|
+
user_guid: user_guid,
|
|
154
|
+
guid: guid,
|
|
155
|
+
owner_name: owner_name,
|
|
156
|
+
address: address,
|
|
157
|
+
city: city,
|
|
158
|
+
state: state,
|
|
159
|
+
postal_code: postal_code,
|
|
160
|
+
country: country,
|
|
161
|
+
email: email,
|
|
162
|
+
phone: phone,
|
|
163
|
+
additional_properties: additional_properties)
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Provides a human-readable string representation of the object.
|
|
167
|
+
def to_s
|
|
168
|
+
class_name = self.class.name.split('::').last
|
|
169
|
+
"<#{class_name} account_guid: #{@account_guid}, member_guid: #{@member_guid}, user_guid:"\
|
|
170
|
+
" #{@user_guid}, guid: #{@guid}, owner_name: #{@owner_name}, address: #{@address}, city:"\
|
|
171
|
+
" #{@city}, state: #{@state}, postal_code: #{@postal_code}, country: #{@country}, email:"\
|
|
172
|
+
" #{@email}, phone: #{@phone}, additional_properties: #{@additional_properties}>"
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
176
|
+
def inspect
|
|
177
|
+
class_name = self.class.name.split('::').last
|
|
178
|
+
"<#{class_name} account_guid: #{@account_guid.inspect}, member_guid:"\
|
|
179
|
+
" #{@member_guid.inspect}, user_guid: #{@user_guid.inspect}, guid: #{@guid.inspect},"\
|
|
180
|
+
" owner_name: #{@owner_name.inspect}, address: #{@address.inspect}, city: #{@city.inspect},"\
|
|
181
|
+
" state: #{@state.inspect}, postal_code: #{@postal_code.inspect}, country:"\
|
|
182
|
+
" #{@country.inspect}, email: #{@email.inspect}, phone: #{@phone.inspect},"\
|
|
183
|
+
" additional_properties: #{@additional_properties}>"
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|