mx-platform-ruby 0.14.1 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -8
  3. data/docs/AccountNumberResponse.md +1 -1
  4. data/docs/AuthorizationCodeRequest.md +18 -0
  5. data/docs/AuthorizationCodeRequestBody.md +18 -0
  6. data/docs/AuthorizationCodeResponse.md +18 -0
  7. data/docs/AuthorizationCodeResponseBody.md +18 -0
  8. data/docs/MxPlatformApi.md +444 -0
  9. data/docs/PaymentProcessorAuthorizationCodeRequest.md +22 -0
  10. data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +18 -0
  11. data/docs/PaymentProcessorAuthorizationCodeResponse.md +18 -0
  12. data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +18 -0
  13. data/docs/TaxDocumentResponse.md +36 -0
  14. data/docs/TaxDocumentResponseBody.md +18 -0
  15. data/docs/TaxDocumentsResponseBody.md +20 -0
  16. data/lib/mx-platform-ruby/api/mx_platform_api.rb +430 -0
  17. data/lib/mx-platform-ruby/models/authorization_code_request.rb +219 -0
  18. data/lib/mx-platform-ruby/models/authorization_code_request_body.rb +218 -0
  19. data/lib/mx-platform-ruby/models/authorization_code_response.rb +219 -0
  20. data/lib/mx-platform-ruby/models/authorization_code_response_body.rb +220 -0
  21. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +239 -0
  22. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +218 -0
  23. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +219 -0
  24. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +218 -0
  25. data/lib/mx-platform-ruby/models/tax_document_response.rb +309 -0
  26. data/lib/mx-platform-ruby/models/tax_document_response_body.rb +218 -0
  27. data/lib/mx-platform-ruby/models/tax_documents_response_body.rb +229 -0
  28. data/lib/mx-platform-ruby/version.rb +1 -1
  29. data/lib/mx-platform-ruby.rb +11 -0
  30. data/openapi/config.yml +1 -1
  31. data/spec/api/mx_platform_api_spec.rb +80 -0
  32. data/spec/models/authorization_code_request_body_spec.rb +34 -0
  33. data/spec/models/authorization_code_request_spec.rb +34 -0
  34. data/spec/models/authorization_code_response_body_spec.rb +34 -0
  35. data/spec/models/authorization_code_response_spec.rb +34 -0
  36. data/spec/models/payment_processor_authorization_code_request_body_spec.rb +34 -0
  37. data/spec/models/payment_processor_authorization_code_request_spec.rb +46 -0
  38. data/spec/models/payment_processor_authorization_code_response_body_spec.rb +34 -0
  39. data/spec/models/payment_processor_authorization_code_response_spec.rb +34 -0
  40. data/spec/models/tax_document_response_body_spec.rb +34 -0
  41. data/spec/models/tax_document_response_spec.rb +88 -0
  42. data/spec/models/tax_documents_response_body_spec.rb +40 -0
  43. metadata +133 -89
