atrium-ruby 2.9.0 → 2.10.4
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/README.md +3 -2
- data/docs/Account.md +4 -0
- data/docs/ConnectWidgetRequestBody.md +4 -0
- data/docs/Member.md +1 -0
- data/docs/MemberCreateRequest.md +4 -1
- data/docs/MembersApi.md +44 -0
- data/docs/MerchantsResponseBody.md +1 -1
- data/docs/Transaction.md +1 -0
- data/lib/atrium-ruby/api/members_api.rb +64 -0
- data/lib/atrium-ruby/models/account.rb +37 -1
- data/lib/atrium-ruby/models/connect_widget_request_body.rb +40 -4
- data/lib/atrium-ruby/models/member.rb +10 -1
- data/lib/atrium-ruby/models/member_create_request.rb +31 -9
- data/lib/atrium-ruby/models/merchants_response_body.rb +8 -8
- data/lib/atrium-ruby/models/transaction.rb +10 -1
- data/lib/atrium-ruby/version.rb +1 -1
- data/spec/api/members_api_spec.rb +15 -0
- data/spec/models/account_spec.rb +24 -0
- data/spec/models/connect_widget_request_body_spec.rb +24 -0
- data/spec/models/member_create_request_spec.rb +18 -0
- data/spec/models/member_spec.rb +6 -0
- data/spec/models/merchants_response_body_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +6 -0
- metadata +18 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24f768a257df30ed642e81955431e2c62d941325d38562d83ce265edc09a4f3f
|
|
4
|
+
data.tar.gz: 77435733ff97f63473b2b3973c8fdf6a635f77d786d9dbf63841087b011c6fc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '058a53f0154d39505555539773b2ff9b748f2c9c7bddb2c6f44b8850178dab29e71c44ff81cd83e4d3f408dd2e54474edca17427c849763a4a95a6c26e36f8f4'
|
|
7
|
+
data.tar.gz: 207dd3f3d3fcdb03a7c1fb6bf0c6a9695aeeb070028af3a4357318399fdaad1981c11734b67dd3659a249cd156b80aa08f30085585a851aa755f3203205cd385
|
data/README.md
CHANGED
|
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
|
|
|
17
17
|
Then either install the gem locally:
|
|
18
18
|
|
|
19
19
|
```shell
|
|
20
|
-
gem install ./atrium-ruby-2.
|
|
20
|
+
gem install ./atrium-ruby-2.10.4.gem
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Finally add this to the Gemfile:
|
|
24
24
|
|
|
25
|
-
gem 'atrium-ruby', '~> 2.
|
|
25
|
+
gem 'atrium-ruby', '~> 2.10.4'
|
|
26
26
|
|
|
27
27
|
### Install from Git
|
|
28
28
|
|
|
@@ -96,6 +96,7 @@ Class | Method | HTTP request | Description
|
|
|
96
96
|
*Atrium::MembersApi* | [**list_members**](docs/MembersApi.md#list_members) | **GET** /users/{user_guid}/members | List members
|
|
97
97
|
*Atrium::MembersApi* | [**read_member**](docs/MembersApi.md#read_member) | **GET** /users/{user_guid}/members/{member_guid} | Read member
|
|
98
98
|
*Atrium::MembersApi* | [**read_member_status**](docs/MembersApi.md#read_member_status) | **GET** /users/{user_guid}/members/{member_guid}/status | Read member connection status
|
|
99
|
+
*Atrium::MembersApi* | [**read_o_auth_window_uri**](docs/MembersApi.md#read_o_auth_window_uri) | **GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Read OAuth Window URI
|
|
99
100
|
*Atrium::MembersApi* | [**resume_member**](docs/MembersApi.md#resume_member) | **PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation from MFA
|
|
100
101
|
*Atrium::MembersApi* | [**update_member**](docs/MembersApi.md#update_member) | **PUT** /users/{user_guid}/members/{member_guid} | Update member
|
|
101
102
|
*Atrium::MerchantsApi* | [**list_merchant_locations**](docs/MerchantsApi.md#list_merchant_locations) | **GET** /merchants/{merchant_guid}/merchant_locations | List merchant locations
|
data/docs/Account.md
CHANGED
|
@@ -18,10 +18,12 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**death_benefit** | **Float** | | [optional]
|
|
19
19
|
**guid** | **String** | | [optional]
|
|
20
20
|
**holdings_value** | **Float** | | [optional]
|
|
21
|
+
**insured_name** | **String** | | [optional]
|
|
21
22
|
**institution_code** | **String** | | [optional]
|
|
22
23
|
**interest_rate** | **Float** | | [optional]
|
|
23
24
|
**is_closed** | **BOOLEAN** | | [optional]
|
|
24
25
|
**last_payment** | **Float** | | [optional]
|
|
26
|
+
**last_payment_at** | **String** | | [optional]
|
|
25
27
|
**loan_amount** | **Float** | | [optional]
|
|
26
28
|
**matures_on** | **String** | | [optional]
|
|
27
29
|
**member_guid** | **String** | | [optional]
|
|
@@ -31,6 +33,8 @@ Name | Type | Description | Notes
|
|
|
31
33
|
**original_balance** | **Float** | | [optional]
|
|
32
34
|
**payment_due_at** | **String** | | [optional]
|
|
33
35
|
**payoff_balance** | **Float** | | [optional]
|
|
36
|
+
**pay_out_amount** | **Float** | | [optional]
|
|
37
|
+
**premium_amount** | **Float** | | [optional]
|
|
34
38
|
**started_on** | **String** | | [optional]
|
|
35
39
|
**subtype** | **String** | | [optional]
|
|
36
40
|
**total_account_value** | **Float** | | [optional]
|
|
@@ -4,11 +4,15 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**is_mobile_webview** | **BOOLEAN** | | [optional]
|
|
7
|
+
**color_scheme** | **String** | | [optional]
|
|
7
8
|
**current_institution_code** | **String** | | [optional]
|
|
8
9
|
**current_member_guid** | **String** | | [optional]
|
|
9
10
|
**disable_institution_search** | **BOOLEAN** | | [optional]
|
|
11
|
+
**include_transactions** | **BOOLEAN** | | [optional]
|
|
10
12
|
**mode** | **String** | | [optional]
|
|
11
13
|
**ui_message_version** | **Float** | | [optional]
|
|
14
|
+
**ui_message_webview_url_scheme** | **String** | | [optional]
|
|
12
15
|
**update_credentials** | **BOOLEAN** | | [optional]
|
|
16
|
+
**wait_for_full_aggregation** | **BOOLEAN** | | [optional]
|
|
13
17
|
|
|
14
18
|
|
data/docs/Member.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**is_being_aggregated** | **BOOLEAN** | | [optional]
|
|
12
12
|
**metadata** | **String** | | [optional]
|
|
13
13
|
**name** | **String** | | [optional]
|
|
14
|
+
**oauth_window_uri** | **String** | | [optional]
|
|
14
15
|
**status** | **String** | | [optional]
|
|
15
16
|
**successfully_aggregated_at** | **String** | | [optional]
|
|
16
17
|
**user_guid** | **String** | | [optional]
|
data/docs/MemberCreateRequest.md
CHANGED
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**credentials** | [**Array<CredentialRequest>**](CredentialRequest.md) | |
|
|
6
|
+
**credentials** | [**Array<CredentialRequest>**](CredentialRequest.md) | | [optional]
|
|
7
7
|
**identifier** | **String** | | [optional]
|
|
8
|
+
**is_oauth** | **BOOLEAN** | | [optional]
|
|
8
9
|
**institution_code** | **String** | |
|
|
9
10
|
**metadata** | **String** | | [optional]
|
|
11
|
+
**referral_source** | **String** | | [optional]
|
|
10
12
|
**skip_aggregation** | **BOOLEAN** | | [optional]
|
|
13
|
+
**ui_message_webview_url_scheme** | **String** | | [optional]
|
|
11
14
|
|
|
12
15
|
|
data/docs/MembersApi.md
CHANGED
|
@@ -14,6 +14,7 @@ Method | HTTP request | Description
|
|
|
14
14
|
[**list_members**](MembersApi.md#list_members) | **GET** /users/{user_guid}/members | List members
|
|
15
15
|
[**read_member**](MembersApi.md#read_member) | **GET** /users/{user_guid}/members/{member_guid} | Read member
|
|
16
16
|
[**read_member_status**](MembersApi.md#read_member_status) | **GET** /users/{user_guid}/members/{member_guid}/status | Read member connection status
|
|
17
|
+
[**read_o_auth_window_uri**](MembersApi.md#read_o_auth_window_uri) | **GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Read OAuth Window URI
|
|
17
18
|
[**resume_member**](MembersApi.md#resume_member) | **PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation from MFA
|
|
18
19
|
[**update_member**](MembersApi.md#update_member) | **PUT** /users/{user_guid}/members/{member_guid} | Update member
|
|
19
20
|
|
|
@@ -481,6 +482,49 @@ Name | Type | Description | Notes
|
|
|
481
482
|
|
|
482
483
|
[**MemberConnectionStatusResponseBody**](MemberConnectionStatusResponseBody.md)
|
|
483
484
|
|
|
485
|
+
# **read_o_auth_window_uri**
|
|
486
|
+
> MemberResponseBody read_o_auth_window_uri(member_guid, user_guid, , opts)
|
|
487
|
+
|
|
488
|
+
Read OAuth Window URI
|
|
489
|
+
|
|
490
|
+
This endpoint will generate an `oauth_window_uri` for the specified `member`.
|
|
491
|
+
|
|
492
|
+
### Example
|
|
493
|
+
```ruby
|
|
494
|
+
# load the gem
|
|
495
|
+
require 'atrium-ruby'
|
|
496
|
+
|
|
497
|
+
client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
|
|
498
|
+
|
|
499
|
+
member_guid = "MBR-123" # String | The unique identifier for a `member`.
|
|
500
|
+
user_guid = "USR-123" # String | The unique identifier for a `user`.
|
|
501
|
+
opts = {
|
|
502
|
+
referral_source: "BROWSER", # String | Should be either BROWSER or APP depending on the implementation.
|
|
503
|
+
ui_message_webview_url_scheme: "ui_message_webview_url_scheme_example" # String | A scheme for routing the user back to the application state they were previously in.
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
begin
|
|
507
|
+
#Read OAuth Window URI
|
|
508
|
+
response = client.members.read_o_auth_window_uri(member_guid, user_guid, , opts)
|
|
509
|
+
p response
|
|
510
|
+
rescue Atrium::ApiError => e
|
|
511
|
+
puts "Exception when calling MembersApi->read_o_auth_window_uri: #{e}"
|
|
512
|
+
end
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
### Parameters
|
|
516
|
+
|
|
517
|
+
Name | Type | Description | Notes
|
|
518
|
+
------------- | ------------- | ------------- | -------------
|
|
519
|
+
**member_guid** | **String**| The unique identifier for a `member`. |
|
|
520
|
+
**user_guid** | **String**| The unique identifier for a `user`. |
|
|
521
|
+
**referral_source** | **String**| Should be either BROWSER or APP depending on the implementation. | [optional]
|
|
522
|
+
**ui_message_webview_url_scheme** | **String**| A scheme for routing the user back to the application state they were previously in. | [optional]
|
|
523
|
+
|
|
524
|
+
### Return type
|
|
525
|
+
|
|
526
|
+
[**MemberResponseBody**](MemberResponseBody.md)
|
|
527
|
+
|
|
484
528
|
# **resume_member**
|
|
485
529
|
> MemberResponseBody resume_member(member_guid, user_guid, body)
|
|
486
530
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
6
|
+
**merchants** | [**Array<Merchant>**](Merchant.md) | | [optional]
|
|
7
7
|
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
8
8
|
|
|
9
9
|
|
data/docs/Transaction.md
CHANGED
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**is_international** | **BOOLEAN** | | [optional]
|
|
22
22
|
**is_overdraft_fee** | **BOOLEAN** | | [optional]
|
|
23
23
|
**is_payroll_advance** | **BOOLEAN** | | [optional]
|
|
24
|
+
**is_subscription** | **BOOLEAN** | | [optional]
|
|
24
25
|
**latitude** | **Float** | | [optional]
|
|
25
26
|
**longitude** | **Float** | | [optional]
|
|
26
27
|
**member_guid** | **String** | | [optional]
|
|
@@ -154,6 +154,19 @@ module Atrium
|
|
|
154
154
|
data
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
+
# Read OAuth Window URI
|
|
158
|
+
# This endpoint will generate an `oauth_window_uri` for the specified `member`.
|
|
159
|
+
# @param member_guid The unique identifier for a `member`.
|
|
160
|
+
# @param user_guid The unique identifier for a `user`.
|
|
161
|
+
# @param [Hash] opts the optional parameters
|
|
162
|
+
# @option opts [String] :referral_source Should be either BROWSER or APP depending on the implementation.
|
|
163
|
+
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
|
|
164
|
+
# @return [MemberResponseBody]
|
|
165
|
+
def read_o_auth_window_uri(member_guid, user_guid, opts = {})
|
|
166
|
+
data, _status_code, _headers = read_o_auth_window_uri_with_http_info(member_guid, user_guid, opts)
|
|
167
|
+
data
|
|
168
|
+
end
|
|
169
|
+
|
|
157
170
|
# Resume aggregation from MFA
|
|
158
171
|
# This endpoint answers the challenges needed when a member has been challenged by multi-factor authentication.
|
|
159
172
|
# @param member_guid The unique identifier for a `member`.
|
|
@@ -761,6 +774,57 @@ module Atrium
|
|
|
761
774
|
end
|
|
762
775
|
return data, status_code, headers
|
|
763
776
|
end
|
|
777
|
+
# Read OAuth Window URI
|
|
778
|
+
# This endpoint will generate an `oauth_window_uri` for the specified `member`.
|
|
779
|
+
# @param member_guid The unique identifier for a `member`.
|
|
780
|
+
# @param user_guid The unique identifier for a `user`.
|
|
781
|
+
# @param [Hash] opts the optional parameters
|
|
782
|
+
# @option opts [String] :referral_source Should be either BROWSER or APP depending on the implementation.
|
|
783
|
+
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
|
|
784
|
+
# @return [Array<(MemberResponseBody, Fixnum, Hash)>] MemberResponseBody data, response status code and response headers
|
|
785
|
+
def read_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
|
|
786
|
+
if @api_client.config.debugging
|
|
787
|
+
@api_client.config.logger.debug 'Calling API: MembersApi.read_o_auth_window_uri ...'
|
|
788
|
+
end
|
|
789
|
+
# verify the required parameter 'member_guid' is set
|
|
790
|
+
if @api_client.config.client_side_validation && member_guid.nil?
|
|
791
|
+
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MembersApi.read_o_auth_window_uri"
|
|
792
|
+
end
|
|
793
|
+
# verify the required parameter 'user_guid' is set
|
|
794
|
+
if @api_client.config.client_side_validation && user_guid.nil?
|
|
795
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MembersApi.read_o_auth_window_uri"
|
|
796
|
+
end
|
|
797
|
+
# resource path
|
|
798
|
+
local_var_path = '/users/{user_guid}/members/{member_guid}/oauth_window_uri'.sub('{' + 'member_guid' + '}', member_guid.to_s).sub('{' + 'user_guid' + '}', user_guid.to_s)
|
|
799
|
+
|
|
800
|
+
# query parameters
|
|
801
|
+
query_params = {}
|
|
802
|
+
query_params[:'referral_source'] = opts[:'referral_source'] if !opts[:'referral_source'].nil?
|
|
803
|
+
query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?
|
|
804
|
+
|
|
805
|
+
# header parameters
|
|
806
|
+
header_params = {}
|
|
807
|
+
# HTTP header 'Accept' (if needed)
|
|
808
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.atrium.v1+json'])
|
|
809
|
+
|
|
810
|
+
# form parameters
|
|
811
|
+
form_params = {}
|
|
812
|
+
|
|
813
|
+
# http body (model)
|
|
814
|
+
post_body = nil
|
|
815
|
+
auth_names = ['apiKey', 'clientID']
|
|
816
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
817
|
+
:header_params => header_params,
|
|
818
|
+
:query_params => query_params,
|
|
819
|
+
:form_params => form_params,
|
|
820
|
+
:body => post_body,
|
|
821
|
+
:auth_names => auth_names,
|
|
822
|
+
:return_type => 'MemberResponseBody')
|
|
823
|
+
if @api_client.config.debugging
|
|
824
|
+
@api_client.config.logger.debug "API called: MembersApi#read_o_auth_window_uri\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
825
|
+
end
|
|
826
|
+
return data, status_code, headers
|
|
827
|
+
end
|
|
764
828
|
# Resume aggregation from MFA
|
|
765
829
|
# This endpoint answers the challenges needed when a member has been challenged by multi-factor authentication.
|
|
766
830
|
# @param member_guid The unique identifier for a `member`.
|
|
@@ -40,6 +40,8 @@ module Atrium
|
|
|
40
40
|
|
|
41
41
|
attr_accessor :holdings_value
|
|
42
42
|
|
|
43
|
+
attr_accessor :insured_name
|
|
44
|
+
|
|
43
45
|
attr_accessor :institution_code
|
|
44
46
|
|
|
45
47
|
attr_accessor :interest_rate
|
|
@@ -48,6 +50,8 @@ module Atrium
|
|
|
48
50
|
|
|
49
51
|
attr_accessor :last_payment
|
|
50
52
|
|
|
53
|
+
attr_accessor :last_payment_at
|
|
54
|
+
|
|
51
55
|
attr_accessor :loan_amount
|
|
52
56
|
|
|
53
57
|
attr_accessor :matures_on
|
|
@@ -66,6 +70,10 @@ module Atrium
|
|
|
66
70
|
|
|
67
71
|
attr_accessor :payoff_balance
|
|
68
72
|
|
|
73
|
+
attr_accessor :pay_out_amount
|
|
74
|
+
|
|
75
|
+
attr_accessor :premium_amount
|
|
76
|
+
|
|
69
77
|
attr_accessor :started_on
|
|
70
78
|
|
|
71
79
|
attr_accessor :subtype
|
|
@@ -96,10 +104,12 @@ module Atrium
|
|
|
96
104
|
:'death_benefit' => :'death_benefit',
|
|
97
105
|
:'guid' => :'guid',
|
|
98
106
|
:'holdings_value' => :'holdings_value',
|
|
107
|
+
:'insured_name' => :'insured_name',
|
|
99
108
|
:'institution_code' => :'institution_code',
|
|
100
109
|
:'interest_rate' => :'interest_rate',
|
|
101
110
|
:'is_closed' => :'is_closed',
|
|
102
111
|
:'last_payment' => :'last_payment',
|
|
112
|
+
:'last_payment_at' => :'last_payment_at',
|
|
103
113
|
:'loan_amount' => :'loan_amount',
|
|
104
114
|
:'matures_on' => :'matures_on',
|
|
105
115
|
:'member_guid' => :'member_guid',
|
|
@@ -109,6 +119,8 @@ module Atrium
|
|
|
109
119
|
:'original_balance' => :'original_balance',
|
|
110
120
|
:'payment_due_at' => :'payment_due_at',
|
|
111
121
|
:'payoff_balance' => :'payoff_balance',
|
|
122
|
+
:'pay_out_amount' => :'pay_out_amount',
|
|
123
|
+
:'premium_amount' => :'premium_amount',
|
|
112
124
|
:'started_on' => :'started_on',
|
|
113
125
|
:'subtype' => :'subtype',
|
|
114
126
|
:'total_account_value' => :'total_account_value',
|
|
@@ -136,10 +148,12 @@ module Atrium
|
|
|
136
148
|
:'death_benefit' => :'Float',
|
|
137
149
|
:'guid' => :'String',
|
|
138
150
|
:'holdings_value' => :'Float',
|
|
151
|
+
:'insured_name' => :'String',
|
|
139
152
|
:'institution_code' => :'String',
|
|
140
153
|
:'interest_rate' => :'Float',
|
|
141
154
|
:'is_closed' => :'BOOLEAN',
|
|
142
155
|
:'last_payment' => :'Float',
|
|
156
|
+
:'last_payment_at' => :'String',
|
|
143
157
|
:'loan_amount' => :'Float',
|
|
144
158
|
:'matures_on' => :'String',
|
|
145
159
|
:'member_guid' => :'String',
|
|
@@ -149,6 +163,8 @@ module Atrium
|
|
|
149
163
|
:'original_balance' => :'Float',
|
|
150
164
|
:'payment_due_at' => :'String',
|
|
151
165
|
:'payoff_balance' => :'Float',
|
|
166
|
+
:'pay_out_amount' => :'Float',
|
|
167
|
+
:'premium_amount' => :'Float',
|
|
152
168
|
:'started_on' => :'String',
|
|
153
169
|
:'subtype' => :'String',
|
|
154
170
|
:'total_account_value' => :'Float',
|
|
@@ -226,6 +242,10 @@ module Atrium
|
|
|
226
242
|
self.holdings_value = attributes[:'holdings_value']
|
|
227
243
|
end
|
|
228
244
|
|
|
245
|
+
if attributes.has_key?(:'insured_name')
|
|
246
|
+
self.insured_name = attributes[:'insured_name']
|
|
247
|
+
end
|
|
248
|
+
|
|
229
249
|
if attributes.has_key?(:'institution_code')
|
|
230
250
|
self.institution_code = attributes[:'institution_code']
|
|
231
251
|
end
|
|
@@ -242,6 +262,10 @@ module Atrium
|
|
|
242
262
|
self.last_payment = attributes[:'last_payment']
|
|
243
263
|
end
|
|
244
264
|
|
|
265
|
+
if attributes.has_key?(:'last_payment_at')
|
|
266
|
+
self.last_payment_at = attributes[:'last_payment_at']
|
|
267
|
+
end
|
|
268
|
+
|
|
245
269
|
if attributes.has_key?(:'loan_amount')
|
|
246
270
|
self.loan_amount = attributes[:'loan_amount']
|
|
247
271
|
end
|
|
@@ -278,6 +302,14 @@ module Atrium
|
|
|
278
302
|
self.payoff_balance = attributes[:'payoff_balance']
|
|
279
303
|
end
|
|
280
304
|
|
|
305
|
+
if attributes.has_key?(:'pay_out_amount')
|
|
306
|
+
self.pay_out_amount = attributes[:'pay_out_amount']
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if attributes.has_key?(:'premium_amount')
|
|
310
|
+
self.premium_amount = attributes[:'premium_amount']
|
|
311
|
+
end
|
|
312
|
+
|
|
281
313
|
if attributes.has_key?(:'started_on')
|
|
282
314
|
self.started_on = attributes[:'started_on']
|
|
283
315
|
end
|
|
@@ -336,10 +368,12 @@ module Atrium
|
|
|
336
368
|
death_benefit == o.death_benefit &&
|
|
337
369
|
guid == o.guid &&
|
|
338
370
|
holdings_value == o.holdings_value &&
|
|
371
|
+
insured_name == o.insured_name &&
|
|
339
372
|
institution_code == o.institution_code &&
|
|
340
373
|
interest_rate == o.interest_rate &&
|
|
341
374
|
is_closed == o.is_closed &&
|
|
342
375
|
last_payment == o.last_payment &&
|
|
376
|
+
last_payment_at == o.last_payment_at &&
|
|
343
377
|
loan_amount == o.loan_amount &&
|
|
344
378
|
matures_on == o.matures_on &&
|
|
345
379
|
member_guid == o.member_guid &&
|
|
@@ -349,6 +383,8 @@ module Atrium
|
|
|
349
383
|
original_balance == o.original_balance &&
|
|
350
384
|
payment_due_at == o.payment_due_at &&
|
|
351
385
|
payoff_balance == o.payoff_balance &&
|
|
386
|
+
pay_out_amount == o.pay_out_amount &&
|
|
387
|
+
premium_amount == o.premium_amount &&
|
|
352
388
|
started_on == o.started_on &&
|
|
353
389
|
subtype == o.subtype &&
|
|
354
390
|
total_account_value == o.total_account_value &&
|
|
@@ -366,7 +402,7 @@ module Atrium
|
|
|
366
402
|
# Calculates hash code according to all attributes.
|
|
367
403
|
# @return [Fixnum] Hash code
|
|
368
404
|
def hash
|
|
369
|
-
[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, institution_code, interest_rate, is_closed, last_payment, loan_amount, matures_on, member_guid, minimum_balance, minimum_payment, name, original_balance, payment_due_at, payoff_balance, started_on, subtype, total_account_value, type, updated_at, user_guid].hash
|
|
405
|
+
[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, insured_name, institution_code, interest_rate, is_closed, last_payment, last_payment_at, loan_amount, matures_on, member_guid, minimum_balance, minimum_payment, name, original_balance, payment_due_at, payoff_balance, pay_out_amount, premium_amount, started_on, subtype, total_account_value, type, updated_at, user_guid].hash
|
|
370
406
|
end
|
|
371
407
|
|
|
372
408
|
# Builds the object from hash
|
|
@@ -12,28 +12,40 @@ module Atrium
|
|
|
12
12
|
class ConnectWidgetRequestBody
|
|
13
13
|
attr_accessor :is_mobile_webview
|
|
14
14
|
|
|
15
|
+
attr_accessor :color_scheme
|
|
16
|
+
|
|
15
17
|
attr_accessor :current_institution_code
|
|
16
18
|
|
|
17
19
|
attr_accessor :current_member_guid
|
|
18
20
|
|
|
19
21
|
attr_accessor :disable_institution_search
|
|
20
22
|
|
|
23
|
+
attr_accessor :include_transactions
|
|
24
|
+
|
|
21
25
|
attr_accessor :mode
|
|
22
26
|
|
|
23
27
|
attr_accessor :ui_message_version
|
|
24
28
|
|
|
29
|
+
attr_accessor :ui_message_webview_url_scheme
|
|
30
|
+
|
|
25
31
|
attr_accessor :update_credentials
|
|
26
32
|
|
|
33
|
+
attr_accessor :wait_for_full_aggregation
|
|
34
|
+
|
|
27
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
36
|
def self.attribute_map
|
|
29
37
|
{
|
|
30
38
|
:'is_mobile_webview' => :'is_mobile_webview',
|
|
39
|
+
:'color_scheme' => :'color_scheme',
|
|
31
40
|
:'current_institution_code' => :'current_institution_code',
|
|
32
41
|
:'current_member_guid' => :'current_member_guid',
|
|
33
42
|
:'disable_institution_search' => :'disable_institution_search',
|
|
43
|
+
:'include_transactions' => :'include_transactions',
|
|
34
44
|
:'mode' => :'mode',
|
|
35
45
|
:'ui_message_version' => :'ui_message_version',
|
|
36
|
-
:'
|
|
46
|
+
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
|
|
47
|
+
:'update_credentials' => :'update_credentials',
|
|
48
|
+
:'wait_for_full_aggregation' => :'wait_for_full_aggregation'
|
|
37
49
|
}
|
|
38
50
|
end
|
|
39
51
|
|
|
@@ -41,12 +53,16 @@ module Atrium
|
|
|
41
53
|
def self.mx_types
|
|
42
54
|
{
|
|
43
55
|
:'is_mobile_webview' => :'BOOLEAN',
|
|
56
|
+
:'color_scheme' => :'String',
|
|
44
57
|
:'current_institution_code' => :'String',
|
|
45
58
|
:'current_member_guid' => :'String',
|
|
46
59
|
:'disable_institution_search' => :'BOOLEAN',
|
|
60
|
+
:'include_transactions' => :'BOOLEAN',
|
|
47
61
|
:'mode' => :'String',
|
|
48
62
|
:'ui_message_version' => :'Float',
|
|
49
|
-
:'
|
|
63
|
+
:'ui_message_webview_url_scheme' => :'String',
|
|
64
|
+
:'update_credentials' => :'BOOLEAN',
|
|
65
|
+
:'wait_for_full_aggregation' => :'BOOLEAN'
|
|
50
66
|
}
|
|
51
67
|
end
|
|
52
68
|
|
|
@@ -62,6 +78,10 @@ module Atrium
|
|
|
62
78
|
self.is_mobile_webview = attributes[:'is_mobile_webview']
|
|
63
79
|
end
|
|
64
80
|
|
|
81
|
+
if attributes.has_key?(:'color_scheme')
|
|
82
|
+
self.color_scheme = attributes[:'color_scheme']
|
|
83
|
+
end
|
|
84
|
+
|
|
65
85
|
if attributes.has_key?(:'current_institution_code')
|
|
66
86
|
self.current_institution_code = attributes[:'current_institution_code']
|
|
67
87
|
end
|
|
@@ -74,6 +94,10 @@ module Atrium
|
|
|
74
94
|
self.disable_institution_search = attributes[:'disable_institution_search']
|
|
75
95
|
end
|
|
76
96
|
|
|
97
|
+
if attributes.has_key?(:'include_transactions')
|
|
98
|
+
self.include_transactions = attributes[:'include_transactions']
|
|
99
|
+
end
|
|
100
|
+
|
|
77
101
|
if attributes.has_key?(:'mode')
|
|
78
102
|
self.mode = attributes[:'mode']
|
|
79
103
|
end
|
|
@@ -82,9 +106,17 @@ module Atrium
|
|
|
82
106
|
self.ui_message_version = attributes[:'ui_message_version']
|
|
83
107
|
end
|
|
84
108
|
|
|
109
|
+
if attributes.has_key?(:'ui_message_webview_url_scheme')
|
|
110
|
+
self.ui_message_webview_url_scheme = attributes[:'ui_message_webview_url_scheme']
|
|
111
|
+
end
|
|
112
|
+
|
|
85
113
|
if attributes.has_key?(:'update_credentials')
|
|
86
114
|
self.update_credentials = attributes[:'update_credentials']
|
|
87
115
|
end
|
|
116
|
+
|
|
117
|
+
if attributes.has_key?(:'wait_for_full_aggregation')
|
|
118
|
+
self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
|
|
119
|
+
end
|
|
88
120
|
end
|
|
89
121
|
|
|
90
122
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -106,12 +138,16 @@ module Atrium
|
|
|
106
138
|
return true if self.equal?(o)
|
|
107
139
|
self.class == o.class &&
|
|
108
140
|
is_mobile_webview == o.is_mobile_webview &&
|
|
141
|
+
color_scheme == o.color_scheme &&
|
|
109
142
|
current_institution_code == o.current_institution_code &&
|
|
110
143
|
current_member_guid == o.current_member_guid &&
|
|
111
144
|
disable_institution_search == o.disable_institution_search &&
|
|
145
|
+
include_transactions == o.include_transactions &&
|
|
112
146
|
mode == o.mode &&
|
|
113
147
|
ui_message_version == o.ui_message_version &&
|
|
114
|
-
|
|
148
|
+
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
|
|
149
|
+
update_credentials == o.update_credentials &&
|
|
150
|
+
wait_for_full_aggregation == o.wait_for_full_aggregation
|
|
115
151
|
end
|
|
116
152
|
|
|
117
153
|
# @see the `==` method
|
|
@@ -123,7 +159,7 @@ module Atrium
|
|
|
123
159
|
# Calculates hash code according to all attributes.
|
|
124
160
|
# @return [Fixnum] Hash code
|
|
125
161
|
def hash
|
|
126
|
-
[is_mobile_webview, current_institution_code, current_member_guid, disable_institution_search, mode, ui_message_version, update_credentials].hash
|
|
162
|
+
[is_mobile_webview, color_scheme, current_institution_code, current_member_guid, disable_institution_search, include_transactions, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials, wait_for_full_aggregation].hash
|
|
127
163
|
end
|
|
128
164
|
|
|
129
165
|
# Builds the object from hash
|
|
@@ -26,6 +26,8 @@ module Atrium
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :name
|
|
28
28
|
|
|
29
|
+
attr_accessor :oauth_window_uri
|
|
30
|
+
|
|
29
31
|
attr_accessor :status
|
|
30
32
|
|
|
31
33
|
attr_accessor :successfully_aggregated_at
|
|
@@ -43,6 +45,7 @@ module Atrium
|
|
|
43
45
|
:'is_being_aggregated' => :'is_being_aggregated',
|
|
44
46
|
:'metadata' => :'metadata',
|
|
45
47
|
:'name' => :'name',
|
|
48
|
+
:'oauth_window_uri' => :'oauth_window_uri',
|
|
46
49
|
:'status' => :'status',
|
|
47
50
|
:'successfully_aggregated_at' => :'successfully_aggregated_at',
|
|
48
51
|
:'user_guid' => :'user_guid'
|
|
@@ -60,6 +63,7 @@ module Atrium
|
|
|
60
63
|
:'is_being_aggregated' => :'BOOLEAN',
|
|
61
64
|
:'metadata' => :'String',
|
|
62
65
|
:'name' => :'String',
|
|
66
|
+
:'oauth_window_uri' => :'String',
|
|
63
67
|
:'status' => :'String',
|
|
64
68
|
:'successfully_aggregated_at' => :'String',
|
|
65
69
|
:'user_guid' => :'String'
|
|
@@ -106,6 +110,10 @@ module Atrium
|
|
|
106
110
|
self.name = attributes[:'name']
|
|
107
111
|
end
|
|
108
112
|
|
|
113
|
+
if attributes.has_key?(:'oauth_window_uri')
|
|
114
|
+
self.oauth_window_uri = attributes[:'oauth_window_uri']
|
|
115
|
+
end
|
|
116
|
+
|
|
109
117
|
if attributes.has_key?(:'status')
|
|
110
118
|
self.status = attributes[:'status']
|
|
111
119
|
end
|
|
@@ -145,6 +153,7 @@ module Atrium
|
|
|
145
153
|
is_being_aggregated == o.is_being_aggregated &&
|
|
146
154
|
metadata == o.metadata &&
|
|
147
155
|
name == o.name &&
|
|
156
|
+
oauth_window_uri == o.oauth_window_uri &&
|
|
148
157
|
status == o.status &&
|
|
149
158
|
successfully_aggregated_at == o.successfully_aggregated_at &&
|
|
150
159
|
user_guid == o.user_guid
|
|
@@ -159,7 +168,7 @@ module Atrium
|
|
|
159
168
|
# Calculates hash code according to all attributes.
|
|
160
169
|
# @return [Fixnum] Hash code
|
|
161
170
|
def hash
|
|
162
|
-
[aggregated_at, connection_status, guid, identifier, institution_code, is_being_aggregated, metadata, name, status, successfully_aggregated_at, user_guid].hash
|
|
171
|
+
[aggregated_at, connection_status, guid, identifier, institution_code, is_being_aggregated, metadata, name, oauth_window_uri, status, successfully_aggregated_at, user_guid].hash
|
|
163
172
|
end
|
|
164
173
|
|
|
165
174
|
# Builds the object from hash
|
|
@@ -14,20 +14,29 @@ module Atrium
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :identifier
|
|
16
16
|
|
|
17
|
+
attr_accessor :is_oauth
|
|
18
|
+
|
|
17
19
|
attr_accessor :institution_code
|
|
18
20
|
|
|
19
21
|
attr_accessor :metadata
|
|
20
22
|
|
|
23
|
+
attr_accessor :referral_source
|
|
24
|
+
|
|
21
25
|
attr_accessor :skip_aggregation
|
|
22
26
|
|
|
27
|
+
attr_accessor :ui_message_webview_url_scheme
|
|
28
|
+
|
|
23
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
30
|
def self.attribute_map
|
|
25
31
|
{
|
|
26
32
|
:'credentials' => :'credentials',
|
|
27
33
|
:'identifier' => :'identifier',
|
|
34
|
+
:'is_oauth' => :'is_oauth',
|
|
28
35
|
:'institution_code' => :'institution_code',
|
|
29
36
|
:'metadata' => :'metadata',
|
|
30
|
-
:'
|
|
37
|
+
:'referral_source' => :'referral_source',
|
|
38
|
+
:'skip_aggregation' => :'skip_aggregation',
|
|
39
|
+
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme'
|
|
31
40
|
}
|
|
32
41
|
end
|
|
33
42
|
|
|
@@ -36,9 +45,12 @@ module Atrium
|
|
|
36
45
|
{
|
|
37
46
|
:'credentials' => :'Array<CredentialRequest>',
|
|
38
47
|
:'identifier' => :'String',
|
|
48
|
+
:'is_oauth' => :'BOOLEAN',
|
|
39
49
|
:'institution_code' => :'String',
|
|
40
50
|
:'metadata' => :'String',
|
|
41
|
-
:'
|
|
51
|
+
:'referral_source' => :'String',
|
|
52
|
+
:'skip_aggregation' => :'BOOLEAN',
|
|
53
|
+
:'ui_message_webview_url_scheme' => :'String'
|
|
42
54
|
}
|
|
43
55
|
end
|
|
44
56
|
|
|
@@ -60,6 +72,10 @@ module Atrium
|
|
|
60
72
|
self.identifier = attributes[:'identifier']
|
|
61
73
|
end
|
|
62
74
|
|
|
75
|
+
if attributes.has_key?(:'is_oauth')
|
|
76
|
+
self.is_oauth = attributes[:'is_oauth']
|
|
77
|
+
end
|
|
78
|
+
|
|
63
79
|
if attributes.has_key?(:'institution_code')
|
|
64
80
|
self.institution_code = attributes[:'institution_code']
|
|
65
81
|
end
|
|
@@ -68,19 +84,23 @@ module Atrium
|
|
|
68
84
|
self.metadata = attributes[:'metadata']
|
|
69
85
|
end
|
|
70
86
|
|
|
87
|
+
if attributes.has_key?(:'referral_source')
|
|
88
|
+
self.referral_source = attributes[:'referral_source']
|
|
89
|
+
end
|
|
90
|
+
|
|
71
91
|
if attributes.has_key?(:'skip_aggregation')
|
|
72
92
|
self.skip_aggregation = attributes[:'skip_aggregation']
|
|
73
93
|
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'ui_message_webview_url_scheme')
|
|
96
|
+
self.ui_message_webview_url_scheme = attributes[:'ui_message_webview_url_scheme']
|
|
97
|
+
end
|
|
74
98
|
end
|
|
75
99
|
|
|
76
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
77
101
|
# @return Array for valid properties with the reasons
|
|
78
102
|
def list_invalid_properties
|
|
79
103
|
invalid_properties = Array.new
|
|
80
|
-
if @credentials.nil?
|
|
81
|
-
invalid_properties.push('invalid value for "credentials", credentials cannot be nil.')
|
|
82
|
-
end
|
|
83
|
-
|
|
84
104
|
if @institution_code.nil?
|
|
85
105
|
invalid_properties.push('invalid value for "institution_code", institution_code cannot be nil.')
|
|
86
106
|
end
|
|
@@ -91,7 +111,6 @@ module Atrium
|
|
|
91
111
|
# Check to see if the all the properties in the model are valid
|
|
92
112
|
# @return true if the model is valid
|
|
93
113
|
def valid?
|
|
94
|
-
return false if @credentials.nil?
|
|
95
114
|
return false if @institution_code.nil?
|
|
96
115
|
true
|
|
97
116
|
end
|
|
@@ -103,9 +122,12 @@ module Atrium
|
|
|
103
122
|
self.class == o.class &&
|
|
104
123
|
credentials == o.credentials &&
|
|
105
124
|
identifier == o.identifier &&
|
|
125
|
+
is_oauth == o.is_oauth &&
|
|
106
126
|
institution_code == o.institution_code &&
|
|
107
127
|
metadata == o.metadata &&
|
|
108
|
-
|
|
128
|
+
referral_source == o.referral_source &&
|
|
129
|
+
skip_aggregation == o.skip_aggregation &&
|
|
130
|
+
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme
|
|
109
131
|
end
|
|
110
132
|
|
|
111
133
|
# @see the `==` method
|
|
@@ -117,7 +139,7 @@ module Atrium
|
|
|
117
139
|
# Calculates hash code according to all attributes.
|
|
118
140
|
# @return [Fixnum] Hash code
|
|
119
141
|
def hash
|
|
120
|
-
[credentials, identifier, institution_code, metadata, skip_aggregation].hash
|
|
142
|
+
[credentials, identifier, is_oauth, institution_code, metadata, referral_source, skip_aggregation, ui_message_webview_url_scheme].hash
|
|
121
143
|
end
|
|
122
144
|
|
|
123
145
|
# Builds the object from hash
|
|
@@ -10,14 +10,14 @@ require 'date'
|
|
|
10
10
|
|
|
11
11
|
module Atrium
|
|
12
12
|
class MerchantsResponseBody
|
|
13
|
-
attr_accessor :
|
|
13
|
+
attr_accessor :merchants
|
|
14
14
|
|
|
15
15
|
attr_accessor :pagination
|
|
16
16
|
|
|
17
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
18
|
def self.attribute_map
|
|
19
19
|
{
|
|
20
|
-
:'
|
|
20
|
+
:'merchants' => :'merchants',
|
|
21
21
|
:'pagination' => :'pagination'
|
|
22
22
|
}
|
|
23
23
|
end
|
|
@@ -25,7 +25,7 @@ module Atrium
|
|
|
25
25
|
# Attribute type mapping.
|
|
26
26
|
def self.mx_types
|
|
27
27
|
{
|
|
28
|
-
:'
|
|
28
|
+
:'merchants' => :'Array<Merchant>',
|
|
29
29
|
:'pagination' => :'Pagination'
|
|
30
30
|
}
|
|
31
31
|
end
|
|
@@ -38,9 +38,9 @@ module Atrium
|
|
|
38
38
|
# convert string to symbol for hash key
|
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
40
40
|
|
|
41
|
-
if attributes.has_key?(:'
|
|
42
|
-
if (value = attributes[:'
|
|
43
|
-
self.
|
|
41
|
+
if attributes.has_key?(:'merchants')
|
|
42
|
+
if (value = attributes[:'merchants']).is_a?(Array)
|
|
43
|
+
self.merchants = value
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
@@ -67,7 +67,7 @@ module Atrium
|
|
|
67
67
|
def ==(o)
|
|
68
68
|
return true if self.equal?(o)
|
|
69
69
|
self.class == o.class &&
|
|
70
|
-
|
|
70
|
+
merchants == o.merchants &&
|
|
71
71
|
pagination == o.pagination
|
|
72
72
|
end
|
|
73
73
|
|
|
@@ -80,7 +80,7 @@ module Atrium
|
|
|
80
80
|
# Calculates hash code according to all attributes.
|
|
81
81
|
# @return [Fixnum] Hash code
|
|
82
82
|
def hash
|
|
83
|
-
[
|
|
83
|
+
[merchants, pagination].hash
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
# Builds the object from hash
|
|
@@ -46,6 +46,8 @@ module Atrium
|
|
|
46
46
|
|
|
47
47
|
attr_accessor :is_payroll_advance
|
|
48
48
|
|
|
49
|
+
attr_accessor :is_subscription
|
|
50
|
+
|
|
49
51
|
attr_accessor :latitude
|
|
50
52
|
|
|
51
53
|
attr_accessor :longitude
|
|
@@ -95,6 +97,7 @@ module Atrium
|
|
|
95
97
|
:'is_international' => :'is_international',
|
|
96
98
|
:'is_overdraft_fee' => :'is_overdraft_fee',
|
|
97
99
|
:'is_payroll_advance' => :'is_payroll_advance',
|
|
100
|
+
:'is_subscription' => :'is_subscription',
|
|
98
101
|
:'latitude' => :'latitude',
|
|
99
102
|
:'longitude' => :'longitude',
|
|
100
103
|
:'member_guid' => :'member_guid',
|
|
@@ -133,6 +136,7 @@ module Atrium
|
|
|
133
136
|
:'is_international' => :'BOOLEAN',
|
|
134
137
|
:'is_overdraft_fee' => :'BOOLEAN',
|
|
135
138
|
:'is_payroll_advance' => :'BOOLEAN',
|
|
139
|
+
:'is_subscription' => :'BOOLEAN',
|
|
136
140
|
:'latitude' => :'Float',
|
|
137
141
|
:'longitude' => :'Float',
|
|
138
142
|
:'member_guid' => :'String',
|
|
@@ -230,6 +234,10 @@ module Atrium
|
|
|
230
234
|
self.is_payroll_advance = attributes[:'is_payroll_advance']
|
|
231
235
|
end
|
|
232
236
|
|
|
237
|
+
if attributes.has_key?(:'is_subscription')
|
|
238
|
+
self.is_subscription = attributes[:'is_subscription']
|
|
239
|
+
end
|
|
240
|
+
|
|
233
241
|
if attributes.has_key?(:'latitude')
|
|
234
242
|
self.latitude = attributes[:'latitude']
|
|
235
243
|
end
|
|
@@ -323,6 +331,7 @@ module Atrium
|
|
|
323
331
|
is_international == o.is_international &&
|
|
324
332
|
is_overdraft_fee == o.is_overdraft_fee &&
|
|
325
333
|
is_payroll_advance == o.is_payroll_advance &&
|
|
334
|
+
is_subscription == o.is_subscription &&
|
|
326
335
|
latitude == o.latitude &&
|
|
327
336
|
longitude == o.longitude &&
|
|
328
337
|
member_guid == o.member_guid &&
|
|
@@ -348,7 +357,7 @@ module Atrium
|
|
|
348
357
|
# Calculates hash code according to all attributes.
|
|
349
358
|
# @return [Fixnum] Hash code
|
|
350
359
|
def hash
|
|
351
|
-
[account_guid, amount, category, check_number, check_number_string, created_at, currency_code, date, description, guid, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, latitude, longitude, member_guid, memo, merchant_category_code, merchant_guid, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
|
|
360
|
+
[account_guid, amount, category, check_number, check_number_string, created_at, currency_code, date, description, guid, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_subscription, latitude, longitude, member_guid, memo, merchant_category_code, merchant_guid, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
|
|
352
361
|
end
|
|
353
362
|
|
|
354
363
|
# Builds the object from hash
|
data/lib/atrium-ruby/version.rb
CHANGED
|
@@ -190,6 +190,21 @@ describe 'MembersApi' do
|
|
|
190
190
|
end
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
+
# unit tests for read_o_auth_window_uri
|
|
194
|
+
# Read OAuth Window URI
|
|
195
|
+
# This endpoint will generate an `oauth_window_uri` for the specified `member`.
|
|
196
|
+
# @param member_guid The unique identifier for a `member`.
|
|
197
|
+
# @param user_guid The unique identifier for a `user`.
|
|
198
|
+
# @param [Hash] opts the optional parameters
|
|
199
|
+
# @option opts [String] :referral_source Should be either BROWSER or APP depending on the implementation.
|
|
200
|
+
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
|
|
201
|
+
# @return [MemberResponseBody]
|
|
202
|
+
describe 'read_o_auth_window_uri test' do
|
|
203
|
+
it 'should work' do
|
|
204
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
193
208
|
# unit tests for resume_member
|
|
194
209
|
# Resume aggregation from MFA
|
|
195
210
|
# This endpoint answers the challenges needed when a member has been challenged by multi-factor authentication.
|
data/spec/models/account_spec.rb
CHANGED
|
@@ -117,6 +117,12 @@ describe 'Account' do
|
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
+
describe 'test attribute "insured_name"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
120
126
|
describe 'test attribute "institution_code"' do
|
|
121
127
|
it 'should work' do
|
|
122
128
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -141,6 +147,12 @@ describe 'Account' do
|
|
|
141
147
|
end
|
|
142
148
|
end
|
|
143
149
|
|
|
150
|
+
describe 'test attribute "last_payment_at"' do
|
|
151
|
+
it 'should work' do
|
|
152
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
144
156
|
describe 'test attribute "loan_amount"' do
|
|
145
157
|
it 'should work' do
|
|
146
158
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -195,6 +207,18 @@ describe 'Account' do
|
|
|
195
207
|
end
|
|
196
208
|
end
|
|
197
209
|
|
|
210
|
+
describe 'test attribute "pay_out_amount"' do
|
|
211
|
+
it 'should work' do
|
|
212
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
describe 'test attribute "premium_amount"' do
|
|
217
|
+
it 'should work' do
|
|
218
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
198
222
|
describe 'test attribute "started_on"' do
|
|
199
223
|
it 'should work' do
|
|
200
224
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -33,6 +33,12 @@ describe 'ConnectWidgetRequestBody' do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "color_scheme"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
describe 'test attribute "current_institution_code"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -51,6 +57,12 @@ describe 'ConnectWidgetRequestBody' do
|
|
|
51
57
|
end
|
|
52
58
|
end
|
|
53
59
|
|
|
60
|
+
describe 'test attribute "include_transactions"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
describe 'test attribute "mode"' do
|
|
55
67
|
it 'should work' do
|
|
56
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -63,10 +75,22 @@ describe 'ConnectWidgetRequestBody' do
|
|
|
63
75
|
end
|
|
64
76
|
end
|
|
65
77
|
|
|
78
|
+
describe 'test attribute "ui_message_webview_url_scheme"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
66
84
|
describe 'test attribute "update_credentials"' do
|
|
67
85
|
it 'should work' do
|
|
68
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
69
87
|
end
|
|
70
88
|
end
|
|
71
89
|
|
|
90
|
+
describe 'test attribute "wait_for_full_aggregation"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
72
96
|
end
|
|
@@ -39,6 +39,12 @@ describe 'MemberCreateRequest' do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
describe 'test attribute "is_oauth"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
42
48
|
describe 'test attribute "institution_code"' do
|
|
43
49
|
it 'should work' do
|
|
44
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -51,10 +57,22 @@ describe 'MemberCreateRequest' do
|
|
|
51
57
|
end
|
|
52
58
|
end
|
|
53
59
|
|
|
60
|
+
describe 'test attribute "referral_source"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
describe 'test attribute "skip_aggregation"' do
|
|
55
67
|
it 'should work' do
|
|
56
68
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
57
69
|
end
|
|
58
70
|
end
|
|
59
71
|
|
|
72
|
+
describe 'test attribute "ui_message_webview_url_scheme"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
60
78
|
end
|
data/spec/models/member_spec.rb
CHANGED
|
@@ -75,6 +75,12 @@ describe 'Member' do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
describe 'test attribute "oauth_window_uri"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
78
84
|
describe 'test attribute "status"' do
|
|
79
85
|
it 'should work' do
|
|
80
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -27,7 +27,7 @@ describe 'MerchantsResponseBody' do
|
|
|
27
27
|
expect(@instance).to be_instance_of(Atrium::MerchantsResponseBody)
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "merchants"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
33
33
|
end
|
|
@@ -135,6 +135,12 @@ describe 'Transaction' do
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
+
describe 'test attribute "is_subscription"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
138
144
|
describe 'test attribute "latitude"' do
|
|
139
145
|
it 'should work' do
|
|
140
146
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atrium-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.10.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MX
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -34,42 +34,42 @@ dependencies:
|
|
|
34
34
|
name: json
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - ">="
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: 2.1.0
|
|
40
37
|
- - "~>"
|
|
41
38
|
- !ruby/object:Gem::Version
|
|
42
39
|
version: '2.1'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 2.1.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- - ">="
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: 2.1.0
|
|
50
47
|
- - "~>"
|
|
51
48
|
- !ruby/object:Gem::Version
|
|
52
49
|
version: '2.1'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 2.1.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: rspec
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- - ">="
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: 3.6.0
|
|
60
57
|
- - "~>"
|
|
61
58
|
- !ruby/object:Gem::Version
|
|
62
59
|
version: '3.6'
|
|
60
|
+
- - ">="
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 3.6.0
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- - ">="
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: 3.6.0
|
|
70
67
|
- - "~>"
|
|
71
68
|
- !ruby/object:Gem::Version
|
|
72
69
|
version: '3.6'
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: 3.6.0
|
|
73
73
|
- !ruby/object:Gem::Dependency
|
|
74
74
|
name: vcr
|
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -420,7 +420,7 @@ homepage: https://atrium.mx.com
|
|
|
420
420
|
licenses:
|
|
421
421
|
- MIT
|
|
422
422
|
metadata: {}
|
|
423
|
-
post_install_message:
|
|
423
|
+
post_install_message:
|
|
424
424
|
rdoc_options: []
|
|
425
425
|
require_paths:
|
|
426
426
|
- lib
|
|
@@ -435,8 +435,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
435
435
|
- !ruby/object:Gem::Version
|
|
436
436
|
version: '0'
|
|
437
437
|
requirements: []
|
|
438
|
-
rubygems_version: 3.
|
|
439
|
-
signing_key:
|
|
438
|
+
rubygems_version: 3.2.3
|
|
439
|
+
signing_key:
|
|
440
440
|
specification_version: 4
|
|
441
441
|
summary: Ruby wrapper for the Atrium API by MX
|
|
442
442
|
test_files:
|