mx-platform-ruby 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -6
- data/LICENSE +1 -1
- data/README.md +30 -19
- data/docs/EnhanceTransactionResponse.md +19 -5
- data/docs/EnhanceTransactionsRequest.md +6 -2
- data/docs/MxPlatformApi.md +159 -11
- data/docs/TransactionResponse.md +4 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +241 -37
- data/lib/mx-platform-ruby/api_client.rb +7 -9
- data/lib/mx-platform-ruby/api_error.rb +1 -1
- data/lib/mx-platform-ruby/configuration.rb +35 -2
- data/lib/mx-platform-ruby/models/account_number_response.rb +5 -1
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_owner_response.rb +9 -1
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_response.rb +45 -1
- data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/categories_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_response.rb +7 -1
- data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/challenge_response.rb +5 -1
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -1
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/credential_request.rb +2 -1
- data/lib/mx-platform-ruby/models/credential_response.rb +4 -1
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +87 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +20 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holding_response.rb +15 -1
- data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holdings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/image_option_response.rb +4 -1
- data/lib/mx-platform-ruby/models/institution_response.rb +11 -1
- data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_response.rb +13 -1
- data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_status_response.rb +8 -1
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/members_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +11 -1
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_response.rb +6 -1
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/option_response.rb +3 -1
- data/lib/mx-platform-ruby/models/pagination_response.rb +1 -1
- data/lib/mx-platform-ruby/models/statement_response.rb +5 -1
- data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/statements_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_response.rb +2 -1
- data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_response.rb +2 -1
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tags_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_response.rb +57 -2
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +5 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +3 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_response.rb +5 -1
- data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/users_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_response.rb +4 -1
- data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/version.rb +2 -2
- data/lib/mx-platform-ruby.rb +1 -1
- data/mx-platform-ruby.gemspec +1 -1
- data/openapi/config.yml +1 -1
- data/openapi/templates/README.mustache +30 -21
- data/spec/api/mx_platform_api_spec.rb +30 -4
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_number_response_spec.rb +1 -1
- data/spec/models/account_numbers_response_body_spec.rb +1 -1
- data/spec/models/account_owner_response_spec.rb +1 -1
- data/spec/models/account_owners_response_body_spec.rb +1 -1
- data/spec/models/account_response_body_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -1
- data/spec/models/account_update_request_body_spec.rb +1 -1
- data/spec/models/account_update_request_spec.rb +1 -1
- data/spec/models/accounts_response_body_spec.rb +1 -1
- data/spec/models/categories_response_body_spec.rb +1 -1
- data/spec/models/category_create_request_body_spec.rb +1 -1
- data/spec/models/category_create_request_spec.rb +1 -1
- data/spec/models/category_response_body_spec.rb +1 -1
- data/spec/models/category_response_spec.rb +1 -1
- data/spec/models/category_update_request_body_spec.rb +1 -1
- data/spec/models/category_update_request_spec.rb +1 -1
- data/spec/models/challenge_response_spec.rb +1 -1
- data/spec/models/challenges_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_spec.rb +1 -1
- data/spec/models/connect_widget_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_response_spec.rb +1 -1
- data/spec/models/credential_request_spec.rb +1 -1
- data/spec/models/credential_response_spec.rb +1 -1
- data/spec/models/credentials_response_body_spec.rb +1 -1
- data/spec/models/enhance_transaction_response_spec.rb +43 -1
- data/spec/models/enhance_transactions_request_body_spec.rb +1 -1
- data/spec/models/enhance_transactions_request_spec.rb +13 -1
- data/spec/models/enhance_transactions_response_body_spec.rb +1 -1
- data/spec/models/holding_response_body_spec.rb +1 -1
- data/spec/models/holding_response_spec.rb +1 -1
- data/spec/models/holdings_response_body_spec.rb +1 -1
- data/spec/models/image_option_response_spec.rb +1 -1
- data/spec/models/institution_response_body_spec.rb +1 -1
- data/spec/models/institution_response_spec.rb +1 -1
- data/spec/models/institutions_response_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_spec.rb +1 -1
- data/spec/models/managed_account_update_request_body_spec.rb +1 -1
- data/spec/models/managed_account_update_request_spec.rb +1 -1
- data/spec/models/managed_member_create_request_body_spec.rb +1 -1
- data/spec/models/managed_member_create_request_spec.rb +1 -1
- data/spec/models/managed_member_update_request_body_spec.rb +1 -1
- data/spec/models/managed_member_update_request_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_spec.rb +1 -1
- data/spec/models/member_create_request_body_spec.rb +1 -1
- data/spec/models/member_create_request_spec.rb +1 -1
- data/spec/models/member_response_body_spec.rb +1 -1
- data/spec/models/member_response_spec.rb +1 -1
- data/spec/models/member_resume_request_body_spec.rb +1 -1
- data/spec/models/member_resume_request_spec.rb +1 -1
- data/spec/models/member_status_response_body_spec.rb +1 -1
- data/spec/models/member_status_response_spec.rb +1 -1
- data/spec/models/member_update_request_body_spec.rb +1 -1
- data/spec/models/member_update_request_spec.rb +1 -1
- data/spec/models/members_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_spec.rb +1 -1
- data/spec/models/merchant_response_body_spec.rb +1 -1
- data/spec/models/merchant_response_spec.rb +1 -1
- data/spec/models/merchants_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_spec.rb +1 -1
- data/spec/models/option_response_spec.rb +1 -1
- data/spec/models/pagination_response_spec.rb +1 -1
- data/spec/models/statement_response_body_spec.rb +1 -1
- data/spec/models/statement_response_spec.rb +1 -1
- data/spec/models/statements_response_body_spec.rb +1 -1
- data/spec/models/tag_create_request_body_spec.rb +1 -1
- data/spec/models/tag_create_request_spec.rb +1 -1
- data/spec/models/tag_response_body_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/models/tag_update_request_body_spec.rb +1 -1
- data/spec/models/tag_update_request_spec.rb +1 -1
- data/spec/models/tagging_create_request_body_spec.rb +1 -1
- data/spec/models/tagging_create_request_spec.rb +1 -1
- data/spec/models/tagging_response_body_spec.rb +1 -1
- data/spec/models/tagging_response_spec.rb +1 -1
- data/spec/models/tagging_update_request_body_spec.rb +1 -1
- data/spec/models/tagging_update_request_spec.rb +1 -1
- data/spec/models/taggings_response_body_spec.rb +1 -1
- data/spec/models/tags_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_spec.rb +13 -1
- data/spec/models/transaction_rule_create_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_create_request_spec.rb +1 -1
- data/spec/models/transaction_rule_response_body_spec.rb +1 -1
- data/spec/models/transaction_rule_response_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_spec.rb +1 -1
- data/spec/models/transaction_rules_response_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_spec.rb +1 -1
- data/spec/models/transactions_response_body_spec.rb +1 -1
- data/spec/models/user_create_request_body_spec.rb +1 -1
- data/spec/models/user_create_request_spec.rb +1 -1
- data/spec/models/user_response_body_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/user_update_request_body_spec.rb +1 -1
- data/spec/models/user_update_request_spec.rb +1 -1
- data/spec/models/users_response_body_spec.rb +1 -1
- data/spec/models/widget_request_body_spec.rb +1 -1
- data/spec/models/widget_request_spec.rb +1 -1
- data/spec/models/widget_response_body_spec.rb +1 -1
- data/spec/models/widget_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +94 -94
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -83,6 +83,14 @@ module MxPlatformRuby
|
|
83
83
|
# List of attributes with nullable: true
|
84
84
|
def self.openapi_nullable
|
85
85
|
Set.new([
|
86
|
+
:'address',
|
87
|
+
:'city',
|
88
|
+
:'country',
|
89
|
+
:'email',
|
90
|
+
:'owner_name',
|
91
|
+
:'phone',
|
92
|
+
:'postal_code',
|
93
|
+
:'state',
|
86
94
|
])
|
87
95
|
end
|
88
96
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -223,6 +223,50 @@ module MxPlatformRuby
|
|
223
223
|
# List of attributes with nullable: true
|
224
224
|
def self.openapi_nullable
|
225
225
|
Set.new([
|
226
|
+
:'account_number',
|
227
|
+
:'apr',
|
228
|
+
:'apy',
|
229
|
+
:'available_balance',
|
230
|
+
:'available_credit',
|
231
|
+
:'balance',
|
232
|
+
:'cash_balance',
|
233
|
+
:'cash_surrender_value',
|
234
|
+
:'created_at',
|
235
|
+
:'credit_limit',
|
236
|
+
:'currency_code',
|
237
|
+
:'day_payment_is_due',
|
238
|
+
:'death_benefit',
|
239
|
+
:'holdings_value',
|
240
|
+
:'id',
|
241
|
+
:'imported_at',
|
242
|
+
:'institution_code',
|
243
|
+
:'insured_name',
|
244
|
+
:'interest_rate',
|
245
|
+
:'is_closed',
|
246
|
+
:'is_hidden',
|
247
|
+
:'last_payment',
|
248
|
+
:'last_payment_at',
|
249
|
+
:'loan_amount',
|
250
|
+
:'matures_on',
|
251
|
+
:'member_id',
|
252
|
+
:'member_is_managed_by_user',
|
253
|
+
:'metadata',
|
254
|
+
:'minimum_balance',
|
255
|
+
:'minimum_payment',
|
256
|
+
:'name',
|
257
|
+
:'nickname',
|
258
|
+
:'original_balance',
|
259
|
+
:'pay_out_amount',
|
260
|
+
:'payment_due_at',
|
261
|
+
:'payoff_balance',
|
262
|
+
:'premium_amount',
|
263
|
+
:'routing_number',
|
264
|
+
:'started_on',
|
265
|
+
:'subtype',
|
266
|
+
:'total_account_value',
|
267
|
+
:'type',
|
268
|
+
:'updated_at',
|
269
|
+
:'user_id'
|
226
270
|
])
|
227
271
|
end
|
228
272
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -67,6 +67,12 @@ module MxPlatformRuby
|
|
67
67
|
# List of attributes with nullable: true
|
68
68
|
def self.openapi_nullable
|
69
69
|
Set.new([
|
70
|
+
:'created_at',
|
71
|
+
:'is_default',
|
72
|
+
:'is_income',
|
73
|
+
:'metadata',
|
74
|
+
:'name',
|
75
|
+
:'updated_at'
|
70
76
|
])
|
71
77
|
end
|
72
78
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -63,6 +63,10 @@ module MxPlatformRuby
|
|
63
63
|
# List of attributes with nullable: true
|
64
64
|
def self.openapi_nullable
|
65
65
|
Set.new([
|
66
|
+
:'field_name',
|
67
|
+
:'image_data',
|
68
|
+
:'label',
|
69
|
+
:'type'
|
66
70
|
])
|
67
71
|
end
|
68
72
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,6 +43,7 @@ module MxPlatformRuby
|
|
43
43
|
# List of attributes with nullable: true
|
44
44
|
def self.openapi_nullable
|
45
45
|
Set.new([
|
46
|
+
:'connect_widget_url',
|
46
47
|
])
|
47
48
|
end
|
48
49
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,6 +43,7 @@ module MxPlatformRuby
|
|
43
43
|
# List of attributes with nullable: true
|
44
44
|
def self.openapi_nullable
|
45
45
|
Set.new([
|
46
|
+
:'value'
|
46
47
|
])
|
47
48
|
end
|
48
49
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -55,6 +55,9 @@ module MxPlatformRuby
|
|
55
55
|
# List of attributes with nullable: true
|
56
56
|
def self.openapi_nullable
|
57
57
|
Set.new([
|
58
|
+
:'display_order',
|
59
|
+
:'field_name',
|
60
|
+
:'field_type',
|
58
61
|
])
|
59
62
|
end
|
60
63
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,10 +17,18 @@ module MxPlatformRuby
|
|
17
17
|
class EnhanceTransactionResponse
|
18
18
|
attr_accessor :amount
|
19
19
|
|
20
|
+
attr_accessor :categorized_by
|
21
|
+
|
20
22
|
attr_accessor :category
|
21
23
|
|
24
|
+
attr_accessor :category_guid
|
25
|
+
|
26
|
+
attr_accessor :described_by
|
27
|
+
|
22
28
|
attr_accessor :description
|
23
29
|
|
30
|
+
attr_accessor :extended_transaction_type
|
31
|
+
|
24
32
|
attr_accessor :id
|
25
33
|
|
26
34
|
attr_accessor :is_bill_pay
|
@@ -39,10 +47,16 @@ module MxPlatformRuby
|
|
39
47
|
|
40
48
|
attr_accessor :is_payroll_advance
|
41
49
|
|
50
|
+
attr_accessor :is_subscription
|
51
|
+
|
52
|
+
attr_accessor :memo
|
53
|
+
|
42
54
|
attr_accessor :merchant_category_code
|
43
55
|
|
44
56
|
attr_accessor :merchant_guid
|
45
57
|
|
58
|
+
attr_accessor :merchant_location_guid
|
59
|
+
|
46
60
|
attr_accessor :original_description
|
47
61
|
|
48
62
|
attr_accessor :type
|
@@ -51,8 +65,12 @@ module MxPlatformRuby
|
|
51
65
|
def self.attribute_map
|
52
66
|
{
|
53
67
|
:'amount' => :'amount',
|
68
|
+
:'categorized_by' => :'categorized_by',
|
54
69
|
:'category' => :'category',
|
70
|
+
:'category_guid' => :'category_guid',
|
71
|
+
:'described_by' => :'described_by',
|
55
72
|
:'description' => :'description',
|
73
|
+
:'extended_transaction_type' => :'extended_transaction_type',
|
56
74
|
:'id' => :'id',
|
57
75
|
:'is_bill_pay' => :'is_bill_pay',
|
58
76
|
:'is_direct_deposit' => :'is_direct_deposit',
|
@@ -62,8 +80,11 @@ module MxPlatformRuby
|
|
62
80
|
:'is_international' => :'is_international',
|
63
81
|
:'is_overdraft_fee' => :'is_overdraft_fee',
|
64
82
|
:'is_payroll_advance' => :'is_payroll_advance',
|
83
|
+
:'is_subscription' => :'is_subscription',
|
84
|
+
:'memo' => :'memo',
|
65
85
|
:'merchant_category_code' => :'merchant_category_code',
|
66
86
|
:'merchant_guid' => :'merchant_guid',
|
87
|
+
:'merchant_location_guid' => :'merchant_location_guid',
|
67
88
|
:'original_description' => :'original_description',
|
68
89
|
:'type' => :'type'
|
69
90
|
}
|
@@ -78,8 +99,12 @@ module MxPlatformRuby
|
|
78
99
|
def self.openapi_types
|
79
100
|
{
|
80
101
|
:'amount' => :'Float',
|
102
|
+
:'categorized_by' => :'Integer',
|
81
103
|
:'category' => :'String',
|
104
|
+
:'category_guid' => :'String',
|
105
|
+
:'described_by' => :'Integer',
|
82
106
|
:'description' => :'String',
|
107
|
+
:'extended_transaction_type' => :'String',
|
83
108
|
:'id' => :'String',
|
84
109
|
:'is_bill_pay' => :'Boolean',
|
85
110
|
:'is_direct_deposit' => :'Boolean',
|
@@ -89,8 +114,11 @@ module MxPlatformRuby
|
|
89
114
|
:'is_international' => :'Boolean',
|
90
115
|
:'is_overdraft_fee' => :'Boolean',
|
91
116
|
:'is_payroll_advance' => :'Boolean',
|
117
|
+
:'is_subscription' => :'Boolean',
|
118
|
+
:'memo' => :'String',
|
92
119
|
:'merchant_category_code' => :'Integer',
|
93
120
|
:'merchant_guid' => :'String',
|
121
|
+
:'merchant_location_guid' => :'String',
|
94
122
|
:'original_description' => :'String',
|
95
123
|
:'type' => :'String'
|
96
124
|
}
|
@@ -99,6 +127,28 @@ module MxPlatformRuby
|
|
99
127
|
# List of attributes with nullable: true
|
100
128
|
def self.openapi_nullable
|
101
129
|
Set.new([
|
130
|
+
:'amount',
|
131
|
+
:'categorized_by',
|
132
|
+
:'category',
|
133
|
+
:'category_guid',
|
134
|
+
:'described_by',
|
135
|
+
:'description',
|
136
|
+
:'extended_transaction_type',
|
137
|
+
:'id',
|
138
|
+
:'is_bill_pay',
|
139
|
+
:'is_direct_deposit',
|
140
|
+
:'is_expense',
|
141
|
+
:'is_fee',
|
142
|
+
:'is_income',
|
143
|
+
:'is_international',
|
144
|
+
:'is_overdraft_fee',
|
145
|
+
:'is_payroll_advance',
|
146
|
+
:'is_subscription',
|
147
|
+
:'memo',
|
148
|
+
:'merchant_category_code',
|
149
|
+
:'merchant_location_guid',
|
150
|
+
:'original_description',
|
151
|
+
:'type'
|
102
152
|
])
|
103
153
|
end
|
104
154
|
|
@@ -121,14 +171,30 @@ module MxPlatformRuby
|
|
121
171
|
self.amount = attributes[:'amount']
|
122
172
|
end
|
123
173
|
|
174
|
+
if attributes.key?(:'categorized_by')
|
175
|
+
self.categorized_by = attributes[:'categorized_by']
|
176
|
+
end
|
177
|
+
|
124
178
|
if attributes.key?(:'category')
|
125
179
|
self.category = attributes[:'category']
|
126
180
|
end
|
127
181
|
|
182
|
+
if attributes.key?(:'category_guid')
|
183
|
+
self.category_guid = attributes[:'category_guid']
|
184
|
+
end
|
185
|
+
|
186
|
+
if attributes.key?(:'described_by')
|
187
|
+
self.described_by = attributes[:'described_by']
|
188
|
+
end
|
189
|
+
|
128
190
|
if attributes.key?(:'description')
|
129
191
|
self.description = attributes[:'description']
|
130
192
|
end
|
131
193
|
|
194
|
+
if attributes.key?(:'extended_transaction_type')
|
195
|
+
self.extended_transaction_type = attributes[:'extended_transaction_type']
|
196
|
+
end
|
197
|
+
|
132
198
|
if attributes.key?(:'id')
|
133
199
|
self.id = attributes[:'id']
|
134
200
|
end
|
@@ -165,6 +231,14 @@ module MxPlatformRuby
|
|
165
231
|
self.is_payroll_advance = attributes[:'is_payroll_advance']
|
166
232
|
end
|
167
233
|
|
234
|
+
if attributes.key?(:'is_subscription')
|
235
|
+
self.is_subscription = attributes[:'is_subscription']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.key?(:'memo')
|
239
|
+
self.memo = attributes[:'memo']
|
240
|
+
end
|
241
|
+
|
168
242
|
if attributes.key?(:'merchant_category_code')
|
169
243
|
self.merchant_category_code = attributes[:'merchant_category_code']
|
170
244
|
end
|
@@ -173,6 +247,10 @@ module MxPlatformRuby
|
|
173
247
|
self.merchant_guid = attributes[:'merchant_guid']
|
174
248
|
end
|
175
249
|
|
250
|
+
if attributes.key?(:'merchant_location_guid')
|
251
|
+
self.merchant_location_guid = attributes[:'merchant_location_guid']
|
252
|
+
end
|
253
|
+
|
176
254
|
if attributes.key?(:'original_description')
|
177
255
|
self.original_description = attributes[:'original_description']
|
178
256
|
end
|
@@ -201,8 +279,12 @@ module MxPlatformRuby
|
|
201
279
|
return true if self.equal?(o)
|
202
280
|
self.class == o.class &&
|
203
281
|
amount == o.amount &&
|
282
|
+
categorized_by == o.categorized_by &&
|
204
283
|
category == o.category &&
|
284
|
+
category_guid == o.category_guid &&
|
285
|
+
described_by == o.described_by &&
|
205
286
|
description == o.description &&
|
287
|
+
extended_transaction_type == o.extended_transaction_type &&
|
206
288
|
id == o.id &&
|
207
289
|
is_bill_pay == o.is_bill_pay &&
|
208
290
|
is_direct_deposit == o.is_direct_deposit &&
|
@@ -212,8 +294,11 @@ module MxPlatformRuby
|
|
212
294
|
is_international == o.is_international &&
|
213
295
|
is_overdraft_fee == o.is_overdraft_fee &&
|
214
296
|
is_payroll_advance == o.is_payroll_advance &&
|
297
|
+
is_subscription == o.is_subscription &&
|
298
|
+
memo == o.memo &&
|
215
299
|
merchant_category_code == o.merchant_category_code &&
|
216
300
|
merchant_guid == o.merchant_guid &&
|
301
|
+
merchant_location_guid == o.merchant_location_guid &&
|
217
302
|
original_description == o.original_description &&
|
218
303
|
type == o.type
|
219
304
|
end
|
@@ -227,7 +312,7 @@ module MxPlatformRuby
|
|
227
312
|
# Calculates hash code according to all attributes.
|
228
313
|
# @return [Integer] Hash code
|
229
314
|
def hash
|
230
|
-
[amount, category, description, id, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, merchant_category_code, merchant_guid, original_description, type].hash
|
315
|
+
[amount, categorized_by, category, category_guid, described_by, description, extended_transaction_type, id, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_subscription, memo, merchant_category_code, merchant_guid, merchant_location_guid, original_description, type].hash
|
231
316
|
end
|
232
317
|
|
233
318
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,8 +19,12 @@ module MxPlatformRuby
|
|
19
19
|
|
20
20
|
attr_accessor :description
|
21
21
|
|
22
|
+
attr_accessor :extended_transaction_type
|
23
|
+
|
22
24
|
attr_accessor :id
|
23
25
|
|
26
|
+
attr_accessor :memo
|
27
|
+
|
24
28
|
attr_accessor :merchant_category_code
|
25
29
|
|
26
30
|
attr_accessor :type
|
@@ -30,7 +34,9 @@ module MxPlatformRuby
|
|
30
34
|
{
|
31
35
|
:'amount' => :'amount',
|
32
36
|
:'description' => :'description',
|
37
|
+
:'extended_transaction_type' => :'extended_transaction_type',
|
33
38
|
:'id' => :'id',
|
39
|
+
:'memo' => :'memo',
|
34
40
|
:'merchant_category_code' => :'merchant_category_code',
|
35
41
|
:'type' => :'type'
|
36
42
|
}
|
@@ -46,7 +52,9 @@ module MxPlatformRuby
|
|
46
52
|
{
|
47
53
|
:'amount' => :'Float',
|
48
54
|
:'description' => :'String',
|
55
|
+
:'extended_transaction_type' => :'String',
|
49
56
|
:'id' => :'String',
|
57
|
+
:'memo' => :'String',
|
50
58
|
:'merchant_category_code' => :'Integer',
|
51
59
|
:'type' => :'String'
|
52
60
|
}
|
@@ -81,10 +89,18 @@ module MxPlatformRuby
|
|
81
89
|
self.description = attributes[:'description']
|
82
90
|
end
|
83
91
|
|
92
|
+
if attributes.key?(:'extended_transaction_type')
|
93
|
+
self.extended_transaction_type = attributes[:'extended_transaction_type']
|
94
|
+
end
|
95
|
+
|
84
96
|
if attributes.key?(:'id')
|
85
97
|
self.id = attributes[:'id']
|
86
98
|
end
|
87
99
|
|
100
|
+
if attributes.key?(:'memo')
|
101
|
+
self.memo = attributes[:'memo']
|
102
|
+
end
|
103
|
+
|
88
104
|
if attributes.key?(:'merchant_category_code')
|
89
105
|
self.merchant_category_code = attributes[:'merchant_category_code']
|
90
106
|
end
|
@@ -124,7 +140,9 @@ module MxPlatformRuby
|
|
124
140
|
self.class == o.class &&
|
125
141
|
amount == o.amount &&
|
126
142
|
description == o.description &&
|
143
|
+
extended_transaction_type == o.extended_transaction_type &&
|
127
144
|
id == o.id &&
|
145
|
+
memo == o.memo &&
|
128
146
|
merchant_category_code == o.merchant_category_code &&
|
129
147
|
type == o.type
|
130
148
|
end
|
@@ -138,7 +156,7 @@ module MxPlatformRuby
|
|
138
156
|
# Calculates hash code according to all attributes.
|
139
157
|
# @return [Integer] Hash code
|
140
158
|
def hash
|
141
|
-
[amount, description, id, merchant_category_code, type].hash
|
159
|
+
[amount, description, extended_transaction_type, id, memo, merchant_category_code, type].hash
|
142
160
|
end
|
143
161
|
|
144
162
|
# Builds the object from hash
|