mx-platform-ruby 0.36.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,295 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MxPlatformRuby
17
+ class RewardsResponse
18
+ attr_accessor :account_guid
19
+
20
+ attr_accessor :balance_type
21
+
22
+ attr_accessor :balance
23
+
24
+ attr_accessor :created_at
25
+
26
+ attr_accessor :description
27
+
28
+ attr_accessor :expires_on
29
+
30
+ attr_accessor :guid
31
+
32
+ attr_accessor :member_guid
33
+
34
+ attr_accessor :unit_type
35
+
36
+ attr_accessor :user_guid
37
+
38
+ # Attribute mapping from ruby-style variable name to JSON key.
39
+ def self.attribute_map
40
+ {
41
+ :'account_guid' => :'account_guid',
42
+ :'balance_type' => :'balance_type',
43
+ :'balance' => :'balance',
44
+ :'created_at' => :'created_at',
45
+ :'description' => :'description',
46
+ :'expires_on' => :'expires_on',
47
+ :'guid' => :'guid',
48
+ :'member_guid' => :'member_guid',
49
+ :'unit_type' => :'unit_type',
50
+ :'user_guid' => :'user_guid'
51
+ }
52
+ end
53
+
54
+ # Returns all the JSON keys this model knows about
55
+ def self.acceptable_attributes
56
+ attribute_map.values
57
+ end
58
+
59
+ # Attribute type mapping.
60
+ def self.openapi_types
61
+ {
62
+ :'account_guid' => :'String',
63
+ :'balance_type' => :'String',
64
+ :'balance' => :'Integer',
65
+ :'created_at' => :'String',
66
+ :'description' => :'String',
67
+ :'expires_on' => :'String',
68
+ :'guid' => :'String',
69
+ :'member_guid' => :'String',
70
+ :'unit_type' => :'String',
71
+ :'user_guid' => :'String'
72
+ }
73
+ end
74
+
75
+ # List of attributes with nullable: true
76
+ def self.openapi_nullable
77
+ Set.new([
78
+ ])
79
+ end
80
+
81
+ # Initializes the object
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ def initialize(attributes = {})
84
+ if (!attributes.is_a?(Hash))
85
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::RewardsResponse` initialize method"
86
+ end
87
+
88
+ # check to see if the attribute exists and convert string to symbol for hash key
89
+ attributes = attributes.each_with_object({}) { |(k, v), h|
90
+ if (!self.class.attribute_map.key?(k.to_sym))
91
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::RewardsResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
92
+ end
93
+ h[k.to_sym] = v
94
+ }
95
+
96
+ if attributes.key?(:'account_guid')
97
+ self.account_guid = attributes[:'account_guid']
98
+ end
99
+
100
+ if attributes.key?(:'balance_type')
101
+ self.balance_type = attributes[:'balance_type']
102
+ end
103
+
104
+ if attributes.key?(:'balance')
105
+ self.balance = attributes[:'balance']
106
+ end
107
+
108
+ if attributes.key?(:'created_at')
109
+ self.created_at = attributes[:'created_at']
110
+ end
111
+
112
+ if attributes.key?(:'description')
113
+ self.description = attributes[:'description']
114
+ end
115
+
116
+ if attributes.key?(:'expires_on')
117
+ self.expires_on = attributes[:'expires_on']
118
+ end
119
+
120
+ if attributes.key?(:'guid')
121
+ self.guid = attributes[:'guid']
122
+ end
123
+
124
+ if attributes.key?(:'member_guid')
125
+ self.member_guid = attributes[:'member_guid']
126
+ end
127
+
128
+ if attributes.key?(:'unit_type')
129
+ self.unit_type = attributes[:'unit_type']
130
+ end
131
+
132
+ if attributes.key?(:'user_guid')
133
+ self.user_guid = attributes[:'user_guid']
134
+ end
135
+ end
136
+
137
+ # Show invalid properties with the reasons. Usually used together with valid?
138
+ # @return Array for valid properties with the reasons
139
+ def list_invalid_properties
140
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
141
+ invalid_properties = Array.new
142
+ invalid_properties
143
+ end
144
+
145
+ # Check to see if the all the properties in the model are valid
146
+ # @return true if the model is valid
147
+ def valid?
148
+ warn '[DEPRECATED] the `valid?` method is obsolete'
149
+ true
150
+ end
151
+
152
+ # Checks equality by comparing each attribute.
153
+ # @param [Object] Object to be compared
154
+ def ==(o)
155
+ return true if self.equal?(o)
156
+ self.class == o.class &&
157
+ account_guid == o.account_guid &&
158
+ balance_type == o.balance_type &&
159
+ balance == o.balance &&
160
+ created_at == o.created_at &&
161
+ description == o.description &&
162
+ expires_on == o.expires_on &&
163
+ guid == o.guid &&
164
+ member_guid == o.member_guid &&
165
+ unit_type == o.unit_type &&
166
+ user_guid == o.user_guid
167
+ end
168
+
169
+ # @see the `==` method
170
+ # @param [Object] Object to be compared
171
+ def eql?(o)
172
+ self == o
173
+ end
174
+
175
+ # Calculates hash code according to all attributes.
176
+ # @return [Integer] Hash code
177
+ def hash
178
+ [account_guid, balance_type, balance, created_at, description, expires_on, guid, member_guid, unit_type, user_guid].hash
179
+ end
180
+
181
+ # Builds the object from hash
182
+ # @param [Hash] attributes Model attributes in the form of hash
183
+ # @return [Object] Returns the model itself
184
+ def self.build_from_hash(attributes)
185
+ return nil unless attributes.is_a?(Hash)
186
+ attributes = attributes.transform_keys(&:to_sym)
187
+ transformed_hash = {}
188
+ openapi_types.each_pair do |key, type|
189
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
190
+ transformed_hash["#{key}"] = nil
191
+ elsif type =~ /\AArray<(.*)>/i
192
+ # check to ensure the input is an array given that the attribute
193
+ # is documented as an array but the input is not
194
+ if attributes[attribute_map[key]].is_a?(Array)
195
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
196
+ end
197
+ elsif !attributes[attribute_map[key]].nil?
198
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
199
+ end
200
+ end
201
+ new(transformed_hash)
202
+ end
203
+
204
+ # Deserializes the data based on type
205
+ # @param string type Data type
206
+ # @param string value Value to be deserialized
207
+ # @return [Object] Deserialized data
208
+ def self._deserialize(type, value)
209
+ case type.to_sym
210
+ when :Time
211
+ Time.parse(value)
212
+ when :Date
213
+ Date.parse(value)
214
+ when :String
215
+ value.to_s
216
+ when :Integer
217
+ value.to_i
218
+ when :Float
219
+ value.to_f
220
+ when :Boolean
221
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
222
+ true
223
+ else
224
+ false
225
+ end
226
+ when :Object
227
+ # generic object (usually a Hash), return directly
228
+ value
229
+ when /\AArray<(?<inner_type>.+)>\z/
230
+ inner_type = Regexp.last_match[:inner_type]
231
+ value.map { |v| _deserialize(inner_type, v) }
232
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
233
+ k_type = Regexp.last_match[:k_type]
234
+ v_type = Regexp.last_match[:v_type]
235
+ {}.tap do |hash|
236
+ value.each do |k, v|
237
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
238
+ end
239
+ end
240
+ else # model
241
+ # models (e.g. Pet) or oneOf
242
+ klass = MxPlatformRuby.const_get(type)
243
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
244
+ end
245
+ end
246
+
247
+ # Returns the string representation of the object
248
+ # @return [String] String presentation of the object
249
+ def to_s
250
+ to_hash.to_s
251
+ end
252
+
253
+ # to_body is an alias to to_hash (backward compatibility)
254
+ # @return [Hash] Returns the object in the form of hash
255
+ def to_body
256
+ to_hash
257
+ end
258
+
259
+ # Returns the object in the form of hash
260
+ # @return [Hash] Returns the object in the form of hash
261
+ def to_hash
262
+ hash = {}
263
+ self.class.attribute_map.each_pair do |attr, param|
264
+ value = self.send(attr)
265
+ if value.nil?
266
+ is_nullable = self.class.openapi_nullable.include?(attr)
267
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
268
+ end
269
+
270
+ hash[param] = _to_hash(value)
271
+ end
272
+ hash
273
+ end
274
+
275
+ # Outputs non-array value in the form of hash
276
+ # For object, use to_hash. Otherwise, just return the value
277
+ # @param [Object] value Any valid value
278
+ # @return [Hash] Returns the value in the form of hash
279
+ def _to_hash(value)
280
+ if value.is_a?(Array)
281
+ value.compact.map { |v| _to_hash(v) }
282
+ elsif value.is_a?(Hash)
283
+ {}.tap do |hash|
284
+ value.each { |k, v| hash[k] = _to_hash(v) }
285
+ end
286
+ elsif value.respond_to? :to_hash
287
+ value.to_hash
288
+ else
289
+ value
290
+ end
291
+ end
292
+
293
+ end
294
+
295
+ end
@@ -0,0 +1,225 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MxPlatformRuby
17
+ class RewardsResponseBody
18
+ attr_accessor :rewards
19
+
20
+ attr_accessor :pagination
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'rewards' => :'rewards',
26
+ :'pagination' => :'pagination'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'rewards' => :'Array<RewardsResponse>',
39
+ :'pagination' => :'PaginationResponse'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::RewardsResponseBody` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::RewardsResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'rewards')
65
+ if (value = attributes[:'rewards']).is_a?(Array)
66
+ self.rewards = value
67
+ end
68
+ end
69
+
70
+ if attributes.key?(:'pagination')
71
+ self.pagination = attributes[:'pagination']
72
+ end
73
+ end
74
+
75
+ # Show invalid properties with the reasons. Usually used together with valid?
76
+ # @return Array for valid properties with the reasons
77
+ def list_invalid_properties
78
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
79
+ invalid_properties = Array.new
80
+ invalid_properties
81
+ end
82
+
83
+ # Check to see if the all the properties in the model are valid
84
+ # @return true if the model is valid
85
+ def valid?
86
+ warn '[DEPRECATED] the `valid?` method is obsolete'
87
+ true
88
+ end
89
+
90
+ # Checks equality by comparing each attribute.
91
+ # @param [Object] Object to be compared
92
+ def ==(o)
93
+ return true if self.equal?(o)
94
+ self.class == o.class &&
95
+ rewards == o.rewards &&
96
+ pagination == o.pagination
97
+ end
98
+
99
+ # @see the `==` method
100
+ # @param [Object] Object to be compared
101
+ def eql?(o)
102
+ self == o
103
+ end
104
+
105
+ # Calculates hash code according to all attributes.
106
+ # @return [Integer] Hash code
107
+ def hash
108
+ [rewards, pagination].hash
109
+ end
110
+
111
+ # Builds the object from hash
112
+ # @param [Hash] attributes Model attributes in the form of hash
113
+ # @return [Object] Returns the model itself
114
+ def self.build_from_hash(attributes)
115
+ return nil unless attributes.is_a?(Hash)
116
+ attributes = attributes.transform_keys(&:to_sym)
117
+ transformed_hash = {}
118
+ openapi_types.each_pair do |key, type|
119
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
120
+ transformed_hash["#{key}"] = nil
121
+ elsif type =~ /\AArray<(.*)>/i
122
+ # check to ensure the input is an array given that the attribute
123
+ # is documented as an array but the input is not
124
+ if attributes[attribute_map[key]].is_a?(Array)
125
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
126
+ end
127
+ elsif !attributes[attribute_map[key]].nil?
128
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
129
+ end
130
+ end
131
+ new(transformed_hash)
132
+ end
133
+
134
+ # Deserializes the data based on type
135
+ # @param string type Data type
136
+ # @param string value Value to be deserialized
137
+ # @return [Object] Deserialized data
138
+ def self._deserialize(type, value)
139
+ case type.to_sym
140
+ when :Time
141
+ Time.parse(value)
142
+ when :Date
143
+ Date.parse(value)
144
+ when :String
145
+ value.to_s
146
+ when :Integer
147
+ value.to_i
148
+ when :Float
149
+ value.to_f
150
+ when :Boolean
151
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
152
+ true
153
+ else
154
+ false
155
+ end
156
+ when :Object
157
+ # generic object (usually a Hash), return directly
158
+ value
159
+ when /\AArray<(?<inner_type>.+)>\z/
160
+ inner_type = Regexp.last_match[:inner_type]
161
+ value.map { |v| _deserialize(inner_type, v) }
162
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
163
+ k_type = Regexp.last_match[:k_type]
164
+ v_type = Regexp.last_match[:v_type]
165
+ {}.tap do |hash|
166
+ value.each do |k, v|
167
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
168
+ end
169
+ end
170
+ else # model
171
+ # models (e.g. Pet) or oneOf
172
+ klass = MxPlatformRuby.const_get(type)
173
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
174
+ end
175
+ end
176
+
177
+ # Returns the string representation of the object
178
+ # @return [String] String presentation of the object
179
+ def to_s
180
+ to_hash.to_s
181
+ end
182
+
183
+ # to_body is an alias to to_hash (backward compatibility)
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_body
186
+ to_hash
187
+ end
188
+
189
+ # Returns the object in the form of hash
190
+ # @return [Hash] Returns the object in the form of hash
191
+ def to_hash
192
+ hash = {}
193
+ self.class.attribute_map.each_pair do |attr, param|
194
+ value = self.send(attr)
195
+ if value.nil?
196
+ is_nullable = self.class.openapi_nullable.include?(attr)
197
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
198
+ end
199
+
200
+ hash[param] = _to_hash(value)
201
+ end
202
+ hash
203
+ end
204
+
205
+ # Outputs non-array value in the form of hash
206
+ # For object, use to_hash. Otherwise, just return the value
207
+ # @param [Object] value Any valid value
208
+ # @return [Hash] Returns the value in the form of hash
209
+ def _to_hash(value)
210
+ if value.is_a?(Array)
211
+ value.compact.map { |v| _to_hash(v) }
212
+ elsif value.is_a?(Hash)
213
+ {}.tap do |hash|
214
+ value.each { |k, v| hash[k] = _to_hash(v) }
215
+ end
216
+ elsif value.respond_to? :to_hash
217
+ value.to_hash
218
+ else
219
+ value
220
+ end
221
+ end
222
+
223
+ end
224
+
225
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.0.1
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.36.0'
14
+ VERSION = '0.38.0'
15
15
  end
