mx-platform-ruby 0.4.2 → 0.5.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 +5 -5
- data/README.md +1 -1
- data/docs/AccountResponse.md +15 -1
- data/docs/ManagedAccountCreateRequest.md +78 -0
- data/docs/ManagedAccountCreateRequestBody.md +18 -0
- data/docs/ManagedAccountUpdateRequest.md +78 -0
- data/docs/ManagedAccountUpdateRequestBody.md +18 -0
- data/docs/ManagedMemberCreateRequest.md +24 -0
- data/docs/ManagedMemberCreateRequestBody.md +18 -0
- data/docs/ManagedMemberUpdateRequest.md +22 -0
- data/docs/ManagedMemberUpdateRequestBody.md +18 -0
- data/docs/ManagedTransactionCreateRequest.md +56 -0
- data/docs/ManagedTransactionCreateRequestBody.md +18 -0
- data/docs/ManagedTransactionUpdateRequest.md +56 -0
- data/docs/ManagedTransactionUpdateRequestBody.md +18 -0
- data/docs/MemberResponse.md +5 -1
- data/docs/MerchantLocationResponse.md +40 -0
- data/docs/MerchantLocationResponseBody.md +18 -0
- data/docs/MxPlatformApi.md +1397 -119
- data/docs/TransactionResponse.md +11 -1
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +1379 -125
- data/lib/mx-platform-ruby/models/account_response.rb +67 -4
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +503 -0
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +488 -0
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +250 -0
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +236 -0
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +414 -0
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +389 -0
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/member_response.rb +22 -4
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +317 -0
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +218 -0
- data/lib/mx-platform-ruby/models/transaction_response.rb +49 -4
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +14 -0
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +237 -0
- data/spec/models/account_response_spec.rb +42 -0
- data/spec/models/managed_account_create_request_body_spec.rb +34 -0
- data/spec/models/managed_account_create_request_spec.rb +214 -0
- data/spec/models/managed_account_update_request_body_spec.rb +34 -0
- data/spec/models/managed_account_update_request_spec.rb +214 -0
- data/spec/models/managed_member_create_request_body_spec.rb +34 -0
- data/spec/models/managed_member_create_request_spec.rb +52 -0
- data/spec/models/managed_member_update_request_body_spec.rb +34 -0
- data/spec/models/managed_member_update_request_spec.rb +46 -0
- data/spec/models/managed_transaction_create_request_body_spec.rb +34 -0
- data/spec/models/managed_transaction_create_request_spec.rb +148 -0
- data/spec/models/managed_transaction_update_request_body_spec.rb +34 -0
- data/spec/models/managed_transaction_update_request_spec.rb +148 -0
- data/spec/models/member_response_spec.rb +12 -0
- data/spec/models/merchant_location_response_body_spec.rb +34 -0
- data/spec/models/merchant_location_response_spec.rb +100 -0
- data/spec/models/transaction_response_spec.rb +30 -0
- metadata +136 -80
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 523780181f868c8c9ff0ac8fb2bff613f2cea7d66698884915564f0d5df1ec5e
|
4
|
+
data.tar.gz: b8eeb78719c9f1ede5f426ff550d5354080c961b4fba94e9ac8bb0bc6a56e1b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c7498cbd50b0a6bb24dd12160af3e24f7e60efd85d8277dddaa730ca1ff0d2cc9a01905104127dff5ad7809c89bbc5ed596e76697ab96682fcdb22cf6581a2
|
7
|
+
data.tar.gz: 7fb874e999254793c2a1cb92799ccdf55c022e143d1b5df5ce0e8937fe9468492df0a5c31fd6ba707c352874631fb295e6f16e81cd5c1bcd21b226b00e2cd6a6
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mx-platform-ruby (0.
|
4
|
+
mx-platform-ruby (0.5.0)
|
5
5
|
faraday (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
byebug (11.1.3)
|
12
12
|
coderay (1.1.3)
|
13
13
|
diff-lcs (1.4.4)
|
14
|
-
faraday (1.
|
14
|
+
faraday (1.8.0)
|
15
15
|
faraday-em_http (~> 1.0)
|
16
16
|
faraday-em_synchrony (~> 1.0)
|
17
17
|
faraday-excon (~> 1.1)
|
@@ -33,7 +33,7 @@ GEM
|
|
33
33
|
jaro_winkler (1.5.4)
|
34
34
|
method_source (1.0.0)
|
35
35
|
multipart-post (2.1.1)
|
36
|
-
parallel (1.
|
36
|
+
parallel (1.21.0)
|
37
37
|
parser (3.0.2.0)
|
38
38
|
ast (~> 2.4.1)
|
39
39
|
pry (0.13.1)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
pry-byebug (3.9.0)
|
43
43
|
byebug (~> 11.0)
|
44
44
|
pry (~> 0.13.0)
|
45
|
-
psych (4.0.
|
45
|
+
psych (4.0.2)
|
46
46
|
rainbow (3.0.0)
|
47
47
|
rake (13.0.6)
|
48
48
|
rspec (3.10.0)
|
@@ -81,4 +81,4 @@ DEPENDENCIES
|
|
81
81
|
rubocop (~> 0.66.0)
|
82
82
|
|
83
83
|
BUNDLED WITH
|
84
|
-
2.2.
|
84
|
+
2.2.29
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ The MX Platform API is a powerful, fully-featured API designed to make aggregati
|
|
8
8
|
|
9
9
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
10
10
|
|
11
|
-
- Package version: 0.
|
11
|
+
- Package version: 0.5.0
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
data/docs/AccountResponse.md
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
| **guid** | **String** | | [optional] |
|
21
21
|
| **holdings_value** | **Float** | | [optional] |
|
22
22
|
| **id** | **String** | | [optional] |
|
23
|
+
| **imported_at** | **String** | | [optional] |
|
23
24
|
| **institution_code** | **String** | | [optional] |
|
24
25
|
| **insured_name** | **String** | | [optional] |
|
25
26
|
| **interest_rate** | **Float** | | [optional] |
|
@@ -30,20 +31,26 @@
|
|
30
31
|
| **loan_amount** | **Float** | | [optional] |
|
31
32
|
| **matures_on** | **String** | | [optional] |
|
32
33
|
| **member_guid** | **String** | | [optional] |
|
34
|
+
| **member_id** | **String** | | [optional] |
|
35
|
+
| **member_is_managed_by_user** | **Boolean** | | [optional] |
|
36
|
+
| **metadata** | **String** | | [optional] |
|
33
37
|
| **minimum_balance** | **Float** | | [optional] |
|
34
38
|
| **minimum_payment** | **Float** | | [optional] |
|
35
39
|
| **name** | **String** | | [optional] |
|
40
|
+
| **nickname** | **String** | | [optional] |
|
36
41
|
| **original_balance** | **Float** | | [optional] |
|
37
42
|
| **pay_out_amount** | **Float** | | [optional] |
|
38
43
|
| **payment_due_at** | **String** | | [optional] |
|
39
44
|
| **payoff_balance** | **Float** | | [optional] |
|
40
45
|
| **premium_amount** | **Float** | | [optional] |
|
46
|
+
| **routing_number** | **String** | | [optional] |
|
41
47
|
| **started_on** | **String** | | [optional] |
|
42
48
|
| **subtype** | **String** | | [optional] |
|
43
49
|
| **total_account_value** | **Float** | | [optional] |
|
44
50
|
| **type** | **String** | | [optional] |
|
45
51
|
| **updated_at** | **String** | | [optional] |
|
46
52
|
| **user_guid** | **String** | | [optional] |
|
53
|
+
| **user_id** | **String** | | [optional] |
|
47
54
|
|
48
55
|
## Example
|
49
56
|
|
@@ -67,6 +74,7 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
67
74
|
guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
68
75
|
holdings_value: 1000.0,
|
69
76
|
id: 1040434698,
|
77
|
+
imported_at: 2015-10-13T17:57:37.000Z,
|
70
78
|
institution_code: chase,
|
71
79
|
insured_name: Frodo Baggins,
|
72
80
|
interest_rate: 1.0,
|
@@ -77,20 +85,26 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
77
85
|
loan_amount: 1000.0,
|
78
86
|
matures_on: 2015-10-13T17:57:37.000Z,
|
79
87
|
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
88
|
+
member_id: member123,
|
89
|
+
member_is_managed_by_user: false,
|
90
|
+
metadata: some metadata,
|
80
91
|
minimum_balance: 100.0,
|
81
92
|
minimum_payment: 10.0,
|
82
93
|
name: Test account 2,
|
94
|
+
nickname: My Checking,
|
83
95
|
original_balance: 10.0,
|
84
96
|
pay_out_amount: 10.0,
|
85
97
|
payment_due_at: 2015-10-13T17:57:37.000Z,
|
86
98
|
payoff_balance: 10.0,
|
87
99
|
premium_amount: 1.0,
|
100
|
+
routing_number: 68899990000000,
|
88
101
|
started_on: 2015-10-13T17:57:37.000Z,
|
89
102
|
subtype: NONE,
|
90
103
|
total_account_value: 1.0,
|
91
104
|
type: SAVINGS,
|
92
105
|
updated_at: 2016-10-13T18:08:00.000Z,
|
93
|
-
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
|
106
|
+
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
|
107
|
+
user_id: user123
|
94
108
|
)
|
95
109
|
```
|
96
110
|
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# MxPlatformRuby::ManagedAccountCreateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_number** | **String** | | [optional] |
|
8
|
+
| **apr** | **Float** | | [optional] |
|
9
|
+
| **apy** | **Float** | | [optional] |
|
10
|
+
| **available_balance** | **Float** | | [optional] |
|
11
|
+
| **available_credit** | **Float** | | [optional] |
|
12
|
+
| **balance** | **Float** | | |
|
13
|
+
| **cash_surrender_value** | **Float** | | [optional] |
|
14
|
+
| **credit_limit** | **Float** | | [optional] |
|
15
|
+
| **currency_code** | **String** | | [optional] |
|
16
|
+
| **day_payment_is_due** | **Integer** | | [optional] |
|
17
|
+
| **death_benefit** | **Integer** | | [optional] |
|
18
|
+
| **id** | **String** | | [optional] |
|
19
|
+
| **interest_rate** | **Float** | | [optional] |
|
20
|
+
| **is_closed** | **Boolean** | | [optional] |
|
21
|
+
| **is_hidden** | **Boolean** | | [optional] |
|
22
|
+
| **last_payment** | **Float** | | [optional] |
|
23
|
+
| **last_payment_at** | **String** | | [optional] |
|
24
|
+
| **loan_amount** | **Float** | | [optional] |
|
25
|
+
| **matures_on** | **String** | | [optional] |
|
26
|
+
| **metadata** | **String** | | [optional] |
|
27
|
+
| **minimum_balance** | **Float** | | [optional] |
|
28
|
+
| **minimum_payment** | **Float** | | [optional] |
|
29
|
+
| **name** | **String** | | |
|
30
|
+
| **nickname** | **String** | | [optional] |
|
31
|
+
| **original_balance** | **Float** | | [optional] |
|
32
|
+
| **payment_due_at** | **String** | | [optional] |
|
33
|
+
| **payoff_balance** | **Float** | | [optional] |
|
34
|
+
| **routing_number** | **String** | | [optional] |
|
35
|
+
| **started_on** | **String** | | [optional] |
|
36
|
+
| **subtype** | **String** | | [optional] |
|
37
|
+
| **type** | **String** | | |
|
38
|
+
|
39
|
+
## Example
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require 'mx-platform-ruby'
|
43
|
+
|
44
|
+
instance = MxPlatformRuby::ManagedAccountCreateRequest.new(
|
45
|
+
account_number: 5366,
|
46
|
+
apr: 1.0,
|
47
|
+
apy: 1.0,
|
48
|
+
available_balance: 1000.0,
|
49
|
+
available_credit: 1000.0,
|
50
|
+
balance: 1000.0,
|
51
|
+
cash_surrender_value: 1000.0,
|
52
|
+
credit_limit: 100.0,
|
53
|
+
currency_code: USD,
|
54
|
+
day_payment_is_due: 20,
|
55
|
+
death_benefit: 1000,
|
56
|
+
id: 1040434698,
|
57
|
+
interest_rate: 1.0,
|
58
|
+
is_closed: false,
|
59
|
+
is_hidden: false,
|
60
|
+
last_payment: 100.0,
|
61
|
+
last_payment_at: 2015-10-13T17:57:37.000Z,
|
62
|
+
loan_amount: 1000.0,
|
63
|
+
matures_on: 2015-10-13T17:57:37.000Z,
|
64
|
+
metadata: some metadata,
|
65
|
+
minimum_balance: 100.0,
|
66
|
+
minimum_payment: 10.0,
|
67
|
+
name: Test account 2,
|
68
|
+
nickname: Swiss Account,
|
69
|
+
original_balance: 10.0,
|
70
|
+
payment_due_at: 2015-10-13T17:57:37.000Z,
|
71
|
+
payoff_balance: 10.0,
|
72
|
+
routing_number: 68899990000000,
|
73
|
+
started_on: 2015-10-13T17:57:37.000Z,
|
74
|
+
subtype: NONE,
|
75
|
+
type: SAVINGS
|
76
|
+
)
|
77
|
+
```
|
78
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::ManagedAccountCreateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account** | [**ManagedAccountCreateRequest**](ManagedAccountCreateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::ManagedAccountCreateRequestBody.new(
|
15
|
+
account: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# MxPlatformRuby::ManagedAccountUpdateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_number** | **String** | | [optional] |
|
8
|
+
| **apr** | **Float** | | [optional] |
|
9
|
+
| **apy** | **Float** | | [optional] |
|
10
|
+
| **available_balance** | **Float** | | [optional] |
|
11
|
+
| **available_credit** | **Float** | | [optional] |
|
12
|
+
| **balance** | **Float** | | [optional] |
|
13
|
+
| **cash_surrender_value** | **Float** | | [optional] |
|
14
|
+
| **credit_limit** | **Float** | | [optional] |
|
15
|
+
| **currency_code** | **String** | | [optional] |
|
16
|
+
| **day_payment_is_due** | **Integer** | | [optional] |
|
17
|
+
| **death_benefit** | **Integer** | | [optional] |
|
18
|
+
| **id** | **String** | | [optional] |
|
19
|
+
| **interest_rate** | **Float** | | [optional] |
|
20
|
+
| **is_closed** | **Boolean** | | [optional] |
|
21
|
+
| **is_hidden** | **Boolean** | | [optional] |
|
22
|
+
| **last_payment** | **Float** | | [optional] |
|
23
|
+
| **last_payment_at** | **String** | | [optional] |
|
24
|
+
| **loan_amount** | **Float** | | [optional] |
|
25
|
+
| **matures_on** | **String** | | [optional] |
|
26
|
+
| **metadata** | **String** | | [optional] |
|
27
|
+
| **minimum_balance** | **Float** | | [optional] |
|
28
|
+
| **minimum_payment** | **Float** | | [optional] |
|
29
|
+
| **name** | **String** | | [optional] |
|
30
|
+
| **nickname** | **String** | | [optional] |
|
31
|
+
| **original_balance** | **Float** | | [optional] |
|
32
|
+
| **payment_due_at** | **String** | | [optional] |
|
33
|
+
| **payoff_balance** | **Float** | | [optional] |
|
34
|
+
| **routing_number** | **String** | | [optional] |
|
35
|
+
| **started_on** | **String** | | [optional] |
|
36
|
+
| **subtype** | **String** | | [optional] |
|
37
|
+
| **type** | **String** | | [optional] |
|
38
|
+
|
39
|
+
## Example
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require 'mx-platform-ruby'
|
43
|
+
|
44
|
+
instance = MxPlatformRuby::ManagedAccountUpdateRequest.new(
|
45
|
+
account_number: 5366,
|
46
|
+
apr: 1.0,
|
47
|
+
apy: 1.0,
|
48
|
+
available_balance: 1000.0,
|
49
|
+
available_credit: 1000.0,
|
50
|
+
balance: 1000.0,
|
51
|
+
cash_surrender_value: 1000.0,
|
52
|
+
credit_limit: 100.0,
|
53
|
+
currency_code: USD,
|
54
|
+
day_payment_is_due: 20,
|
55
|
+
death_benefit: 1000,
|
56
|
+
id: 1040434698,
|
57
|
+
interest_rate: 1.0,
|
58
|
+
is_closed: false,
|
59
|
+
is_hidden: false,
|
60
|
+
last_payment: 100.0,
|
61
|
+
last_payment_at: 2015-10-13T17:57:37.000Z,
|
62
|
+
loan_amount: 1000.0,
|
63
|
+
matures_on: 2015-10-13T17:57:37.000Z,
|
64
|
+
metadata: some metadata,
|
65
|
+
minimum_balance: 100.0,
|
66
|
+
minimum_payment: 10.0,
|
67
|
+
name: Test account 2,
|
68
|
+
nickname: Swiss Account,
|
69
|
+
original_balance: 10.0,
|
70
|
+
payment_due_at: 2015-10-13T17:57:37.000Z,
|
71
|
+
payoff_balance: 10.0,
|
72
|
+
routing_number: 68899990000000,
|
73
|
+
started_on: 2015-10-13T17:57:37.000Z,
|
74
|
+
subtype: NONE,
|
75
|
+
type: SAVINGS
|
76
|
+
)
|
77
|
+
```
|
78
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::ManagedAccountUpdateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account** | [**ManagedAccountUpdateRequest**](ManagedAccountUpdateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::ManagedAccountUpdateRequestBody.new(
|
15
|
+
account: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# MxPlatformRuby::ManagedMemberCreateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **institution_code** | **String** | | |
|
9
|
+
| **metadata** | **String** | | [optional] |
|
10
|
+
| **name** | **String** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'mx-platform-ruby'
|
16
|
+
|
17
|
+
instance = MxPlatformRuby::ManagedMemberCreateRequest.new(
|
18
|
+
id: member123,
|
19
|
+
institution_code: mxbank,
|
20
|
+
metadata: some metadata,
|
21
|
+
name: MX Bank
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::ManagedMemberCreateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **member** | [**ManagedMemberCreateRequest**](ManagedMemberCreateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::ManagedMemberCreateRequestBody.new(
|
15
|
+
member: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MxPlatformRuby::ManagedMemberUpdateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **metadata** | **String** | | [optional] |
|
9
|
+
| **name** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'mx-platform-ruby'
|
15
|
+
|
16
|
+
instance = MxPlatformRuby::ManagedMemberUpdateRequest.new(
|
17
|
+
id: member123,
|
18
|
+
metadata: some metadata,
|
19
|
+
name: MX Bank
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::ManagedMemberUpdateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **member** | [**ManagedMemberUpdateRequest**](ManagedMemberUpdateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::ManagedMemberUpdateRequestBody.new(
|
15
|
+
member: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# MxPlatformRuby::ManagedTransactionCreateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **amount** | **String** | | |
|
8
|
+
| **category** | **String** | | [optional] |
|
9
|
+
| **check_number_string** | **String** | | [optional] |
|
10
|
+
| **currency_code** | **String** | | [optional] |
|
11
|
+
| **description** | **String** | | |
|
12
|
+
| **id** | **String** | | [optional] |
|
13
|
+
| **is_international** | **Boolean** | | [optional] |
|
14
|
+
| **latitude** | **Float** | | [optional] |
|
15
|
+
| **localized_description** | **String** | | [optional] |
|
16
|
+
| **localized_memo** | **String** | | [optional] |
|
17
|
+
| **longitude** | **Float** | | [optional] |
|
18
|
+
| **memo** | **String** | | [optional] |
|
19
|
+
| **merchant_category_code** | **Integer** | | [optional] |
|
20
|
+
| **merchant_guid** | **String** | | [optional] |
|
21
|
+
| **merchant_location_guid** | **String** | | [optional] |
|
22
|
+
| **metadata** | **String** | | [optional] |
|
23
|
+
| **posted_at** | **String** | | [optional] |
|
24
|
+
| **status** | **String** | | |
|
25
|
+
| **transacted_at** | **String** | | |
|
26
|
+
| **type** | **String** | | |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'mx-platform-ruby'
|
32
|
+
|
33
|
+
instance = MxPlatformRuby::ManagedTransactionCreateRequest.new(
|
34
|
+
amount: 61.11,
|
35
|
+
category: Groceries,
|
36
|
+
check_number_string: 6812,
|
37
|
+
currency_code: USD,
|
38
|
+
description: Whole foods,
|
39
|
+
id: transaction-265abee9-889b-af6a-c69b-25157db2bdd9,
|
40
|
+
is_international: false,
|
41
|
+
latitude: -43.2075,
|
42
|
+
localized_description: This is a localized_description,
|
43
|
+
localized_memo: This is a localized_memo,
|
44
|
+
longitude: 139.691706,
|
45
|
+
memo: This is a memo,
|
46
|
+
merchant_category_code: 5411,
|
47
|
+
merchant_guid: MCH-7ed79542-884d-2b1b-dd74-501c5cc9d25b,
|
48
|
+
merchant_location_guid: MCL-00024e59-18b5-4d79-b879-2a7896726fea,
|
49
|
+
metadata: some metadata,
|
50
|
+
posted_at: 2016-10-07T06:00:00.000Z,
|
51
|
+
status: POSTED,
|
52
|
+
transacted_at: 2016-10-06T13:00:00.000Z,
|
53
|
+
type: DEBIT
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::ManagedTransactionCreateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **transaction** | [**ManagedTransactionCreateRequest**](ManagedTransactionCreateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::ManagedTransactionCreateRequestBody.new(
|
15
|
+
transaction: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# MxPlatformRuby::ManagedTransactionUpdateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **amount** | **String** | | [optional] |
|
8
|
+
| **category** | **String** | | [optional] |
|
9
|
+
| **check_number_string** | **String** | | [optional] |
|
10
|
+
| **currency_code** | **String** | | [optional] |
|
11
|
+
| **description** | **String** | | [optional] |
|
12
|
+
| **id** | **String** | | [optional] |
|
13
|
+
| **is_international** | **Boolean** | | [optional] |
|
14
|
+
| **latitude** | **Float** | | [optional] |
|
15
|
+
| **localized_description** | **String** | | [optional] |
|
16
|
+
| **localized_memo** | **String** | | [optional] |
|
17
|
+
| **longitude** | **Float** | | [optional] |
|
18
|
+
| **memo** | **String** | | [optional] |
|
19
|
+
| **merchant_category_code** | **Integer** | | [optional] |
|
20
|
+
| **merchant_guid** | **String** | | [optional] |
|
21
|
+
| **merchant_location_guid** | **String** | | [optional] |
|
22
|
+
| **metadata** | **String** | | [optional] |
|
23
|
+
| **posted_at** | **String** | | [optional] |
|
24
|
+
| **status** | **String** | | [optional] |
|
25
|
+
| **transacted_at** | **String** | | [optional] |
|
26
|
+
| **type** | **String** | | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'mx-platform-ruby'
|
32
|
+
|
33
|
+
instance = MxPlatformRuby::ManagedTransactionUpdateRequest.new(
|
34
|
+
amount: 61.11,
|
35
|
+
category: Groceries,
|
36
|
+
check_number_string: 6812,
|
37
|
+
currency_code: USD,
|
38
|
+
description: Whole foods,
|
39
|
+
id: transaction-265abee9-889b-af6a-c69b-25157db2bdd9,
|
40
|
+
is_international: false,
|
41
|
+
latitude: -43.2075,
|
42
|
+
localized_description: This is a localized_description,
|
43
|
+
localized_memo: This is a localized_memo,
|
44
|
+
longitude: 139.691706,
|
45
|
+
memo: This is a memo,
|
46
|
+
merchant_category_code: 5411,
|
47
|
+
merchant_guid: MCH-7ed79542-884d-2b1b-dd74-501c5cc9d25b,
|
48
|
+
merchant_location_guid: MCL-00024e59-18b5-4d79-b879-2a7896726fea,
|
49
|
+
metadata: some metadata,
|
50
|
+
posted_at: 2016-10-07T06:00:00.000Z,
|
51
|
+
status: POSTED,
|
52
|
+
transacted_at: 2016-10-06T13:00:00.000Z,
|
53
|
+
type: DEBIT
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::ManagedTransactionUpdateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **transaction** | [**ManagedTransactionUpdateRequest**](ManagedTransactionUpdateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::ManagedTransactionUpdateRequestBody.new(
|
15
|
+
transaction: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/MemberResponse.md
CHANGED
@@ -10,12 +10,14 @@
|
|
10
10
|
| **id** | **String** | | [optional] |
|
11
11
|
| **institution_code** | **String** | | [optional] |
|
12
12
|
| **is_being_aggregated** | **Boolean** | | [optional] |
|
13
|
+
| **is_managed_by_user** | **Boolean** | | [optional] |
|
13
14
|
| **is_oauth** | **Boolean** | | [optional] |
|
14
15
|
| **metadata** | **String** | | [optional] |
|
15
16
|
| **name** | **String** | | [optional] |
|
16
17
|
| **oauth_window_uri** | **String** | | [optional] |
|
17
18
|
| **successfully_aggregated_at** | **String** | | [optional] |
|
18
19
|
| **user_guid** | **String** | | [optional] |
|
20
|
+
| **user_id** | **String** | | [optional] |
|
19
21
|
|
20
22
|
## Example
|
21
23
|
|
@@ -29,12 +31,14 @@ instance = MxPlatformRuby::MemberResponse.new(
|
|
29
31
|
id: unique_id,
|
30
32
|
institution_code: chase,
|
31
33
|
is_being_aggregated: false,
|
34
|
+
is_managed_by_user: false,
|
32
35
|
is_oauth: false,
|
33
36
|
metadata: \"credentials_last_refreshed_at\": \"2015-10-15\",
|
34
37
|
name: Chase Bank,
|
35
38
|
oauth_window_uri: int-widgets.moneydesktop.com/oauth/predirect_to/MBR-df96fd60-7122-4464-b3c2-ff11d8c74f6f/p8v7rxpxg3pdAsfgwxcrwxwhz3Zbygxfr6wAb931qv91hpb57k6bkr6t6m9djrfrfd467p8xkgqp6w7k1r9g8k8bfxqbfw2lq5tdwjq2sngAx76fm0jrw0dpmbtlkxchgjsw3r7r0hhq6A8sshqptfxql2rt123shfpkyhhpfvy67yvprbkb7lmlyrpwsd9yj0s22pmsyjhcw7d2q44d9fsxn5kfsmr2zqc79c2AxAx5gkjgbczf22A1sjx70t2pvnggzyh55s7bh62dd5wq7f1r4x90mcxn1tfhhrq5b09mjkt5hg66cjn700pcf6fgA42lbsp7v1pdch85mswycrp21c6j2sxffm14Asg3?skip_aggregation=false&referral_source=APP&ui_message_webview_url_scheme=myapp,
|
36
39
|
successfully_aggregated_at: 2016-10-13T17:57:38.000Z,
|
37
|
-
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
|
40
|
+
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
|
41
|
+
user_id: user123
|
38
42
|
)
|
39
43
|
```
|
40
44
|
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# MxPlatformRuby::MerchantLocationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **city** | **String** | | [optional] |
|
8
|
+
| **country** | **String** | | [optional] |
|
9
|
+
| **created_at** | **String** | | [optional] |
|
10
|
+
| **guid** | **String** | | [optional] |
|
11
|
+
| **latitude** | **Float** | | [optional] |
|
12
|
+
| **longitude** | **Float** | | [optional] |
|
13
|
+
| **merchant_guid** | **String** | | [optional] |
|
14
|
+
| **phone_number** | **String** | | [optional] |
|
15
|
+
| **postal_code** | **String** | | [optional] |
|
16
|
+
| **state** | **String** | | [optional] |
|
17
|
+
| **street_address** | **String** | | [optional] |
|
18
|
+
| **updated_at** | **String** | | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'mx-platform-ruby'
|
24
|
+
|
25
|
+
instance = MxPlatformRuby::MerchantLocationResponse.new(
|
26
|
+
city: Greenwood Village,
|
27
|
+
country: US,
|
28
|
+
created_at: 2020-04-13 21:05:09.000000000 Z,
|
29
|
+
guid: MCL-00024e59-18b5-4d79-b879-2a7896726fea,
|
30
|
+
latitude: 39.5963005,
|
31
|
+
longitude: -104.89158799999998,
|
32
|
+
merchant_guid: MCH-09466f0a-fb58-9d1a-bae2-2af0afbea621,
|
33
|
+
phone_number: (303) 689-0728,
|
34
|
+
postal_code: 801121436,
|
35
|
+
state: CO,
|
36
|
+
street_address: 8547 E Arapahoe Rd, Ste 1,
|
37
|
+
updated_at: 2020-04-13 21:05:09.000000000 Z
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::MerchantLocationResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **merchant_location** | [**MerchantLocationResponse**](MerchantLocationResponse.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::MerchantLocationResponseBody.new(
|
15
|
+
merchant_location: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|