@@ -0,0 +1,229 @@
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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MxPlatformRuby
17
+ class TaxDocumentsResponseBody
18
+ attr_accessor :pagination
19
+
20
+ attr_accessor :tax_documents
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'pagination' => :'pagination',
26
+ :'tax_documents' => :'tax_documents'
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
+ :'pagination' => :'PaginationResponse',
39
+ :'tax_documents' => :'Array<TaxDocumentResponse>'
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::TaxDocumentsResponseBody` 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::TaxDocumentsResponseBody`. 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?(:'pagination')
65
+ self.pagination = attributes[:'pagination']
66
+ end
67
+
68
+ if attributes.key?(:'tax_documents')
69
+ if (value = attributes[:'tax_documents']).is_a?(Array)
70
+ self.tax_documents = value
71
+ end
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
+ invalid_properties = Array.new
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ pagination == o.pagination &&
94
+ tax_documents == o.tax_documents
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [pagination, tax_documents].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ new.build_from_hash(attributes)
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ self.class.openapi_types.each_pair do |key, type|
122
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
123
+ self.send("#{key}=", nil)
124
+ elsif type =~ /\AArray<(.*)>/i
125
+ # check to ensure the input is an array given that the attribute
126
+ # is documented as an array but the input is not
127
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
129
+ end
130
+ elsif !attributes[self.class.attribute_map[key]].nil?
131
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
132
+ end
133
+ end
134
+
135
+ self
136
+ end
137
+
138
+ # Deserializes the data based on type
139
+ # @param string type Data type
140
+ # @param string value Value to be deserialized
141
+ # @return [Object] Deserialized data
142
+ def _deserialize(type, value)
143
+ case type.to_sym
144
+ when :Time
145
+ Time.parse(value)
146
+ when :Date
147
+ Date.parse(value)
148
+ when :String
149
+ value.to_s
150
+ when :Integer
151
+ value.to_i
152
+ when :Float
153
+ value.to_f
154
+ when :Boolean
155
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
156
+ true
157
+ else
158
+ false
159
+ end
160
+ when :Object
161
+ # generic object (usually a Hash), return directly
162
+ value
163
+ when /\AArray<(?<inner_type>.+)>\z/
164
+ inner_type = Regexp.last_match[:inner_type]
165
+ value.map { |v| _deserialize(inner_type, v) }
166
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
167
+ k_type = Regexp.last_match[:k_type]
168
+ v_type = Regexp.last_match[:v_type]
169
+ {}.tap do |hash|
170
+ value.each do |k, v|
171
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
172
+ end
173
+ end
174
+ else # model
175
+ # models (e.g. Pet) or oneOf
176
+ klass = MxPlatformRuby.const_get(type)
177
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
178
+ end
179
+ end
180
+
181
+ # Returns the string representation of the object
182
+ # @return [String] String presentation of the object
183
+ def to_s
184
+ to_hash.to_s
185
+ end
186
+
187
+ # to_body is an alias to to_hash (backward compatibility)
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_body
190
+ to_hash
191
+ end
192
+
193
+ # Returns the object in the form of hash
194
+ # @return [Hash] Returns the object in the form of hash
195
+ def to_hash
196
+ hash = {}
197
+ self.class.attribute_map.each_pair do |attr, param|
198
+ value = self.send(attr)
199
+ if value.nil?
200
+ is_nullable = self.class.openapi_nullable.include?(attr)
201
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
202
+ end
203
+
204
+ hash[param] = _to_hash(value)
205
+ end
206
+ hash
207
+ end
208
+
209
+ # Outputs non-array value in the form of hash
210
+ # For object, use to_hash. Otherwise, just return the value
211
+ # @param [Object] value Any valid value
212
+ # @return [Hash] Returns the value in the form of hash
213
+ def _to_hash(value)
214
+ if value.is_a?(Array)
215
+ value.compact.map { |v| _to_hash(v) }
216
+ elsif value.is_a?(Hash)
217
+ {}.tap do |hash|
218
+ value.each { |k, v| hash[k] = _to_hash(v) }
219
+ end
220
+ elsif value.respond_to? :to_hash
221
+ value.to_hash
222
+ else
223
+ value
224
+ end
225
+ end
226
+
227
+ end
228
+
229
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.14.1'
14
+ VERSION = '0.16.0'
15
15
  end
@@ -26,6 +26,10 @@ require 'mx-platform-ruby/models/account_response_body'
26
26
  require 'mx-platform-ruby/models/account_update_request'
27
27
  require 'mx-platform-ruby/models/account_update_request_body'
28
28
  require 'mx-platform-ruby/models/accounts_response_body'
29
+ require 'mx-platform-ruby/models/authorization_code_request'
30
+ require 'mx-platform-ruby/models/authorization_code_request_body'
31
+ require 'mx-platform-ruby/models/authorization_code_response'
32
+ require 'mx-platform-ruby/models/authorization_code_response_body'
29
33
  require 'mx-platform-ruby/models/categories_response_body'
30
34
  require 'mx-platform-ruby/models/category_create_request'
31
35
  require 'mx-platform-ruby/models/category_create_request_body'
@@ -85,6 +89,10 @@ require 'mx-platform-ruby/models/o_auth_window_response'
85
89
  require 'mx-platform-ruby/models/o_auth_window_response_body'
86
90
  require 'mx-platform-ruby/models/option_response'
87
91
  require 'mx-platform-ruby/models/pagination_response'
92
+ require 'mx-platform-ruby/models/payment_processor_authorization_code_request'
93
+ require 'mx-platform-ruby/models/payment_processor_authorization_code_request_body'
94
+ require 'mx-platform-ruby/models/payment_processor_authorization_code_response'
95
+ require 'mx-platform-ruby/models/payment_processor_authorization_code_response_body'
88
96
  require 'mx-platform-ruby/models/statement_response'
89
97
  require 'mx-platform-ruby/models/statement_response_body'
90
98
  require 'mx-platform-ruby/models/statements_response_body'