@@ -48,6 +48,8 @@ require 'mx-platform-ruby/models/connect_widget_response_body'
48
48
  require 'mx-platform-ruby/models/credential_request'
49
49
  require 'mx-platform-ruby/models/credential_response'
50
50
  require 'mx-platform-ruby/models/credentials_response_body'
51
+ require 'mx-platform-ruby/models/credit_card_product'
52
+ require 'mx-platform-ruby/models/credit_card_product_response'
51
53
  require 'mx-platform-ruby/models/enhance_transaction_response'
52
54
  require 'mx-platform-ruby/models/enhance_transactions_request'
53
55
  require 'mx-platform-ruby/models/enhance_transactions_request_body'
@@ -99,6 +101,10 @@ require 'mx-platform-ruby/models/payment_processor_authorization_code_request'
99
101
  require 'mx-platform-ruby/models/payment_processor_authorization_code_request_body'
100
102
  require 'mx-platform-ruby/models/payment_processor_authorization_code_response'
101
103
  require 'mx-platform-ruby/models/payment_processor_authorization_code_response_body'
104
+ require 'mx-platform-ruby/models/reward_response'
105
+ require 'mx-platform-ruby/models/reward_response_body'
106
+ require 'mx-platform-ruby/models/rewards_response'
107
+ require 'mx-platform-ruby/models/rewards_response_body'
102
108
  require 'mx-platform-ruby/models/scheduled_payment_response'
