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,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
|
+
# ManagedMemberUpdateRequest Model.
|
|
8
|
+
class ManagedMemberUpdateRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The unique partner-defined identifier for the member.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :id
|
|
15
|
+
|
|
16
|
+
# Additional information you can store about the `member`.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :metadata
|
|
19
|
+
|
|
20
|
+
# The name of the `member`.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :name
|
|
23
|
+
|
|
24
|
+
# A mapping from model property names to API property names.
|
|
25
|
+
def self.names
|
|
26
|
+
@_hash = {} if @_hash.nil?
|
|
27
|
+
@_hash['id'] = 'id'
|
|
28
|
+
@_hash['metadata'] = 'metadata'
|
|
29
|
+
@_hash['name'] = 'name'
|
|
30
|
+
@_hash
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# An array for optional fields
|
|
34
|
+
def self.optionals
|
|
35
|
+
%w[
|
|
36
|
+
id
|
|
37
|
+
metadata
|
|
38
|
+
name
|
|
39
|
+
]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# An array for nullable fields
|
|
43
|
+
def self.nullables
|
|
44
|
+
[]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def initialize(id: SKIP, metadata: SKIP, name: SKIP,
|
|
48
|
+
additional_properties: nil)
|
|
49
|
+
# Add additional model properties to the instance
|
|
50
|
+
additional_properties = {} if additional_properties.nil?
|
|
51
|
+
|
|
52
|
+
@id = id unless id == SKIP
|
|
53
|
+
@metadata = metadata unless metadata == SKIP
|
|
54
|
+
@name = name unless name == SKIP
|
|
55
|
+
@additional_properties = additional_properties
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Creates an instance of the object from a hash.
|
|
59
|
+
def self.from_hash(hash)
|
|
60
|
+
return nil unless hash
|
|
61
|
+
|
|
62
|
+
# Extract variables from the hash.
|
|
63
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
64
|
+
metadata = hash.key?('metadata') ? hash['metadata'] : SKIP
|
|
65
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
66
|
+
|
|
67
|
+
# Create a new hash for additional properties, removing known properties.
|
|
68
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
69
|
+
|
|
70
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
71
|
+
new_hash, proc { |value| value }
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
# Create object from extracted values.
|
|
75
|
+
ManagedMemberUpdateRequest.new(id: id,
|
|
76
|
+
metadata: metadata,
|
|
77
|
+
name: name,
|
|
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} id: #{@id}, metadata: #{@metadata}, name: #{@name}, additional_properties:"\
|
|
85
|
+
" #{@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} id: #{@id.inspect}, metadata: #{@metadata.inspect}, name: #{@name.inspect},"\
|
|
92
|
+
" additional_properties: #{@additional_properties}>"
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
# ManagedMemberUpdateRequestBody Model.
|
|
8
|
+
class ManagedMemberUpdateRequestBody < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [ManagedMemberUpdateRequest]
|
|
14
|
+
attr_accessor :member
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['member'] = 'member'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
member
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(member: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@member = member unless member == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
member = ManagedMemberUpdateRequest.from_hash(hash['member']) if hash['member']
|
|
49
|
+
|
|
50
|
+
# Create a new hash for additional properties, removing known properties.
|
|
51
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
52
|
+
|
|
53
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
54
|
+
new_hash, proc { |value| value }
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Create object from extracted values.
|
|
58
|
+
ManagedMemberUpdateRequestBody.new(member: member,
|
|
59
|
+
additional_properties: additional_properties)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Provides a human-readable string representation of the object.
|
|
63
|
+
def to_s
|
|
64
|
+
class_name = self.class.name.split('::').last
|
|
65
|
+
"<#{class_name} member: #{@member}, additional_properties: #{@additional_properties}>"
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
69
|
+
def inspect
|
|
70
|
+
class_name = self.class.name.split('::').last
|
|
71
|
+
"<#{class_name} member: #{@member.inspect}, additional_properties:"\
|
|
72
|
+
" #{@additional_properties}>"
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,282 @@
|
|
|
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
|
+
# ManagedTransactionCreateRequest Model.
|
|
8
|
+
class ManagedTransactionCreateRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The monetary amount of the `transaction`.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :amount
|
|
15
|
+
|
|
16
|
+
# The category of the `transaction`.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :category
|
|
19
|
+
|
|
20
|
+
# The check number for the `transaction`.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :check_number_string
|
|
23
|
+
|
|
24
|
+
# The three-character ISO 4217 currency code, for example, `USD`.
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :currency_code
|
|
27
|
+
|
|
28
|
+
# A human-readable description of the transaction.
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :description
|
|
31
|
+
|
|
32
|
+
# The unique partner-defined identifier for the `transaction`.
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :id
|
|
35
|
+
|
|
36
|
+
# Indicates whether the transaction is international. If the data provider
|
|
37
|
+
# determines it isn't international then it will be `false`. It will be
|
|
38
|
+
# `null` if the data provider does not have this information.
|
|
39
|
+
# @return [TrueClass | FalseClass]
|
|
40
|
+
attr_accessor :is_international
|
|
41
|
+
|
|
42
|
+
# The latitude of the location where the transaction occurred. The number is
|
|
43
|
+
# a signed decimal (for example, Rio de Janeiro's latitude is -22.9027800
|
|
44
|
+
# and Tokyo's latitude is 35.689488).
|
|
45
|
+
# @return [Float]
|
|
46
|
+
attr_accessor :latitude
|
|
47
|
+
|
|
48
|
+
# A human-readable description of the transaction, provided in a local
|
|
49
|
+
# language.
|
|
50
|
+
# @return [String]
|
|
51
|
+
attr_accessor :localized_description
|
|
52
|
+
|
|
53
|
+
# Additional descriptive information about the transaction, provided in a
|
|
54
|
+
# local language.
|
|
55
|
+
# @return [String]
|
|
56
|
+
attr_accessor :localized_memo
|
|
57
|
+
|
|
58
|
+
# The longitude of the location where the transaction occurred. The number
|
|
59
|
+
# is a signed decimal (for example, Rio de Janeiro's longitude is
|
|
60
|
+
# -43.2075000 and Tokyo's longitude is 139.691706).
|
|
61
|
+
# @return [Float]
|
|
62
|
+
attr_accessor :longitude
|
|
63
|
+
|
|
64
|
+
# A human-readable note about the transaction.
|
|
65
|
+
# @return [String]
|
|
66
|
+
attr_accessor :memo
|
|
67
|
+
|
|
68
|
+
# The ISO 18245 category code for the transaction.
|
|
69
|
+
# @return [Integer]
|
|
70
|
+
attr_accessor :merchant_category_code
|
|
71
|
+
|
|
72
|
+
# The unique identifier for the `merchant`. Defined by MX.
|
|
73
|
+
# @return [String]
|
|
74
|
+
attr_accessor :merchant_guid
|
|
75
|
+
|
|
76
|
+
# The unique identifier for the `merchant_location`. Defined by MX.
|
|
77
|
+
# @return [String]
|
|
78
|
+
attr_accessor :merchant_location_guid
|
|
79
|
+
|
|
80
|
+
# Additional information you can store about the `transaction`.
|
|
81
|
+
# @return [String]
|
|
82
|
+
attr_accessor :metadata
|
|
83
|
+
|
|
84
|
+
# The date and time the transaction was posted to the account.
|
|
85
|
+
# @return [String]
|
|
86
|
+
attr_accessor :posted_at
|
|
87
|
+
|
|
88
|
+
# The status of the transaction. Can be either `POSTED` or `PENDING`.
|
|
89
|
+
# @return [Status]
|
|
90
|
+
attr_accessor :status
|
|
91
|
+
|
|
92
|
+
# The date and time the transaction took place.
|
|
93
|
+
# @return [String]
|
|
94
|
+
attr_accessor :transacted_at
|
|
95
|
+
|
|
96
|
+
# The type of transaction. Can be either `CREDIT` or `DEBIT`.
|
|
97
|
+
# @return [Type]
|
|
98
|
+
attr_accessor :type
|
|
99
|
+
|
|
100
|
+
# A mapping from model property names to API property names.
|
|
101
|
+
def self.names
|
|
102
|
+
@_hash = {} if @_hash.nil?
|
|
103
|
+
@_hash['amount'] = 'amount'
|
|
104
|
+
@_hash['category'] = 'category'
|
|
105
|
+
@_hash['check_number_string'] = 'check_number_string'
|
|
106
|
+
@_hash['currency_code'] = 'currency_code'
|
|
107
|
+
@_hash['description'] = 'description'
|
|
108
|
+
@_hash['id'] = 'id'
|
|
109
|
+
@_hash['is_international'] = 'is_international'
|
|
110
|
+
@_hash['latitude'] = 'latitude'
|
|
111
|
+
@_hash['localized_description'] = 'localized_description'
|
|
112
|
+
@_hash['localized_memo'] = 'localized_memo'
|
|
113
|
+
@_hash['longitude'] = 'longitude'
|
|
114
|
+
@_hash['memo'] = 'memo'
|
|
115
|
+
@_hash['merchant_category_code'] = 'merchant_category_code'
|
|
116
|
+
@_hash['merchant_guid'] = 'merchant_guid'
|
|
117
|
+
@_hash['merchant_location_guid'] = 'merchant_location_guid'
|
|
118
|
+
@_hash['metadata'] = 'metadata'
|
|
119
|
+
@_hash['posted_at'] = 'posted_at'
|
|
120
|
+
@_hash['status'] = 'status'
|
|
121
|
+
@_hash['transacted_at'] = 'transacted_at'
|
|
122
|
+
@_hash['type'] = 'type'
|
|
123
|
+
@_hash
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# An array for optional fields
|
|
127
|
+
def self.optionals
|
|
128
|
+
%w[
|
|
129
|
+
category
|
|
130
|
+
check_number_string
|
|
131
|
+
currency_code
|
|
132
|
+
id
|
|
133
|
+
is_international
|
|
134
|
+
latitude
|
|
135
|
+
localized_description
|
|
136
|
+
localized_memo
|
|
137
|
+
longitude
|
|
138
|
+
memo
|
|
139
|
+
merchant_category_code
|
|
140
|
+
merchant_guid
|
|
141
|
+
merchant_location_guid
|
|
142
|
+
metadata
|
|
143
|
+
]
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# An array for nullable fields
|
|
147
|
+
def self.nullables
|
|
148
|
+
%w[
|
|
149
|
+
category
|
|
150
|
+
check_number_string
|
|
151
|
+
currency_code
|
|
152
|
+
]
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
def initialize(amount:, description:, posted_at:, status:, transacted_at:,
|
|
156
|
+
type:, category: SKIP, check_number_string: SKIP,
|
|
157
|
+
currency_code: SKIP, id: SKIP, is_international: SKIP,
|
|
158
|
+
latitude: SKIP, localized_description: SKIP,
|
|
159
|
+
localized_memo: SKIP, longitude: SKIP, memo: SKIP,
|
|
160
|
+
merchant_category_code: SKIP, merchant_guid: SKIP,
|
|
161
|
+
merchant_location_guid: SKIP, metadata: SKIP,
|
|
162
|
+
additional_properties: nil)
|
|
163
|
+
# Add additional model properties to the instance
|
|
164
|
+
additional_properties = {} if additional_properties.nil?
|
|
165
|
+
|
|
166
|
+
@amount = amount
|
|
167
|
+
@category = category unless category == SKIP
|
|
168
|
+
@check_number_string = check_number_string unless check_number_string == SKIP
|
|
169
|
+
@currency_code = currency_code unless currency_code == SKIP
|
|
170
|
+
@description = description
|
|
171
|
+
@id = id unless id == SKIP
|
|
172
|
+
@is_international = is_international unless is_international == SKIP
|
|
173
|
+
@latitude = latitude unless latitude == SKIP
|
|
174
|
+
@localized_description = localized_description unless localized_description == SKIP
|
|
175
|
+
@localized_memo = localized_memo unless localized_memo == SKIP
|
|
176
|
+
@longitude = longitude unless longitude == SKIP
|
|
177
|
+
@memo = memo unless memo == SKIP
|
|
178
|
+
@merchant_category_code = merchant_category_code unless merchant_category_code == SKIP
|
|
179
|
+
@merchant_guid = merchant_guid unless merchant_guid == SKIP
|
|
180
|
+
@merchant_location_guid = merchant_location_guid unless merchant_location_guid == SKIP
|
|
181
|
+
@metadata = metadata unless metadata == SKIP
|
|
182
|
+
@posted_at = posted_at
|
|
183
|
+
@status = status
|
|
184
|
+
@transacted_at = transacted_at
|
|
185
|
+
@type = type
|
|
186
|
+
@additional_properties = additional_properties
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Creates an instance of the object from a hash.
|
|
190
|
+
def self.from_hash(hash)
|
|
191
|
+
return nil unless hash
|
|
192
|
+
|
|
193
|
+
# Extract variables from the hash.
|
|
194
|
+
amount = hash.key?('amount') ? hash['amount'] : nil
|
|
195
|
+
description = hash.key?('description') ? hash['description'] : nil
|
|
196
|
+
posted_at = hash.key?('posted_at') ? hash['posted_at'] : nil
|
|
197
|
+
status = hash.key?('status') ? hash['status'] : nil
|
|
198
|
+
transacted_at = hash.key?('transacted_at') ? hash['transacted_at'] : nil
|
|
199
|
+
type = hash.key?('type') ? hash['type'] : nil
|
|
200
|
+
category = hash.key?('category') ? hash['category'] : SKIP
|
|
201
|
+
check_number_string =
|
|
202
|
+
hash.key?('check_number_string') ? hash['check_number_string'] : SKIP
|
|
203
|
+
currency_code = hash.key?('currency_code') ? hash['currency_code'] : SKIP
|
|
204
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
205
|
+
is_international =
|
|
206
|
+
hash.key?('is_international') ? hash['is_international'] : SKIP
|
|
207
|
+
latitude = hash.key?('latitude') ? hash['latitude'] : SKIP
|
|
208
|
+
localized_description =
|
|
209
|
+
hash.key?('localized_description') ? hash['localized_description'] : SKIP
|
|
210
|
+
localized_memo =
|
|
211
|
+
hash.key?('localized_memo') ? hash['localized_memo'] : SKIP
|
|
212
|
+
longitude = hash.key?('longitude') ? hash['longitude'] : SKIP
|
|
213
|
+
memo = hash.key?('memo') ? hash['memo'] : SKIP
|
|
214
|
+
merchant_category_code =
|
|
215
|
+
hash.key?('merchant_category_code') ? hash['merchant_category_code'] : SKIP
|
|
216
|
+
merchant_guid = hash.key?('merchant_guid') ? hash['merchant_guid'] : SKIP
|
|
217
|
+
merchant_location_guid =
|
|
218
|
+
hash.key?('merchant_location_guid') ? hash['merchant_location_guid'] : SKIP
|
|
219
|
+
metadata = hash.key?('metadata') ? hash['metadata'] : SKIP
|
|
220
|
+
|
|
221
|
+
# Create a new hash for additional properties, removing known properties.
|
|
222
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
223
|
+
|
|
224
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
225
|
+
new_hash, proc { |value| value }
|
|
226
|
+
)
|
|
227
|
+
|
|
228
|
+
# Create object from extracted values.
|
|
229
|
+
ManagedTransactionCreateRequest.new(amount: amount,
|
|
230
|
+
description: description,
|
|
231
|
+
posted_at: posted_at,
|
|
232
|
+
status: status,
|
|
233
|
+
transacted_at: transacted_at,
|
|
234
|
+
type: type,
|
|
235
|
+
category: category,
|
|
236
|
+
check_number_string: check_number_string,
|
|
237
|
+
currency_code: currency_code,
|
|
238
|
+
id: id,
|
|
239
|
+
is_international: is_international,
|
|
240
|
+
latitude: latitude,
|
|
241
|
+
localized_description: localized_description,
|
|
242
|
+
localized_memo: localized_memo,
|
|
243
|
+
longitude: longitude,
|
|
244
|
+
memo: memo,
|
|
245
|
+
merchant_category_code: merchant_category_code,
|
|
246
|
+
merchant_guid: merchant_guid,
|
|
247
|
+
merchant_location_guid: merchant_location_guid,
|
|
248
|
+
metadata: metadata,
|
|
249
|
+
additional_properties: additional_properties)
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Provides a human-readable string representation of the object.
|
|
253
|
+
def to_s
|
|
254
|
+
class_name = self.class.name.split('::').last
|
|
255
|
+
"<#{class_name} amount: #{@amount}, category: #{@category}, check_number_string:"\
|
|
256
|
+
" #{@check_number_string}, currency_code: #{@currency_code}, description: #{@description},"\
|
|
257
|
+
" id: #{@id}, is_international: #{@is_international}, latitude: #{@latitude},"\
|
|
258
|
+
" localized_description: #{@localized_description}, localized_memo: #{@localized_memo},"\
|
|
259
|
+
" longitude: #{@longitude}, memo: #{@memo}, merchant_category_code:"\
|
|
260
|
+
" #{@merchant_category_code}, merchant_guid: #{@merchant_guid}, merchant_location_guid:"\
|
|
261
|
+
" #{@merchant_location_guid}, metadata: #{@metadata}, posted_at: #{@posted_at}, status:"\
|
|
262
|
+
" #{@status}, transacted_at: #{@transacted_at}, type: #{@type}, additional_properties:"\
|
|
263
|
+
" #{@additional_properties}>"
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
267
|
+
def inspect
|
|
268
|
+
class_name = self.class.name.split('::').last
|
|
269
|
+
"<#{class_name} amount: #{@amount.inspect}, category: #{@category.inspect},"\
|
|
270
|
+
" check_number_string: #{@check_number_string.inspect}, currency_code:"\
|
|
271
|
+
" #{@currency_code.inspect}, description: #{@description.inspect}, id: #{@id.inspect},"\
|
|
272
|
+
" is_international: #{@is_international.inspect}, latitude: #{@latitude.inspect},"\
|
|
273
|
+
" localized_description: #{@localized_description.inspect}, localized_memo:"\
|
|
274
|
+
" #{@localized_memo.inspect}, longitude: #{@longitude.inspect}, memo: #{@memo.inspect},"\
|
|
275
|
+
" merchant_category_code: #{@merchant_category_code.inspect}, merchant_guid:"\
|
|
276
|
+
" #{@merchant_guid.inspect}, merchant_location_guid: #{@merchant_location_guid.inspect},"\
|
|
277
|
+
" metadata: #{@metadata.inspect}, posted_at: #{@posted_at.inspect}, status:"\
|
|
278
|
+
" #{@status.inspect}, transacted_at: #{@transacted_at.inspect}, type: #{@type.inspect},"\
|
|
279
|
+
" additional_properties: #{@additional_properties}>"
|
|
280
|
+
end
|
|
281
|
+
end
|
|
282
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
# ManagedTransactionCreateRequestBody Model.
|
|
8
|
+
class ManagedTransactionCreateRequestBody < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [ManagedTransactionCreateRequest]
|
|
14
|
+
attr_accessor :transaction
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['transaction'] = 'transaction'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
transaction
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(transaction: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@transaction = transaction unless transaction == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
transaction = ManagedTransactionCreateRequest.from_hash(hash['transaction']) if
|
|
49
|
+
hash['transaction']
|
|
50
|
+
|
|
51
|
+
# Create a new hash for additional properties, removing known properties.
|
|
52
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
53
|
+
|
|
54
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
55
|
+
new_hash, proc { |value| value }
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
# Create object from extracted values.
|
|
59
|
+
ManagedTransactionCreateRequestBody.new(transaction: transaction,
|
|
60
|
+
additional_properties: additional_properties)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Provides a human-readable string representation of the object.
|
|
64
|
+
def to_s
|
|
65
|
+
class_name = self.class.name.split('::').last
|
|
66
|
+
"<#{class_name} transaction: #{@transaction}, additional_properties:"\
|
|
67
|
+
" #{@additional_properties}>"
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
71
|
+
def inspect
|
|
72
|
+
class_name = self.class.name.split('::').last
|
|
73
|
+
"<#{class_name} transaction: #{@transaction.inspect}, additional_properties:"\
|
|
74
|
+
" #{@additional_properties}>"
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|