mx-platform-ruby 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/AccountCreateRequest.md +13 -31
- data/docs/AccountResponse.md +20 -10
- data/lib/mx-platform-ruby/models/account_create_request.rb +46 -132
- data/lib/mx-platform-ruby/models/account_response.rb +81 -32
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/models/account_create_request_spec.rb +10 -64
- data/spec/models/account_response_spec.rb +43 -13
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eaf46a7f2b6836a2b8a340e3eefc77ada7686dc442d27f0f5ecd807bdff6659d
|
|
4
|
+
data.tar.gz: 33878710d1f72b88bd5e90b11a9e06b0f8a485179b153e10e6bb02d0c2ea78be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a62178c0292fd7b5528613010dd3426fca32b311c1fbde99f597c130d2b430b345ef9f46990a2c9edb60977d82ef8998e6988d9b3d13d3a5e27f02ac061f1a5f
|
|
7
|
+
data.tar.gz: f3bb0629887baf19d7644e10a27c473aa3014f899e1d347f2bbb2cb79756d0923742a6ff2e5b955a8bb97287b61b304e4e3bc41cb5005afe0f8edd8385de0106
|
data/Gemfile.lock
CHANGED
|
@@ -4,37 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **account_subtype_name** | **String** | | [optional] |
|
|
8
|
+
| **account_type** | **Integer** | | |
|
|
8
9
|
| **apr** | **Float** | | [optional] |
|
|
9
10
|
| **apy** | **Float** | | [optional] |
|
|
10
11
|
| **available_balance** | **Float** | | [optional] |
|
|
11
|
-
| **
|
|
12
|
-
| **balance** | **Float** | | |
|
|
12
|
+
| **balance** | **Float** | | [optional] |
|
|
13
13
|
| **cash_surrender_value** | **Float** | | [optional] |
|
|
14
14
|
| **credit_limit** | **Float** | | [optional] |
|
|
15
15
|
| **currency_code** | **String** | | [optional] |
|
|
16
|
-
| **day_payment_is_due** | **Integer** | | [optional] |
|
|
17
16
|
| **death_benefit** | **Integer** | | [optional] |
|
|
18
|
-
| **id** | **String** | | [optional] |
|
|
19
17
|
| **interest_rate** | **Float** | | [optional] |
|
|
18
|
+
| **is_business** | **Boolean** | | [optional] |
|
|
20
19
|
| **is_closed** | **Boolean** | | [optional] |
|
|
21
20
|
| **is_hidden** | **Boolean** | | [optional] |
|
|
22
|
-
| **last_payment** | **Float** | | [optional] |
|
|
23
|
-
| **last_payment_at** | **String** | | [optional] |
|
|
24
21
|
| **loan_amount** | **Float** | | [optional] |
|
|
25
|
-
| **matures_on** | **String** | | [optional] |
|
|
26
22
|
| **metadata** | **String** | | [optional] |
|
|
27
|
-
| **minimum_balance** | **Float** | | [optional] |
|
|
28
|
-
| **minimum_payment** | **Float** | | [optional] |
|
|
29
23
|
| **name** | **String** | | |
|
|
30
24
|
| **nickname** | **String** | | [optional] |
|
|
31
25
|
| **original_balance** | **Float** | | [optional] |
|
|
32
|
-
| **
|
|
33
|
-
| **
|
|
34
|
-
| **
|
|
35
|
-
| **started_on** | **String** | | [optional] |
|
|
36
|
-
| **subtype** | **String** | | [optional] |
|
|
37
|
-
| **type** | **String** | | |
|
|
26
|
+
| **property_type** | **Integer** | | [optional] |
|
|
27
|
+
| **property_type_name** | **String** | | [optional] |
|
|
28
|
+
| **skip_webhook** | **Boolean** | | [optional] |
|
|
38
29
|
|
|
39
30
|
## Example
|
|
40
31
|
|
|
@@ -42,37 +33,28 @@
|
|
|
42
33
|
require 'mx-platform-ruby'
|
|
43
34
|
|
|
44
35
|
instance = MxPlatformRuby::AccountCreateRequest.new(
|
|
45
|
-
|
|
36
|
+
account_subtype_name: SAVINGS,
|
|
37
|
+
account_type: 2,
|
|
46
38
|
apr: 1.0,
|
|
47
39
|
apy: 1.0,
|
|
48
40
|
available_balance: 1000.0,
|
|
49
|
-
available_credit: 1000.0,
|
|
50
41
|
balance: 1000.0,
|
|
51
42
|
cash_surrender_value: 1000.0,
|
|
52
43
|
credit_limit: 100.0,
|
|
53
44
|
currency_code: USD,
|
|
54
|
-
day_payment_is_due: 20,
|
|
55
45
|
death_benefit: 1000,
|
|
56
|
-
id: 1040434698,
|
|
57
46
|
interest_rate: 1.0,
|
|
47
|
+
is_business: false,
|
|
58
48
|
is_closed: false,
|
|
59
49
|
is_hidden: false,
|
|
60
|
-
last_payment: 100.0,
|
|
61
|
-
last_payment_at: 2015-10-13T17:57:37.000Z,
|
|
62
50
|
loan_amount: 1000.0,
|
|
63
|
-
matures_on: 2015-10-13T17:57:37.000Z,
|
|
64
51
|
metadata: some metadata,
|
|
65
|
-
minimum_balance: 100.0,
|
|
66
|
-
minimum_payment: 10.0,
|
|
67
52
|
name: Test account 2,
|
|
68
53
|
nickname: Swiss Account,
|
|
69
54
|
original_balance: 10.0,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
started_on: 2015-10-13T17:57:37.000Z,
|
|
74
|
-
subtype: NONE,
|
|
75
|
-
type: SAVINGS
|
|
55
|
+
property_type: 1,
|
|
56
|
+
property_type_name: VEHICLE,
|
|
57
|
+
skip_webhook: false
|
|
76
58
|
)
|
|
77
59
|
```
|
|
78
60
|
|
data/docs/AccountResponse.md
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **account_number** | **String** | | [optional] |
|
|
8
|
+
| **account_ownership** | **String** | | [optional] |
|
|
9
|
+
| **annuity_policy_to_date** | **String** | | [optional] |
|
|
10
|
+
| **annuity_provider** | **String** | | [optional] |
|
|
11
|
+
| **annuity_term_year** | **Float** | | [optional] |
|
|
8
12
|
| **apr** | **Float** | | [optional] |
|
|
9
13
|
| **apy** | **Float** | | [optional] |
|
|
10
14
|
| **available_balance** | **Float** | | [optional] |
|
|
@@ -21,16 +25,16 @@
|
|
|
21
25
|
| **holdings_value** | **Float** | | [optional] |
|
|
22
26
|
| **id** | **String** | | [optional] |
|
|
23
27
|
| **imported_at** | **String** | | [optional] |
|
|
28
|
+
| **interest_rate** | **Float** | | [optional] |
|
|
24
29
|
| **institution_code** | **String** | | [optional] |
|
|
25
30
|
| **insured_name** | **String** | | [optional] |
|
|
26
|
-
| **interest_rate** | **Float** | | [optional] |
|
|
27
|
-
| **is_business** | **Boolean** | | [optional] |
|
|
28
31
|
| **is_closed** | **Boolean** | | [optional] |
|
|
29
32
|
| **is_hidden** | **Boolean** | | [optional] |
|
|
30
33
|
| **is_manual** | **Boolean** | | [optional] |
|
|
31
34
|
| **last_payment** | **Float** | | [optional] |
|
|
32
35
|
| **last_payment_at** | **String** | | [optional] |
|
|
33
36
|
| **loan_amount** | **Float** | | [optional] |
|
|
37
|
+
| **margin_balance** | **Float** | | [optional] |
|
|
34
38
|
| **matures_on** | **String** | | [optional] |
|
|
35
39
|
| **member_guid** | **String** | | [optional] |
|
|
36
40
|
| **member_id** | **String** | | [optional] |
|
|
@@ -45,10 +49,11 @@
|
|
|
45
49
|
| **payment_due_at** | **String** | | [optional] |
|
|
46
50
|
| **payoff_balance** | **Float** | | [optional] |
|
|
47
51
|
| **premium_amount** | **Float** | | [optional] |
|
|
48
|
-
| **property_type** | **String** | | [optional] |
|
|
49
52
|
| **routing_number** | **String** | | [optional] |
|
|
50
53
|
| **started_on** | **String** | | [optional] |
|
|
51
54
|
| **subtype** | **String** | | [optional] |
|
|
55
|
+
| **today_ugl_amount** | **Float** | | [optional] |
|
|
56
|
+
| **today_ugl_percentage** | **Float** | | [optional] |
|
|
52
57
|
| **total_account_value** | **Float** | | [optional] |
|
|
53
58
|
| **type** | **String** | | [optional] |
|
|
54
59
|
| **updated_at** | **String** | | [optional] |
|
|
@@ -62,14 +67,18 @@ require 'mx-platform-ruby'
|
|
|
62
67
|
|
|
63
68
|
instance = MxPlatformRuby::AccountResponse.new(
|
|
64
69
|
account_number: 5366,
|
|
70
|
+
account_ownership: INDIVIDUAL,
|
|
71
|
+
annuity_policy_to_date: 2016-10-13T17:57:37.000Z,
|
|
72
|
+
annuity_provider: Metlife,
|
|
73
|
+
annuity_term_year: 2048,
|
|
65
74
|
apr: 1.0,
|
|
66
75
|
apy: 1.0,
|
|
67
76
|
available_balance: 1000.0,
|
|
68
77
|
available_credit: 1000.0,
|
|
69
|
-
balance:
|
|
78
|
+
balance: 10000.0,
|
|
70
79
|
cash_balance: 1000.0,
|
|
71
80
|
cash_surrender_value: 1000.0,
|
|
72
|
-
created_at:
|
|
81
|
+
created_at: 2023-07-25T17:14:46Z,
|
|
73
82
|
credit_limit: 100.0,
|
|
74
83
|
currency_code: USD,
|
|
75
84
|
day_payment_is_due: 20,
|
|
@@ -78,16 +87,16 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
|
78
87
|
holdings_value: 1000.0,
|
|
79
88
|
id: 1040434698,
|
|
80
89
|
imported_at: 2015-10-13T17:57:37.000Z,
|
|
81
|
-
institution_code: chase,
|
|
82
|
-
insured_name: Frodo Baggins,
|
|
83
90
|
interest_rate: 1.0,
|
|
84
|
-
|
|
91
|
+
institution_code: 3af3685e-05d9-7060-359f-008d0755e993,
|
|
92
|
+
insured_name: Tommy Shelby,
|
|
85
93
|
is_closed: false,
|
|
86
94
|
is_hidden: false,
|
|
87
95
|
is_manual: false,
|
|
88
96
|
last_payment: 100.0,
|
|
89
|
-
last_payment_at:
|
|
97
|
+
last_payment_at: 2023-07-25T17:14:46Z,
|
|
90
98
|
loan_amount: 1000.0,
|
|
99
|
+
margin_balance: 1000.0,
|
|
91
100
|
matures_on: 2015-10-13T17:57:37.000Z,
|
|
92
101
|
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
|
93
102
|
member_id: member123,
|
|
@@ -102,10 +111,11 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
|
102
111
|
payment_due_at: 2015-10-13T17:57:37.000Z,
|
|
103
112
|
payoff_balance: 10.0,
|
|
104
113
|
premium_amount: 1.0,
|
|
105
|
-
property_type: 1,
|
|
106
114
|
routing_number: 68899990000000,
|
|
107
115
|
started_on: 2015-10-13T17:57:37.000Z,
|
|
108
116
|
subtype: NONE,
|
|
117
|
+
today_ugl_amount: 1000.5,
|
|
118
|
+
today_ugl_percentage: 6.9,
|
|
109
119
|
total_account_value: 1.0,
|
|
110
120
|
type: SAVINGS,
|
|
111
121
|
updated_at: 2016-10-13T18:08:00.000Z,
|
|
@@ -15,7 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module MxPlatformRuby
|
|
17
17
|
class AccountCreateRequest
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :account_subtype_name
|
|
19
|
+
|
|
20
|
+
attr_accessor :account_type
|
|
19
21
|
|
|
20
22
|
attr_accessor :apr
|
|
21
23
|
|
|
@@ -23,8 +25,6 @@ module MxPlatformRuby
|
|
|
23
25
|
|
|
24
26
|
attr_accessor :available_balance
|
|
25
27
|
|
|
26
|
-
attr_accessor :available_credit
|
|
27
|
-
|
|
28
28
|
attr_accessor :balance
|
|
29
29
|
|
|
30
30
|
attr_accessor :cash_surrender_value
|
|
@@ -33,84 +33,57 @@ module MxPlatformRuby
|
|
|
33
33
|
|
|
34
34
|
attr_accessor :currency_code
|
|
35
35
|
|
|
36
|
-
attr_accessor :day_payment_is_due
|
|
37
|
-
|
|
38
36
|
attr_accessor :death_benefit
|
|
39
37
|
|
|
40
|
-
attr_accessor :id
|
|
41
|
-
|
|
42
38
|
attr_accessor :interest_rate
|
|
43
39
|
|
|
40
|
+
attr_accessor :is_business
|
|
41
|
+
|
|
44
42
|
attr_accessor :is_closed
|
|
45
43
|
|
|
46
44
|
attr_accessor :is_hidden
|
|
47
45
|
|
|
48
|
-
attr_accessor :last_payment
|
|
49
|
-
|
|
50
|
-
attr_accessor :last_payment_at
|
|
51
|
-
|
|
52
46
|
attr_accessor :loan_amount
|
|
53
47
|
|
|
54
|
-
attr_accessor :matures_on
|
|
55
|
-
|
|
56
48
|
attr_accessor :metadata
|
|
57
49
|
|
|
58
|
-
attr_accessor :minimum_balance
|
|
59
|
-
|
|
60
|
-
attr_accessor :minimum_payment
|
|
61
|
-
|
|
62
50
|
attr_accessor :name
|
|
63
51
|
|
|
64
52
|
attr_accessor :nickname
|
|
65
53
|
|
|
66
54
|
attr_accessor :original_balance
|
|
67
55
|
|
|
68
|
-
attr_accessor :
|
|
69
|
-
|
|
70
|
-
attr_accessor :payoff_balance
|
|
56
|
+
attr_accessor :property_type
|
|
71
57
|
|
|
72
|
-
attr_accessor :
|
|
58
|
+
attr_accessor :property_type_name
|
|
73
59
|
|
|
74
|
-
attr_accessor :
|
|
75
|
-
|
|
76
|
-
attr_accessor :subtype
|
|
77
|
-
|
|
78
|
-
attr_accessor :type
|
|
60
|
+
attr_accessor :skip_webhook
|
|
79
61
|
|
|
80
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
81
63
|
def self.attribute_map
|
|
82
64
|
{
|
|
83
|
-
:'
|
|
65
|
+
:'account_subtype_name' => :'account_subtype_name',
|
|
66
|
+
:'account_type' => :'account_type',
|
|
84
67
|
:'apr' => :'apr',
|
|
85
68
|
:'apy' => :'apy',
|
|
86
69
|
:'available_balance' => :'available_balance',
|
|
87
|
-
:'available_credit' => :'available_credit',
|
|
88
70
|
:'balance' => :'balance',
|
|
89
71
|
:'cash_surrender_value' => :'cash_surrender_value',
|
|
90
72
|
:'credit_limit' => :'credit_limit',
|
|
91
73
|
:'currency_code' => :'currency_code',
|
|
92
|
-
:'day_payment_is_due' => :'day_payment_is_due',
|
|
93
74
|
:'death_benefit' => :'death_benefit',
|
|
94
|
-
:'id' => :'id',
|
|
95
75
|
:'interest_rate' => :'interest_rate',
|
|
76
|
+
:'is_business' => :'is_business',
|
|
96
77
|
:'is_closed' => :'is_closed',
|
|
97
78
|
:'is_hidden' => :'is_hidden',
|
|
98
|
-
:'last_payment' => :'last_payment',
|
|
99
|
-
:'last_payment_at' => :'last_payment_at',
|
|
100
79
|
:'loan_amount' => :'loan_amount',
|
|
101
|
-
:'matures_on' => :'matures_on',
|
|
102
80
|
:'metadata' => :'metadata',
|
|
103
|
-
:'minimum_balance' => :'minimum_balance',
|
|
104
|
-
:'minimum_payment' => :'minimum_payment',
|
|
105
81
|
:'name' => :'name',
|
|
106
82
|
:'nickname' => :'nickname',
|
|
107
83
|
:'original_balance' => :'original_balance',
|
|
108
|
-
:'
|
|
109
|
-
:'
|
|
110
|
-
:'
|
|
111
|
-
:'started_on' => :'started_on',
|
|
112
|
-
:'subtype' => :'subtype',
|
|
113
|
-
:'type' => :'type'
|
|
84
|
+
:'property_type' => :'property_type',
|
|
85
|
+
:'property_type_name' => :'property_type_name',
|
|
86
|
+
:'skip_webhook' => :'skip_webhook'
|
|
114
87
|
}
|
|
115
88
|
end
|
|
116
89
|
|
|
@@ -122,37 +95,28 @@ module MxPlatformRuby
|
|
|
122
95
|
# Attribute type mapping.
|
|
123
96
|
def self.openapi_types
|
|
124
97
|
{
|
|
125
|
-
:'
|
|
98
|
+
:'account_subtype_name' => :'String',
|
|
99
|
+
:'account_type' => :'Integer',
|
|
126
100
|
:'apr' => :'Float',
|
|
127
101
|
:'apy' => :'Float',
|
|
128
102
|
:'available_balance' => :'Float',
|
|
129
|
-
:'available_credit' => :'Float',
|
|
130
103
|
:'balance' => :'Float',
|
|
131
104
|
:'cash_surrender_value' => :'Float',
|
|
132
105
|
:'credit_limit' => :'Float',
|
|
133
106
|
:'currency_code' => :'String',
|
|
134
|
-
:'day_payment_is_due' => :'Integer',
|
|
135
107
|
:'death_benefit' => :'Integer',
|
|
136
|
-
:'id' => :'String',
|
|
137
108
|
:'interest_rate' => :'Float',
|
|
109
|
+
:'is_business' => :'Boolean',
|
|
138
110
|
:'is_closed' => :'Boolean',
|
|
139
111
|
:'is_hidden' => :'Boolean',
|
|
140
|
-
:'last_payment' => :'Float',
|
|
141
|
-
:'last_payment_at' => :'String',
|
|
142
112
|
:'loan_amount' => :'Float',
|
|
143
|
-
:'matures_on' => :'String',
|
|
144
113
|
:'metadata' => :'String',
|
|
145
|
-
:'minimum_balance' => :'Float',
|
|
146
|
-
:'minimum_payment' => :'Float',
|
|
147
114
|
:'name' => :'String',
|
|
148
115
|
:'nickname' => :'String',
|
|
149
116
|
:'original_balance' => :'Float',
|
|
150
|
-
:'
|
|
151
|
-
:'
|
|
152
|
-
:'
|
|
153
|
-
:'started_on' => :'String',
|
|
154
|
-
:'subtype' => :'String',
|
|
155
|
-
:'type' => :'String'
|
|
117
|
+
:'property_type' => :'Integer',
|
|
118
|
+
:'property_type_name' => :'String',
|
|
119
|
+
:'skip_webhook' => :'Boolean'
|
|
156
120
|
}
|
|
157
121
|
end
|
|
158
122
|
|
|
@@ -177,8 +141,12 @@ module MxPlatformRuby
|
|
|
177
141
|
h[k.to_sym] = v
|
|
178
142
|
}
|
|
179
143
|
|
|
180
|
-
if attributes.key?(:'
|
|
181
|
-
self.
|
|
144
|
+
if attributes.key?(:'account_subtype_name')
|
|
145
|
+
self.account_subtype_name = attributes[:'account_subtype_name']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'account_type')
|
|
149
|
+
self.account_type = attributes[:'account_type']
|
|
182
150
|
end
|
|
183
151
|
|
|
184
152
|
if attributes.key?(:'apr')
|
|
@@ -193,10 +161,6 @@ module MxPlatformRuby
|
|
|
193
161
|
self.available_balance = attributes[:'available_balance']
|
|
194
162
|
end
|
|
195
163
|
|
|
196
|
-
if attributes.key?(:'available_credit')
|
|
197
|
-
self.available_credit = attributes[:'available_credit']
|
|
198
|
-
end
|
|
199
|
-
|
|
200
164
|
if attributes.key?(:'balance')
|
|
201
165
|
self.balance = attributes[:'balance']
|
|
202
166
|
end
|
|
@@ -213,22 +177,18 @@ module MxPlatformRuby
|
|
|
213
177
|
self.currency_code = attributes[:'currency_code']
|
|
214
178
|
end
|
|
215
179
|
|
|
216
|
-
if attributes.key?(:'day_payment_is_due')
|
|
217
|
-
self.day_payment_is_due = attributes[:'day_payment_is_due']
|
|
218
|
-
end
|
|
219
|
-
|
|
220
180
|
if attributes.key?(:'death_benefit')
|
|
221
181
|
self.death_benefit = attributes[:'death_benefit']
|
|
222
182
|
end
|
|
223
183
|
|
|
224
|
-
if attributes.key?(:'id')
|
|
225
|
-
self.id = attributes[:'id']
|
|
226
|
-
end
|
|
227
|
-
|
|
228
184
|
if attributes.key?(:'interest_rate')
|
|
229
185
|
self.interest_rate = attributes[:'interest_rate']
|
|
230
186
|
end
|
|
231
187
|
|
|
188
|
+
if attributes.key?(:'is_business')
|
|
189
|
+
self.is_business = attributes[:'is_business']
|
|
190
|
+
end
|
|
191
|
+
|
|
232
192
|
if attributes.key?(:'is_closed')
|
|
233
193
|
self.is_closed = attributes[:'is_closed']
|
|
234
194
|
end
|
|
@@ -237,34 +197,14 @@ module MxPlatformRuby
|
|
|
237
197
|
self.is_hidden = attributes[:'is_hidden']
|
|
238
198
|
end
|
|
239
199
|
|
|
240
|
-
if attributes.key?(:'last_payment')
|
|
241
|
-
self.last_payment = attributes[:'last_payment']
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
if attributes.key?(:'last_payment_at')
|
|
245
|
-
self.last_payment_at = attributes[:'last_payment_at']
|
|
246
|
-
end
|
|
247
|
-
|
|
248
200
|
if attributes.key?(:'loan_amount')
|
|
249
201
|
self.loan_amount = attributes[:'loan_amount']
|
|
250
202
|
end
|
|
251
203
|
|
|
252
|
-
if attributes.key?(:'matures_on')
|
|
253
|
-
self.matures_on = attributes[:'matures_on']
|
|
254
|
-
end
|
|
255
|
-
|
|
256
204
|
if attributes.key?(:'metadata')
|
|
257
205
|
self.metadata = attributes[:'metadata']
|
|
258
206
|
end
|
|
259
207
|
|
|
260
|
-
if attributes.key?(:'minimum_balance')
|
|
261
|
-
self.minimum_balance = attributes[:'minimum_balance']
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
if attributes.key?(:'minimum_payment')
|
|
265
|
-
self.minimum_payment = attributes[:'minimum_payment']
|
|
266
|
-
end
|
|
267
|
-
|
|
268
208
|
if attributes.key?(:'name')
|
|
269
209
|
self.name = attributes[:'name']
|
|
270
210
|
end
|
|
@@ -277,28 +217,16 @@ module MxPlatformRuby
|
|
|
277
217
|
self.original_balance = attributes[:'original_balance']
|
|
278
218
|
end
|
|
279
219
|
|
|
280
|
-
if attributes.key?(:'
|
|
281
|
-
self.
|
|
282
|
-
end
|
|
283
|
-
|
|
284
|
-
if attributes.key?(:'payoff_balance')
|
|
285
|
-
self.payoff_balance = attributes[:'payoff_balance']
|
|
286
|
-
end
|
|
287
|
-
|
|
288
|
-
if attributes.key?(:'routing_number')
|
|
289
|
-
self.routing_number = attributes[:'routing_number']
|
|
290
|
-
end
|
|
291
|
-
|
|
292
|
-
if attributes.key?(:'started_on')
|
|
293
|
-
self.started_on = attributes[:'started_on']
|
|
220
|
+
if attributes.key?(:'property_type')
|
|
221
|
+
self.property_type = attributes[:'property_type']
|
|
294
222
|
end
|
|
295
223
|
|
|
296
|
-
if attributes.key?(:'
|
|
297
|
-
self.
|
|
224
|
+
if attributes.key?(:'property_type_name')
|
|
225
|
+
self.property_type_name = attributes[:'property_type_name']
|
|
298
226
|
end
|
|
299
227
|
|
|
300
|
-
if attributes.key?(:'
|
|
301
|
-
self.
|
|
228
|
+
if attributes.key?(:'skip_webhook')
|
|
229
|
+
self.skip_webhook = attributes[:'skip_webhook']
|
|
302
230
|
end
|
|
303
231
|
end
|
|
304
232
|
|
|
@@ -306,27 +234,22 @@ module MxPlatformRuby
|
|
|
306
234
|
# @return Array for valid properties with the reasons
|
|
307
235
|
def list_invalid_properties
|
|
308
236
|
invalid_properties = Array.new
|
|
309
|
-
if @
|
|
310
|
-
invalid_properties.push('invalid value for "
|
|
237
|
+
if @account_type.nil?
|
|
238
|
+
invalid_properties.push('invalid value for "account_type", account_type cannot be nil.')
|
|
311
239
|
end
|
|
312
240
|
|
|
313
241
|
if @name.nil?
|
|
314
242
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
315
243
|
end
|
|
316
244
|
|
|
317
|
-
if @type.nil?
|
|
318
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
319
|
-
end
|
|
320
|
-
|
|
321
245
|
invalid_properties
|
|
322
246
|
end
|
|
323
247
|
|
|
324
248
|
# Check to see if the all the properties in the model are valid
|
|
325
249
|
# @return true if the model is valid
|
|
326
250
|
def valid?
|
|
327
|
-
return false if @
|
|
251
|
+
return false if @account_type.nil?
|
|
328
252
|
return false if @name.nil?
|
|
329
|
-
return false if @type.nil?
|
|
330
253
|
true
|
|
331
254
|
end
|
|
332
255
|
|
|
@@ -335,37 +258,28 @@ module MxPlatformRuby
|
|
|
335
258
|
def ==(o)
|
|
336
259
|
return true if self.equal?(o)
|
|
337
260
|
self.class == o.class &&
|
|
338
|
-
|
|
261
|
+
account_subtype_name == o.account_subtype_name &&
|
|
262
|
+
account_type == o.account_type &&
|
|
339
263
|
apr == o.apr &&
|
|
340
264
|
apy == o.apy &&
|
|
341
265
|
available_balance == o.available_balance &&
|
|
342
|
-
available_credit == o.available_credit &&
|
|
343
266
|
balance == o.balance &&
|
|
344
267
|
cash_surrender_value == o.cash_surrender_value &&
|
|
345
268
|
credit_limit == o.credit_limit &&
|
|
346
269
|
currency_code == o.currency_code &&
|
|
347
|
-
day_payment_is_due == o.day_payment_is_due &&
|
|
348
270
|
death_benefit == o.death_benefit &&
|
|
349
|
-
id == o.id &&
|
|
350
271
|
interest_rate == o.interest_rate &&
|
|
272
|
+
is_business == o.is_business &&
|
|
351
273
|
is_closed == o.is_closed &&
|
|
352
274
|
is_hidden == o.is_hidden &&
|
|
353
|
-
last_payment == o.last_payment &&
|
|
354
|
-
last_payment_at == o.last_payment_at &&
|
|
355
275
|
loan_amount == o.loan_amount &&
|
|
356
|
-
matures_on == o.matures_on &&
|
|
357
276
|
metadata == o.metadata &&
|
|
358
|
-
minimum_balance == o.minimum_balance &&
|
|
359
|
-
minimum_payment == o.minimum_payment &&
|
|
360
277
|
name == o.name &&
|
|
361
278
|
nickname == o.nickname &&
|
|
362
279
|
original_balance == o.original_balance &&
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
started_on == o.started_on &&
|
|
367
|
-
subtype == o.subtype &&
|
|
368
|
-
type == o.type
|
|
280
|
+
property_type == o.property_type &&
|
|
281
|
+
property_type_name == o.property_type_name &&
|
|
282
|
+
skip_webhook == o.skip_webhook
|
|
369
283
|
end
|
|
370
284
|
|
|
371
285
|
# @see the `==` method
|
|
@@ -377,7 +291,7 @@ module MxPlatformRuby
|
|
|
377
291
|
# Calculates hash code according to all attributes.
|
|
378
292
|
# @return [Integer] Hash code
|
|
379
293
|
def hash
|
|
380
|
-
[
|
|
294
|
+
[account_subtype_name, account_type, apr, apy, available_balance, balance, cash_surrender_value, credit_limit, currency_code, death_benefit, interest_rate, is_business, is_closed, is_hidden, loan_amount, metadata, name, nickname, original_balance, property_type, property_type_name, skip_webhook].hash
|
|
381
295
|
end
|
|
382
296
|
|
|
383
297
|
# Builds the object from hash
|
|
@@ -17,6 +17,14 @@ module MxPlatformRuby
|
|
|
17
17
|
class AccountResponse
|
|
18
18
|
attr_accessor :account_number
|
|
19
19
|
|
|
20
|
+
attr_accessor :account_ownership
|
|
21
|
+
|
|
22
|
+
attr_accessor :annuity_policy_to_date
|
|
23
|
+
|
|
24
|
+
attr_accessor :annuity_provider
|
|
25
|
+
|
|
26
|
+
attr_accessor :annuity_term_year
|
|
27
|
+
|
|
20
28
|
attr_accessor :apr
|
|
21
29
|
|
|
22
30
|
attr_accessor :apy
|
|
@@ -49,14 +57,12 @@ module MxPlatformRuby
|
|
|
49
57
|
|
|
50
58
|
attr_accessor :imported_at
|
|
51
59
|
|
|
60
|
+
attr_accessor :interest_rate
|
|
61
|
+
|
|
52
62
|
attr_accessor :institution_code
|
|
53
63
|
|
|
54
64
|
attr_accessor :insured_name
|
|
55
65
|
|
|
56
|
-
attr_accessor :interest_rate
|
|
57
|
-
|
|
58
|
-
attr_accessor :is_business
|
|
59
|
-
|
|
60
66
|
attr_accessor :is_closed
|
|
61
67
|
|
|
62
68
|
attr_accessor :is_hidden
|
|
@@ -69,6 +75,8 @@ module MxPlatformRuby
|
|
|
69
75
|
|
|
70
76
|
attr_accessor :loan_amount
|
|
71
77
|
|
|
78
|
+
attr_accessor :margin_balance
|
|
79
|
+
|
|
72
80
|
attr_accessor :matures_on
|
|
73
81
|
|
|
74
82
|
attr_accessor :member_guid
|
|
@@ -97,14 +105,16 @@ module MxPlatformRuby
|
|
|
97
105
|
|
|
98
106
|
attr_accessor :premium_amount
|
|
99
107
|
|
|
100
|
-
attr_accessor :property_type
|
|
101
|
-
|
|
102
108
|
attr_accessor :routing_number
|
|
103
109
|
|
|
104
110
|
attr_accessor :started_on
|
|
105
111
|
|
|
106
112
|
attr_accessor :subtype
|
|
107
113
|
|
|
114
|
+
attr_accessor :today_ugl_amount
|
|
115
|
+
|
|
116
|
+
attr_accessor :today_ugl_percentage
|
|
117
|
+
|
|
108
118
|
attr_accessor :total_account_value
|
|
109
119
|
|
|
110
120
|
attr_accessor :type
|
|
@@ -119,6 +129,10 @@ module MxPlatformRuby
|
|
|
119
129
|
def self.attribute_map
|
|
120
130
|
{
|
|
121
131
|
:'account_number' => :'account_number',
|
|
132
|
+
:'account_ownership' => :'account_ownership',
|
|
133
|
+
:'annuity_policy_to_date' => :'annuity_policy_to_date',
|
|
134
|
+
:'annuity_provider' => :'annuity_provider',
|
|
135
|
+
:'annuity_term_year' => :'annuity_term_year',
|
|
122
136
|
:'apr' => :'apr',
|
|
123
137
|
:'apy' => :'apy',
|
|
124
138
|
:'available_balance' => :'available_balance',
|
|
@@ -135,16 +149,16 @@ module MxPlatformRuby
|
|
|
135
149
|
:'holdings_value' => :'holdings_value',
|
|
136
150
|
:'id' => :'id',
|
|
137
151
|
:'imported_at' => :'imported_at',
|
|
152
|
+
:'interest_rate' => :'interest_rate',
|
|
138
153
|
:'institution_code' => :'institution_code',
|
|
139
154
|
:'insured_name' => :'insured_name',
|
|
140
|
-
:'interest_rate' => :'interest_rate',
|
|
141
|
-
:'is_business' => :'is_business',
|
|
142
155
|
:'is_closed' => :'is_closed',
|
|
143
156
|
:'is_hidden' => :'is_hidden',
|
|
144
157
|
:'is_manual' => :'is_manual',
|
|
145
158
|
:'last_payment' => :'last_payment',
|
|
146
159
|
:'last_payment_at' => :'last_payment_at',
|
|
147
160
|
:'loan_amount' => :'loan_amount',
|
|
161
|
+
:'margin_balance' => :'margin_balance',
|
|
148
162
|
:'matures_on' => :'matures_on',
|
|
149
163
|
:'member_guid' => :'member_guid',
|
|
150
164
|
:'member_id' => :'member_id',
|
|
@@ -159,10 +173,11 @@ module MxPlatformRuby
|
|
|
159
173
|
:'payment_due_at' => :'payment_due_at',
|
|
160
174
|
:'payoff_balance' => :'payoff_balance',
|
|
161
175
|
:'premium_amount' => :'premium_amount',
|
|
162
|
-
:'property_type' => :'property_type',
|
|
163
176
|
:'routing_number' => :'routing_number',
|
|
164
177
|
:'started_on' => :'started_on',
|
|
165
178
|
:'subtype' => :'subtype',
|
|
179
|
+
:'today_ugl_amount' => :'today_ugl_amount',
|
|
180
|
+
:'today_ugl_percentage' => :'today_ugl_percentage',
|
|
166
181
|
:'total_account_value' => :'total_account_value',
|
|
167
182
|
:'type' => :'type',
|
|
168
183
|
:'updated_at' => :'updated_at',
|
|
@@ -180,6 +195,10 @@ module MxPlatformRuby
|
|
|
180
195
|
def self.openapi_types
|
|
181
196
|
{
|
|
182
197
|
:'account_number' => :'String',
|
|
198
|
+
:'account_ownership' => :'String',
|
|
199
|
+
:'annuity_policy_to_date' => :'String',
|
|
200
|
+
:'annuity_provider' => :'String',
|
|
201
|
+
:'annuity_term_year' => :'Float',
|
|
183
202
|
:'apr' => :'Float',
|
|
184
203
|
:'apy' => :'Float',
|
|
185
204
|
:'available_balance' => :'Float',
|
|
@@ -196,16 +215,16 @@ module MxPlatformRuby
|
|
|
196
215
|
:'holdings_value' => :'Float',
|
|
197
216
|
:'id' => :'String',
|
|
198
217
|
:'imported_at' => :'String',
|
|
218
|
+
:'interest_rate' => :'Float',
|
|
199
219
|
:'institution_code' => :'String',
|
|
200
220
|
:'insured_name' => :'String',
|
|
201
|
-
:'interest_rate' => :'Float',
|
|
202
|
-
:'is_business' => :'Boolean',
|
|
203
221
|
:'is_closed' => :'Boolean',
|
|
204
222
|
:'is_hidden' => :'Boolean',
|
|
205
223
|
:'is_manual' => :'Boolean',
|
|
206
224
|
:'last_payment' => :'Float',
|
|
207
225
|
:'last_payment_at' => :'String',
|
|
208
226
|
:'loan_amount' => :'Float',
|
|
227
|
+
:'margin_balance' => :'Float',
|
|
209
228
|
:'matures_on' => :'String',
|
|
210
229
|
:'member_guid' => :'String',
|
|
211
230
|
:'member_id' => :'String',
|
|
@@ -220,10 +239,11 @@ module MxPlatformRuby
|
|
|
220
239
|
:'payment_due_at' => :'String',
|
|
221
240
|
:'payoff_balance' => :'Float',
|
|
222
241
|
:'premium_amount' => :'Float',
|
|
223
|
-
:'property_type' => :'String',
|
|
224
242
|
:'routing_number' => :'String',
|
|
225
243
|
:'started_on' => :'String',
|
|
226
244
|
:'subtype' => :'String',
|
|
245
|
+
:'today_ugl_amount' => :'Float',
|
|
246
|
+
:'today_ugl_percentage' => :'Float',
|
|
227
247
|
:'total_account_value' => :'Float',
|
|
228
248
|
:'type' => :'String',
|
|
229
249
|
:'updated_at' => :'String',
|
|
@@ -236,6 +256,10 @@ module MxPlatformRuby
|
|
|
236
256
|
def self.openapi_nullable
|
|
237
257
|
Set.new([
|
|
238
258
|
:'account_number',
|
|
259
|
+
:'account_ownership',
|
|
260
|
+
:'annuity_policy_to_date',
|
|
261
|
+
:'annuity_provider',
|
|
262
|
+
:'annuity_term_year',
|
|
239
263
|
:'apr',
|
|
240
264
|
:'apy',
|
|
241
265
|
:'available_balance',
|
|
@@ -243,7 +267,6 @@ module MxPlatformRuby
|
|
|
243
267
|
:'balance',
|
|
244
268
|
:'cash_balance',
|
|
245
269
|
:'cash_surrender_value',
|
|
246
|
-
:'created_at',
|
|
247
270
|
:'credit_limit',
|
|
248
271
|
:'currency_code',
|
|
249
272
|
:'day_payment_is_due',
|
|
@@ -252,16 +275,16 @@ module MxPlatformRuby
|
|
|
252
275
|
:'holdings_value',
|
|
253
276
|
:'id',
|
|
254
277
|
:'imported_at',
|
|
278
|
+
:'interest_rate',
|
|
255
279
|
:'institution_code',
|
|
256
280
|
:'insured_name',
|
|
257
|
-
:'interest_rate',
|
|
258
|
-
:'is_business',
|
|
259
281
|
:'is_closed',
|
|
260
282
|
:'is_hidden',
|
|
261
283
|
:'is_manual',
|
|
262
284
|
:'last_payment',
|
|
263
285
|
:'last_payment_at',
|
|
264
286
|
:'loan_amount',
|
|
287
|
+
:'margin_balance',
|
|
265
288
|
:'matures_on',
|
|
266
289
|
:'member_guid',
|
|
267
290
|
:'member_id',
|
|
@@ -276,10 +299,11 @@ module MxPlatformRuby
|
|
|
276
299
|
:'payment_due_at',
|
|
277
300
|
:'payoff_balance',
|
|
278
301
|
:'premium_amount',
|
|
279
|
-
:'property_type',
|
|
280
302
|
:'routing_number',
|
|
281
303
|
:'started_on',
|
|
282
304
|
:'subtype',
|
|
305
|
+
:'today_ugl_amount',
|
|
306
|
+
:'today_ugl_percentage',
|
|
283
307
|
:'total_account_value',
|
|
284
308
|
:'type',
|
|
285
309
|
:'updated_at',
|
|
@@ -307,6 +331,22 @@ module MxPlatformRuby
|
|
|
307
331
|
self.account_number = attributes[:'account_number']
|
|
308
332
|
end
|
|
309
333
|
|
|
334
|
+
if attributes.key?(:'account_ownership')
|
|
335
|
+
self.account_ownership = attributes[:'account_ownership']
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
if attributes.key?(:'annuity_policy_to_date')
|
|
339
|
+
self.annuity_policy_to_date = attributes[:'annuity_policy_to_date']
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
if attributes.key?(:'annuity_provider')
|
|
343
|
+
self.annuity_provider = attributes[:'annuity_provider']
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
if attributes.key?(:'annuity_term_year')
|
|
347
|
+
self.annuity_term_year = attributes[:'annuity_term_year']
|
|
348
|
+
end
|
|
349
|
+
|
|
310
350
|
if attributes.key?(:'apr')
|
|
311
351
|
self.apr = attributes[:'apr']
|
|
312
352
|
end
|
|
@@ -371,6 +411,10 @@ module MxPlatformRuby
|
|
|
371
411
|
self.imported_at = attributes[:'imported_at']
|
|
372
412
|
end
|
|
373
413
|
|
|
414
|
+
if attributes.key?(:'interest_rate')
|
|
415
|
+
self.interest_rate = attributes[:'interest_rate']
|
|
416
|
+
end
|
|
417
|
+
|
|
374
418
|
if attributes.key?(:'institution_code')
|
|
375
419
|
self.institution_code = attributes[:'institution_code']
|
|
376
420
|
end
|
|
@@ -379,14 +423,6 @@ module MxPlatformRuby
|
|
|
379
423
|
self.insured_name = attributes[:'insured_name']
|
|
380
424
|
end
|
|
381
425
|
|
|
382
|
-
if attributes.key?(:'interest_rate')
|
|
383
|
-
self.interest_rate = attributes[:'interest_rate']
|
|
384
|
-
end
|
|
385
|
-
|
|
386
|
-
if attributes.key?(:'is_business')
|
|
387
|
-
self.is_business = attributes[:'is_business']
|
|
388
|
-
end
|
|
389
|
-
|
|
390
426
|
if attributes.key?(:'is_closed')
|
|
391
427
|
self.is_closed = attributes[:'is_closed']
|
|
392
428
|
end
|
|
@@ -411,6 +447,10 @@ module MxPlatformRuby
|
|
|
411
447
|
self.loan_amount = attributes[:'loan_amount']
|
|
412
448
|
end
|
|
413
449
|
|
|
450
|
+
if attributes.key?(:'margin_balance')
|
|
451
|
+
self.margin_balance = attributes[:'margin_balance']
|
|
452
|
+
end
|
|
453
|
+
|
|
414
454
|
if attributes.key?(:'matures_on')
|
|
415
455
|
self.matures_on = attributes[:'matures_on']
|
|
416
456
|
end
|
|
@@ -467,10 +507,6 @@ module MxPlatformRuby
|
|
|
467
507
|
self.premium_amount = attributes[:'premium_amount']
|
|
468
508
|
end
|
|
469
509
|
|
|
470
|
-
if attributes.key?(:'property_type')
|
|
471
|
-
self.property_type = attributes[:'property_type']
|
|
472
|
-
end
|
|
473
|
-
|
|
474
510
|
if attributes.key?(:'routing_number')
|
|
475
511
|
self.routing_number = attributes[:'routing_number']
|
|
476
512
|
end
|
|
@@ -483,6 +519,14 @@ module MxPlatformRuby
|
|
|
483
519
|
self.subtype = attributes[:'subtype']
|
|
484
520
|
end
|
|
485
521
|
|
|
522
|
+
if attributes.key?(:'today_ugl_amount')
|
|
523
|
+
self.today_ugl_amount = attributes[:'today_ugl_amount']
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
if attributes.key?(:'today_ugl_percentage')
|
|
527
|
+
self.today_ugl_percentage = attributes[:'today_ugl_percentage']
|
|
528
|
+
end
|
|
529
|
+
|
|
486
530
|
if attributes.key?(:'total_account_value')
|
|
487
531
|
self.total_account_value = attributes[:'total_account_value']
|
|
488
532
|
end
|
|
@@ -523,6 +567,10 @@ module MxPlatformRuby
|
|
|
523
567
|
return true if self.equal?(o)
|
|
524
568
|
self.class == o.class &&
|
|
525
569
|
account_number == o.account_number &&
|
|
570
|
+
account_ownership == o.account_ownership &&
|
|
571
|
+
annuity_policy_to_date == o.annuity_policy_to_date &&
|
|
572
|
+
annuity_provider == o.annuity_provider &&
|
|
573
|
+
annuity_term_year == o.annuity_term_year &&
|
|
526
574
|
apr == o.apr &&
|
|
527
575
|
apy == o.apy &&
|
|
528
576
|
available_balance == o.available_balance &&
|
|
@@ -539,16 +587,16 @@ module MxPlatformRuby
|
|
|
539
587
|
holdings_value == o.holdings_value &&
|
|
540
588
|
id == o.id &&
|
|
541
589
|
imported_at == o.imported_at &&
|
|
590
|
+
interest_rate == o.interest_rate &&
|
|
542
591
|
institution_code == o.institution_code &&
|
|
543
592
|
insured_name == o.insured_name &&
|
|
544
|
-
interest_rate == o.interest_rate &&
|
|
545
|
-
is_business == o.is_business &&
|
|
546
593
|
is_closed == o.is_closed &&
|
|
547
594
|
is_hidden == o.is_hidden &&
|
|
548
595
|
is_manual == o.is_manual &&
|
|
549
596
|
last_payment == o.last_payment &&
|
|
550
597
|
last_payment_at == o.last_payment_at &&
|
|
551
598
|
loan_amount == o.loan_amount &&
|
|
599
|
+
margin_balance == o.margin_balance &&
|
|
552
600
|
matures_on == o.matures_on &&
|
|
553
601
|
member_guid == o.member_guid &&
|
|
554
602
|
member_id == o.member_id &&
|
|
@@ -563,10 +611,11 @@ module MxPlatformRuby
|
|
|
563
611
|
payment_due_at == o.payment_due_at &&
|
|
564
612
|
payoff_balance == o.payoff_balance &&
|
|
565
613
|
premium_amount == o.premium_amount &&
|
|
566
|
-
property_type == o.property_type &&
|
|
567
614
|
routing_number == o.routing_number &&
|
|
568
615
|
started_on == o.started_on &&
|
|
569
616
|
subtype == o.subtype &&
|
|
617
|
+
today_ugl_amount == o.today_ugl_amount &&
|
|
618
|
+
today_ugl_percentage == o.today_ugl_percentage &&
|
|
570
619
|
total_account_value == o.total_account_value &&
|
|
571
620
|
type == o.type &&
|
|
572
621
|
updated_at == o.updated_at &&
|
|
@@ -583,7 +632,7 @@ module MxPlatformRuby
|
|
|
583
632
|
# Calculates hash code according to all attributes.
|
|
584
633
|
# @return [Integer] Hash code
|
|
585
634
|
def hash
|
|
586
|
-
[account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, institution_code, insured_name,
|
|
635
|
+
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, interest_rate, institution_code, insured_name, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, routing_number, started_on, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, type, updated_at, user_guid, user_id].hash
|
|
587
636
|
end
|
|
588
637
|
|
|
589
638
|
# Builds the object from hash
|
data/openapi/config.yml
CHANGED
|
@@ -25,31 +25,31 @@ describe MxPlatformRuby::AccountCreateRequest do
|
|
|
25
25
|
expect(instance).to be_instance_of(MxPlatformRuby::AccountCreateRequest)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
|
-
describe 'test attribute "
|
|
28
|
+
describe 'test attribute "account_subtype_name"' do
|
|
29
29
|
it 'should work' do
|
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
describe 'test attribute "
|
|
34
|
+
describe 'test attribute "account_type"' do
|
|
35
35
|
it 'should work' do
|
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
describe 'test attribute "
|
|
40
|
+
describe 'test attribute "apr"' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
describe 'test attribute "
|
|
46
|
+
describe 'test attribute "apy"' do
|
|
47
47
|
it 'should work' do
|
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
describe 'test attribute "
|
|
52
|
+
describe 'test attribute "available_balance"' do
|
|
53
53
|
it 'should work' do
|
|
54
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
55
|
end
|
|
@@ -79,25 +79,19 @@ describe MxPlatformRuby::AccountCreateRequest do
|
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
describe 'test attribute "day_payment_is_due"' do
|
|
83
|
-
it 'should work' do
|
|
84
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
|
|
88
82
|
describe 'test attribute "death_benefit"' do
|
|
89
83
|
it 'should work' do
|
|
90
84
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
85
|
end
|
|
92
86
|
end
|
|
93
87
|
|
|
94
|
-
describe 'test attribute "
|
|
88
|
+
describe 'test attribute "interest_rate"' do
|
|
95
89
|
it 'should work' do
|
|
96
90
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
91
|
end
|
|
98
92
|
end
|
|
99
93
|
|
|
100
|
-
describe 'test attribute "
|
|
94
|
+
describe 'test attribute "is_business"' do
|
|
101
95
|
it 'should work' do
|
|
102
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
97
|
end
|
|
@@ -115,48 +109,18 @@ describe MxPlatformRuby::AccountCreateRequest do
|
|
|
115
109
|
end
|
|
116
110
|
end
|
|
117
111
|
|
|
118
|
-
describe 'test attribute "last_payment"' do
|
|
119
|
-
it 'should work' do
|
|
120
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
describe 'test attribute "last_payment_at"' do
|
|
125
|
-
it 'should work' do
|
|
126
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
127
|
-
end
|
|
128
|
-
end
|
|
129
|
-
|
|
130
112
|
describe 'test attribute "loan_amount"' do
|
|
131
113
|
it 'should work' do
|
|
132
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
133
115
|
end
|
|
134
116
|
end
|
|
135
117
|
|
|
136
|
-
describe 'test attribute "matures_on"' do
|
|
137
|
-
it 'should work' do
|
|
138
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
139
|
-
end
|
|
140
|
-
end
|
|
141
|
-
|
|
142
118
|
describe 'test attribute "metadata"' do
|
|
143
119
|
it 'should work' do
|
|
144
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
121
|
end
|
|
146
122
|
end
|
|
147
123
|
|
|
148
|
-
describe 'test attribute "minimum_balance"' do
|
|
149
|
-
it 'should work' do
|
|
150
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
151
|
-
end
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
describe 'test attribute "minimum_payment"' do
|
|
155
|
-
it 'should work' do
|
|
156
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
157
|
-
end
|
|
158
|
-
end
|
|
159
|
-
|
|
160
124
|
describe 'test attribute "name"' do
|
|
161
125
|
it 'should work' do
|
|
162
126
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -175,37 +139,19 @@ describe MxPlatformRuby::AccountCreateRequest do
|
|
|
175
139
|
end
|
|
176
140
|
end
|
|
177
141
|
|
|
178
|
-
describe 'test attribute "
|
|
179
|
-
it 'should work' do
|
|
180
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
describe 'test attribute "payoff_balance"' do
|
|
185
|
-
it 'should work' do
|
|
186
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
describe 'test attribute "routing_number"' do
|
|
191
|
-
it 'should work' do
|
|
192
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
193
|
-
end
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
describe 'test attribute "started_on"' do
|
|
142
|
+
describe 'test attribute "property_type"' do
|
|
197
143
|
it 'should work' do
|
|
198
144
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
199
145
|
end
|
|
200
146
|
end
|
|
201
147
|
|
|
202
|
-
describe 'test attribute "
|
|
148
|
+
describe 'test attribute "property_type_name"' do
|
|
203
149
|
it 'should work' do
|
|
204
150
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
205
151
|
end
|
|
206
152
|
end
|
|
207
153
|
|
|
208
|
-
describe 'test attribute "
|
|
154
|
+
describe 'test attribute "skip_webhook"' do
|
|
209
155
|
it 'should work' do
|
|
210
156
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
211
157
|
end
|
|
@@ -31,6 +31,30 @@ describe MxPlatformRuby::AccountResponse do
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
describe 'test attribute "account_ownership"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "annuity_policy_to_date"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "annuity_provider"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "annuity_term_year"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
34
58
|
describe 'test attribute "apr"' do
|
|
35
59
|
it 'should work' do
|
|
36
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -127,25 +151,19 @@ describe MxPlatformRuby::AccountResponse do
|
|
|
127
151
|
end
|
|
128
152
|
end
|
|
129
153
|
|
|
130
|
-
describe 'test attribute "
|
|
131
|
-
it 'should work' do
|
|
132
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
133
|
-
end
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
describe 'test attribute "insured_name"' do
|
|
154
|
+
describe 'test attribute "interest_rate"' do
|
|
137
155
|
it 'should work' do
|
|
138
156
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
139
157
|
end
|
|
140
158
|
end
|
|
141
159
|
|
|
142
|
-
describe 'test attribute "
|
|
160
|
+
describe 'test attribute "institution_code"' do
|
|
143
161
|
it 'should work' do
|
|
144
162
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
163
|
end
|
|
146
164
|
end
|
|
147
165
|
|
|
148
|
-
describe 'test attribute "
|
|
166
|
+
describe 'test attribute "insured_name"' do
|
|
149
167
|
it 'should work' do
|
|
150
168
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
151
169
|
end
|
|
@@ -187,6 +205,12 @@ describe MxPlatformRuby::AccountResponse do
|
|
|
187
205
|
end
|
|
188
206
|
end
|
|
189
207
|
|
|
208
|
+
describe 'test attribute "margin_balance"' do
|
|
209
|
+
it 'should work' do
|
|
210
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
190
214
|
describe 'test attribute "matures_on"' do
|
|
191
215
|
it 'should work' do
|
|
192
216
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -271,25 +295,31 @@ describe MxPlatformRuby::AccountResponse do
|
|
|
271
295
|
end
|
|
272
296
|
end
|
|
273
297
|
|
|
274
|
-
describe 'test attribute "
|
|
298
|
+
describe 'test attribute "routing_number"' do
|
|
275
299
|
it 'should work' do
|
|
276
300
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
277
301
|
end
|
|
278
302
|
end
|
|
279
303
|
|
|
280
|
-
describe 'test attribute "
|
|
304
|
+
describe 'test attribute "started_on"' do
|
|
281
305
|
it 'should work' do
|
|
282
306
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
283
307
|
end
|
|
284
308
|
end
|
|
285
309
|
|
|
286
|
-
describe 'test attribute "
|
|
310
|
+
describe 'test attribute "subtype"' do
|
|
287
311
|
it 'should work' do
|
|
288
312
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
289
313
|
end
|
|
290
314
|
end
|
|
291
315
|
|
|
292
|
-
describe 'test attribute "
|
|
316
|
+
describe 'test attribute "today_ugl_amount"' do
|
|
317
|
+
it 'should work' do
|
|
318
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
describe 'test attribute "today_ugl_percentage"' do
|
|
293
323
|
it 'should work' do
|
|
294
324
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
295
325
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mx-platform-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MX
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|