103
109
  require 'mx-platform-ruby/models/scheduled_payments_response_body'
104
110
  require 'mx-platform-ruby/models/spending_plan_account_response'
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
6
6
  gemLicense: MIT
7
7
  gemName: mx-platform-ruby
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: 0.36.0
9
+ gemVersion: 0.38.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -190,6 +190,18 @@ describe 'MxPlatformApi' do
190
190
  end
191
191
  end
192
192
 
193
+ # unit tests for credit_card
194
+ # Read a Credit Card Product
195
+ # This endpoint returns the specified &#x60;credit_card_product&#x60; according to the unique GUID.
196
+ # @param credit_card_product_guid The required &#x60;credit_card_product_guid&#x60; can be found on the &#x60;account&#x60; object.
197
+ # @param [Hash] opts the optional parameters
198
+ # @return [CreditCardProductResponse]
199
+ describe 'credit_card test' do
200
+ it 'should work' do
201
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
202
+ end
203
+ end
204
+
193
205
  # unit tests for delete_category
194
206
  # Delete category
195
207
  # Use this endpoint to delete a specific custom category according to its unique GUID. The API will respond with an empty object and a status of &#x60;204 No Content&#x60;.
@@ -387,6 +399,19 @@ describe 'MxPlatformApi' do
387
399
  end