@@ -102,6 +110,9 @@ require 'mx-platform-ruby/models/tagging_update_request'
102
110
  require 'mx-platform-ruby/models/tagging_update_request_body'
103
111
  require 'mx-platform-ruby/models/taggings_response_body'
104
112
  require 'mx-platform-ruby/models/tags_response_body'
113
+ require 'mx-platform-ruby/models/tax_document_response'
114
+ require 'mx-platform-ruby/models/tax_document_response_body'
115
+ require 'mx-platform-ruby/models/tax_documents_response_body'
105
116
  require 'mx-platform-ruby/models/transaction_response'
106
117
  require 'mx-platform-ruby/models/transaction_response_body'
107
118
  require 'mx-platform-ruby/models/transaction_rule_create_request'
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.14.1
9
+ gemVersion: 0.16.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -296,6 +296,18 @@ describe 'MxPlatformApi' do
296
296
  end
297
297
  end
298
298
 
299
+ # unit tests for deprecated_request_payment_processor_authorization_code
300
+ # (Deprecated) Request an authorization code.
301
+ # (This endpoint is deprecated. Clients should use &#x60;/authorization_code&#x60;.) Clients use this endpoint to request an authorization_code according to a user, member, and account specified in the request body. Clients then pass this code to processors. Processor access is scoped only to the user/member/account specified in this request. Before requesting an authorization_code, clients must have verified the specified member.
302
+ # @param payment_processor_authorization_code_request_body The scope for the authorization code.
303
+ # @param [Hash] opts the optional parameters
304
+ # @return [PaymentProcessorAuthorizationCodeResponseBody]
305
+ describe 'deprecated_request_payment_processor_authorization_code test' do
306
+ it 'should work' do
307
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
308
+ end
309
+ end
310
+
299
311
  # unit tests for download_statement_pdf
300
312
  # Download statement pdf
301
313
  # Use this endpoint to download a specified statement PDF.
@@ -310,6 +322,20 @@ describe 'MxPlatformApi' do
310
322
  end
311
323
  end
312
324
 
325
+ # unit tests for download_tax_document
326
+ # Download a Tax Document PDF
327
+ # Use this endpoint to download a PDF version of the specified tax document. The endpoint URL is the base URL appended with the uri of the tax_document.
328
+ # @param tax_document_guid The unique id for a &#x60;tax_document&#x60;.
329
+ # @param member_guid The unique id for a &#x60;member&#x60;.
330
+ # @param user_guid The unique id for a &#x60;user&#x60;.
331
+ # @param [Hash] opts the optional parameters
332
+ # @return [File]
333
+ describe 'download_tax_document test' do
334
+ it 'should work' do
335
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
+ end
337
+ end
338
+
313
339
  # unit tests for enhance_transactions
314
340
  # Enhance transactions
315
341
  # Use this endpoint to categorize, cleanse, and classify transactions. These transactions are not persisted or stored on the MX platform.
@@ -348,6 +374,19 @@ describe 'MxPlatformApi' do
348
374
  end
349
375
  end
350
376
 
377
+ # unit tests for fetch_tax_documents
378
+ # Fetch Tax Documents
379
+ # Use this endpoint to fetch (aggregate) the tax documents associated with the specified member. This request **does not** return the latest tax documents. It just starts the document aggregation process and returns the initial state of the process. You must interact with the newly aggregated data using the other document endpoints in this reference. This request may also trigger multi-factor authentication which requires end-user input and a specific process for answering authentication challenges.
380
+ # @param member_guid The unique id for a &#x60;member&#x60;.
381
+ # @param user_guid The unique id for a &#x60;user&#x60;.
382
+ # @param [Hash] opts the optional parameters
383
+ # @return [MemberResponseBody]
384
+ describe 'fetch_tax_documents test' do
385
+ it 'should work' do
386
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
387
+ end
388
+ end
389
+
351
390
  # unit tests for identify_member
352
391
  # Identify member
353
392
  # The identify endpoint begins an identification process for an already-existing member.
@@ -716,6 +755,21 @@ describe 'MxPlatformApi' do
716
755
  end
717
756
  end
718
757
 
758
+ # unit tests for list_tax_documents
759
+ # List Tax Documents
760
+ # Use this endpoint to get a paginated list of tax documents.
761
+ # @param member_guid The unique id for a &#x60;member&#x60;.
762
+ # @param user_guid The unique id for a &#x60;user&#x60;.
763
+ # @param [Hash] opts the optional parameters
764
+ # @option opts [Integer] :page Specify current page.
765
+ # @option opts [Integer] :records_per_page Specify records per page.
766
+ # @return [TaxDocumentsResponseBody]
767
+ describe 'list_tax_documents test' do
768
+ it 'should work' do
769
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
770
+ end
771
+ end
772
+
719
773
  # unit tests for list_transaction_rules