388
400
  end
389
401
 
402
+ # unit tests for fetch_rewards
403
+ # Fetch Rewards
404
+ # Calling this endpoint initiates an aggregation-type event which will gather the member&#39;s rewards information, as well as account and transaction information. Rewards data is also gathered with daily background aggregations.
405
+ # @param user_guid The unique id for a &#x60;user&#x60;.
406
+ # @param member_guid The unique identifier for the member. Defined by MX.
407
+ # @param [Hash] opts the optional parameters
408
+ # @return [MemberResponseBody]
409
+ describe 'fetch_rewards test' do
410
+ it 'should work' do
411
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
412
+ end
413
+ end
414
+
390
415
  # unit tests for fetch_statements
391
416
  # Fetch statements
392
417
  # Use this endpoint to fetch the statements associated with a particular member.
@@ -738,6 +763,19 @@ describe 'MxPlatformApi' do
738
763
  end
739
764
  end
740
765
 
766
+ # unit tests for list_rewards
767
+ # List Rewards
768
+ # Use this endpoint to list all the &#x60;rewards&#x60; associated with a specified &#x60;member&#x60;.
769
+ # @param user_guid The unique id for a &#x60;user&#x60;.
770
+ # @param member_guid The unique identifier for the member. Defined by MX.
771
+ # @param [Hash] opts the optional parameters
772
+ # @return [RewardsResponseBody]
773
+ describe 'list_rewards test' do
774
+ it 'should work' do
775
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
776
+ end
777
+ end
778
+
741
779
  # unit tests for list_statements_by_member