720
774
  # List transaction rules
721
775
  # Use this endpoint to read the attributes of all existing transaction rules belonging to the user.
@@ -1037,6 +1091,20 @@ describe 'MxPlatformApi' do
1037
1091
  end
1038
1092
  end
1039
1093
 
1094
+ # unit tests for read_tax_document
1095
+ # Read a Tax Document
1096
+ # Use this endpoint to read the attributes of the specified tax document.
1097
+ # @param tax_document_guid The unique id for a &#x60;tax_document&#x60;.
1098
+ # @param member_guid The unique id for a &#x60;member&#x60;.
1099
+ # @param user_guid The unique id for a &#x60;user&#x60;.
1100
+ # @param [Hash] opts the optional parameters
1101
+ # @return [TaxDocumentResponseBody]
1102
+ describe 'read_tax_document test' do
1103
+ it 'should work' do
1104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1105
+ end
1106
+ end
1107
+
1040
1108
  # unit tests for read_transaction
1041
1109
  # Read transaction
1042
1110
  # Requests to this endpoint will return the attributes of the specified &#x60;transaction&#x60;.
@@ -1075,6 +1143,18 @@ describe 'MxPlatformApi' do
1075
1143
  end
1076
1144
  end
1077
1145
 
1146
+ # unit tests for request_authorization_code
1147
+ # Request an authorization code.
1148
+ # Clients use this endpoint to request an authorization code according to the parameters specified in the scope. Clients then pass this code to processors. Processor access is scoped only to the GUIDs and features specified in this request. Before requesting an authorization code which includes a member in the scope, clients must have verified that member.
1149
+ # @param authorization_code_request_body The scope for the authorization code.
1150
+ # @param [Hash] opts the optional parameters
1151
+ # @return [AuthorizationCodeResponseBody]
1152
+ describe 'request_authorization_code test' do
1153
+ it 'should work' do
1154
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1155
+ end
1156
+ end
1157
+
1078
1158
  # unit tests for request_connect_widget_url
1079
1159
  # Request connect widget url
1080
1160
  # This endpoint will return a URL for an embeddable version of MX Connect.
@@ -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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::AuthorizationCodeRequestBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::AuthorizationCodeRequestBody do
21
+ let(:instance) { MxPlatformRuby::AuthorizationCodeRequestBody.new }
22
+
23
+ describe 'test an instance of AuthorizationCodeRequestBody' do
24
+ it 'should create an instance of AuthorizationCodeRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::AuthorizationCodeRequestBody)
26
+ end
27
+ end
28
+ describe 'test attribute "authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::AuthorizationCodeRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::AuthorizationCodeRequest do
21
+ let(:instance) { MxPlatformRuby::AuthorizationCodeRequest.new }
22
+
23
+ describe 'test an instance of AuthorizationCodeRequest' do
24
+ it 'should create an instance of AuthorizationCodeRequest' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::AuthorizationCodeRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "scope"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::AuthorizationCodeResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::AuthorizationCodeResponseBody do
21
+ let(:instance) { MxPlatformRuby::AuthorizationCodeResponseBody.new }
22
+
23
+ describe 'test an instance of AuthorizationCodeResponseBody' do
24
+ it 'should create an instance of AuthorizationCodeResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::AuthorizationCodeResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::AuthorizationCodeResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::AuthorizationCodeResponse do
21
+ let(:instance) { MxPlatformRuby::AuthorizationCodeResponse.new }
22
+
23
+ describe 'test an instance of AuthorizationCodeResponse' do
24
+ it 'should create an instance of AuthorizationCodeResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::AuthorizationCodeResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeRequestBody' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody)
26
+ end
27
+ end
28
+ describe 'test attribute "payment_processor_authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,46 @@
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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeRequest' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeRequest' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "account_guid"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "member_guid"' 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 "user_guid"' 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
+ end
@@ -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: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody do
21
+ let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody.new }
22
+
23
+ describe 'test an instance of PaymentProcessorAuthorizationCodeResponseBody' do
24
+ it 'should create an instance of PaymentProcessorAuthorizationCodeResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "payment_processor_authorization_code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end