742
780
  # List statements by member
743
781
  # Use this endpoint to get an array of available statements.
@@ -1078,6 +1116,20 @@ describe 'MxPlatformApi' do
1078
1116
  end
1079
1117
  end
1080
1118
 
1119
+ # unit tests for read_rewards
1120
+ # Read Reward
1121
+ # Use this endpoint to read a specific &#x60;reward&#x60; based on its unique GUID..
1122
+ # @param user_guid The unique id for a &#x60;user&#x60;.
1123
+ # @param member_guid The unique identifier for the member. Defined by MX.
1124
+ # @param reward_guid The unique identifier for the rewards. Defined by MX.
1125
+ # @param [Hash] opts the optional parameters
1126
+ # @return [RewardResponseBody]
1127
+ describe 'read_rewards test' do
1128
+ it 'should work' do
1129
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1130
+ end
1131
+ end
1132
+
1081
1133
  # unit tests for read_statement_by_member
1082
1134
  # Read statement by member
1083
1135
  # Use this endpoint to read a JSON representation of the statement.
@@ -49,6 +49,12 @@ describe MxPlatformRuby::AccountNumberResponse do
49
49
  end
50
50
  end
51
51
 
52
+ describe 'test attribute "loan_reference_number"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
52
58
  describe 'test attribute "institution_number"' do
53
59
  it 'should work' do
54
60
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -73,6 +79,12 @@ describe MxPlatformRuby::AccountNumberResponse do
73
79
  end
74
80
  end
75
81
 
82
+ describe 'test attribute "sequence_number"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
+ end
86
+ end
87
+
76
88
  describe 'test attribute "transit_number"' do
77
89
  it 'should work' do
78
90
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::CreditCardProductResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::CreditCardProductResponse do
21
+ let(:instance) { MxPlatformRuby::CreditCardProductResponse.new }
22
+
23
+ describe 'test an instance of CreditCardProductResponse' do
24
+ it 'should create an instance of CreditCardProductResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::CreditCardProductResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "reward"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ end
32
+ end
33
+
34
+ end