mx-platform-ruby 0.11.2 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/docs/MxPlatformApi.md +49 -49
  4. data/docs/{PaymentAccountResponse.md → PartnerAccountResponse.md} +2 -2
  5. data/docs/PartnerAccountResponseBody.md +18 -0
  6. data/docs/{PaymentProcessorAuthorizationCodeRequest.md → PartnerAuthorizationCodeRequest.md} +2 -2
  7. data/docs/PartnerAuthorizationCodeRequestBody.md +18 -0
  8. data/docs/{PaymentProcessorAuthorizationCodeResponse.md → PartnerAuthorizationCodeResponse.md} +2 -2
  9. data/docs/PartnerAuthorizationCodeResponseBody.md +18 -0
  10. data/docs/{PaymentProcessorTokenResponseBody.md → PartnerTokenResponseBody.md} +3 -3
  11. data/lib/mx-platform-ruby/api/mx_platform_api.rb +50 -50
  12. data/lib/mx-platform-ruby/models/{payment_account_response.rb → partner_account_response.rb} +3 -3
  13. data/lib/mx-platform-ruby/models/{payment_account_response_body.rb → partner_account_response_body.rb} +10 -10
  14. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_request.rb → partner_authorization_code_request.rb} +3 -3
  15. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_request_body.rb → partner_authorization_code_request_body.rb} +10 -10
  16. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_response.rb → partner_authorization_code_response.rb} +3 -3
  17. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_response_body.rb → partner_authorization_code_response_body.rb} +10 -10
  18. data/lib/mx-platform-ruby/models/{payment_processor_token_response_body.rb → partner_token_response_body.rb} +3 -3
  19. data/lib/mx-platform-ruby/version.rb +1 -1
  20. data/lib/mx-platform-ruby.rb +7 -7
  21. data/openapi/config.yml +1 -1
  22. data/spec/api/mx_platform_api_spec.rb +17 -17
  23. data/spec/models/{payment_account_response_body_spec.rb → partner_account_response_body_spec.rb} +7 -7
  24. data/spec/models/{payment_account_response_spec.rb → partner_account_response_spec.rb} +6 -6
  25. data/spec/models/{payment_processor_authorization_code_request_body_spec.rb → partner_authorization_code_request_body_spec.rb} +7 -7
  26. data/spec/models/{payment_processor_authorization_code_request_spec.rb → partner_authorization_code_request_spec.rb} +6 -6
  27. data/spec/models/{payment_processor_authorization_code_response_body_spec.rb → partner_authorization_code_response_body_spec.rb} +7 -7
  28. data/spec/models/{payment_processor_authorization_code_response_spec.rb → partner_authorization_code_response_spec.rb} +6 -6
  29. data/spec/models/{payment_processor_token_response_body_spec.rb → partner_token_response_body_spec.rb} +6 -6
  30. metadata +123 -123
  31. data/docs/PaymentAccountResponseBody.md +0 -18
  32. data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +0 -18
  33. data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +0 -18
@@ -14,13 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
- class PaymentAccountResponseBody
18
- attr_accessor :payment_account
17
+ class PartnerAccountResponseBody
18
+ attr_accessor :partner_account
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
21
21
  def self.attribute_map
22
22
  {
23
- :'payment_account' => :'payment_account'
23
+ :'partner_account' => :'partner_account'
24
24
  }
25
25
  end
26
26
 
@@ -32,7 +32,7 @@ module MxPlatformRuby
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'payment_account' => :'PaymentAccountResponse'
35
+ :'partner_account' => :'PartnerAccountResponse'
36
36
  }
37
37
  end
38
38
 
@@ -46,19 +46,19 @@ module MxPlatformRuby
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PaymentAccountResponseBody` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAccountResponseBody` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PaymentAccountResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAccountResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
- if attributes.key?(:'payment_account')
61
- self.payment_account = attributes[:'payment_account']
60
+ if attributes.key?(:'partner_account')
61
+ self.partner_account = attributes[:'partner_account']
62
62
  end
63
63
  end
64
64
 
@@ -80,7 +80,7 @@ module MxPlatformRuby
80
80
  def ==(o)
81
81
  return true if self.equal?(o)
82
82
  self.class == o.class &&
83
- payment_account == o.payment_account
83
+ partner_account == o.partner_account
84
84
  end
85
85
 
86
86
  # @see the `==` method
@@ -92,7 +92,7 @@ module MxPlatformRuby
92
92
  # Calculates hash code according to all attributes.
93
93
  # @return [Integer] Hash code
94
94
  def hash
95
- [payment_account].hash
95
+ [partner_account].hash
96
96
  end
97
97
 
98
98
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
- class PaymentProcessorAuthorizationCodeRequest
17
+ class PartnerAuthorizationCodeRequest
18
18
  attr_accessor :account_guid
19
19
 
20
20
  attr_accessor :member_guid
@@ -54,13 +54,13 @@ module MxPlatformRuby
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeRequest` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -14,13 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
- class PaymentProcessorAuthorizationCodeRequestBody
18
- attr_accessor :payment_processor_authorization_code
17
+ class PartnerAuthorizationCodeRequestBody
18
+ attr_accessor :partner_authorization_code
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
21
21
  def self.attribute_map
22
22
  {
23
- :'payment_processor_authorization_code' => :'payment_processor_authorization_code'
23
+ :'partner_authorization_code' => :'partner_authorization_code'
24
24
  }
25
25
  end
26
26
 
@@ -32,7 +32,7 @@ module MxPlatformRuby
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'payment_processor_authorization_code' => :'PaymentProcessorAuthorizationCodeRequest'
35
+ :'partner_authorization_code' => :'PartnerAuthorizationCodeRequest'
36
36
  }
37
37
  end
38
38
 
@@ -46,19 +46,19 @@ module MxPlatformRuby
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeRequestBody` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeRequestBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
- if attributes.key?(:'payment_processor_authorization_code')
61
- self.payment_processor_authorization_code = attributes[:'payment_processor_authorization_code']
60
+ if attributes.key?(:'partner_authorization_code')
61
+ self.partner_authorization_code = attributes[:'partner_authorization_code']
62
62
  end
63
63
  end
64
64
 
@@ -80,7 +80,7 @@ module MxPlatformRuby
80
80
  def ==(o)
81
81
  return true if self.equal?(o)
82
82
  self.class == o.class &&
83
- payment_processor_authorization_code == o.payment_processor_authorization_code
83
+ partner_authorization_code == o.partner_authorization_code
84
84
  end
85
85
 
86
86
  # @see the `==` method
@@ -92,7 +92,7 @@ module MxPlatformRuby
92
92
  # Calculates hash code according to all attributes.
93
93
  # @return [Integer] Hash code
94
94
  def hash
95
- [payment_processor_authorization_code].hash
95
+ [partner_authorization_code].hash
96
96
  end
97
97
 
98
98
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
- class PaymentProcessorAuthorizationCodeResponse
17
+ class PartnerAuthorizationCodeResponse
18
18
  attr_accessor :authorization_code
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,13 +47,13 @@ module MxPlatformRuby
47
47
  # @param [Hash] attributes Model attributes in the form of hash
48
48
  def initialize(attributes = {})
49
49
  if (!attributes.is_a?(Hash))
50
- fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse` initialize method"
50
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeResponse` initialize method"
51
51
  end
52
52
 
53
53
  # check to see if the attribute exists and convert string to symbol for hash key
54
54
  attributes = attributes.each_with_object({}) { |(k, v), h|
55
55
  if (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
57
  end
58
58
  h[k.to_sym] = v
59
59
  }
@@ -14,13 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
- class PaymentProcessorAuthorizationCodeResponseBody
18
- attr_accessor :payment_processor_authorization_code
17
+ class PartnerAuthorizationCodeResponseBody
18
+ attr_accessor :partner_authorization_code
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
21
21
  def self.attribute_map
22
22
  {
23
- :'payment_processor_authorization_code' => :'payment_processor_authorization_code'
23
+ :'partner_authorization_code' => :'partner_authorization_code'
24
24
  }
25
25
  end
26
26
 
@@ -32,7 +32,7 @@ module MxPlatformRuby
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'payment_processor_authorization_code' => :'PaymentProcessorAuthorizationCodeResponse'
35
+ :'partner_authorization_code' => :'PartnerAuthorizationCodeResponse'
36
36
  }
37
37
  end
38
38
 
@@ -46,19 +46,19 @@ module MxPlatformRuby
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeResponseBody` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
- if attributes.key?(:'payment_processor_authorization_code')
61
- self.payment_processor_authorization_code = attributes[:'payment_processor_authorization_code']
60
+ if attributes.key?(:'partner_authorization_code')
61
+ self.partner_authorization_code = attributes[:'partner_authorization_code']
62
62
  end
63
63
  end
64
64
 
@@ -80,7 +80,7 @@ module MxPlatformRuby
80
80
  def ==(o)
81
81
  return true if self.equal?(o)
82
82
  self.class == o.class &&
83
- payment_processor_authorization_code == o.payment_processor_authorization_code
83
+ partner_authorization_code == o.partner_authorization_code
84
84
  end
85
85
 
86
86
  # @see the `==` method
@@ -92,7 +92,7 @@ module MxPlatformRuby
92
92
  # Calculates hash code according to all attributes.
93
93
  # @return [Integer] Hash code
94
94
  def hash
95
- [payment_processor_authorization_code].hash
95
+ [partner_authorization_code].hash
96
96
  end
97
97
 
98
98
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
- class PaymentProcessorTokenResponseBody
17
+ class PartnerTokenResponseBody
18
18
  attr_accessor :access_token
19
19
 
20
20
  attr_accessor :scope
@@ -57,13 +57,13 @@ module MxPlatformRuby
57
57
  # @param [Hash] attributes Model attributes in the form of hash
58
58
  def initialize(attributes = {})
59
59
  if (!attributes.is_a?(Hash))
60
- fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PaymentProcessorTokenResponseBody` initialize method"
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerTokenResponseBody` initialize method"
61
61
  end
62
62
 
63
63
  # check to see if the attribute exists and convert string to symbol for hash key
64
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
65
65
  if (!self.class.attribute_map.key?(k.to_sym))
66
- fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PaymentProcessorTokenResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerTokenResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
67
67
  end
68
68
  h[k.to_sym] = v
69
69
  }
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.11.2'
14
+ VERSION = '0.12.0'
15
15
  end
@@ -85,13 +85,13 @@ require 'mx-platform-ruby/models/o_auth_window_response'
85
85
  require 'mx-platform-ruby/models/o_auth_window_response_body'
86
86
  require 'mx-platform-ruby/models/option_response'
87
87
  require 'mx-platform-ruby/models/pagination_response'
88
- require 'mx-platform-ruby/models/payment_account_response'
89
- require 'mx-platform-ruby/models/payment_account_response_body'
90
- require 'mx-platform-ruby/models/payment_processor_authorization_code_request'
91
- require 'mx-platform-ruby/models/payment_processor_authorization_code_request_body'
92
- require 'mx-platform-ruby/models/payment_processor_authorization_code_response'
93
- require 'mx-platform-ruby/models/payment_processor_authorization_code_response_body'
94
- require 'mx-platform-ruby/models/payment_processor_token_response_body'
88
+ require 'mx-platform-ruby/models/partner_account_response'
89
+ require 'mx-platform-ruby/models/partner_account_response_body'
90
+ require 'mx-platform-ruby/models/partner_authorization_code_request'
91
+ require 'mx-platform-ruby/models/partner_authorization_code_request_body'
92
+ require 'mx-platform-ruby/models/partner_authorization_code_response'
93
+ require 'mx-platform-ruby/models/partner_authorization_code_response_body'
94
+ require 'mx-platform-ruby/models/partner_token_response_body'
95
95
  require 'mx-platform-ruby/models/statement_response'
96
96
  require 'mx-platform-ruby/models/statement_response_body'
97
97
  require 'mx-platform-ruby/models/statements_response_body'
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.11.2
9
+ gemVersion: 0.12.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -1070,37 +1070,37 @@ describe 'MxPlatformApi' do
1070
1070
  end
1071
1071
  end
1072
1072
 
1073
- # unit tests for request_payment_account
1074
- # Request payment account
1075
- # Use this endpoint to request a payment account.
1073
+ # unit tests for request_partner_account
1074
+ # Request partner account
1075
+ # Use this endpoint to request a partner account.
1076
1076
  # @param [Hash] opts the optional parameters
1077
- # @return [PaymentAccountResponseBody]
1078
- describe 'request_payment_account test' do
1077
+ # @return [PartnerAccountResponseBody]
1078
+ describe 'request_partner_account test' do
1079
1079
  it 'should work' do
1080
1080
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1081
1081
  end
1082
1082
  end
1083
1083
 
1084
- # unit tests for request_payment_processor_authorization_code
1085
- # Request payment processor authorization code
1086
- # Use this endpoint to request a payment processor authorization code.
1087
- # @param payment_processor_authorization_code_request_body Payment processor authorization code object containing account_guid, member_guid, and user_guid.
1084
+ # unit tests for request_partner_authorization_code
1085
+ # Request partner authorization code
1086
+ # Use this endpoint to request a partner authorization code.
1087
+ # @param partner_authorization_code_request_body Partner authorization code object containing account_guid, member_guid, and user_guid.
1088
1088
  # @param [Hash] opts the optional parameters
1089
- # @return [PaymentProcessorAuthorizationCodeResponseBody]
1090
- describe 'request_payment_processor_authorization_code test' do
1089
+ # @return [PartnerAuthorizationCodeResponseBody]
1090
+ describe 'request_partner_authorization_code test' do
1091
1091
  it 'should work' do
1092
1092
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1093
1093
  end
1094
1094
  end
1095
1095
 
1096
- # unit tests for request_payment_processor_token
1097
- # Request payment processor token
1098
- # Use this endpoint to request a payment processor token.
1096
+ # unit tests for request_partner_token
1097
+ # Request partner token
1098
+ # Use this endpoint to request a partner token.
1099
1099
  # @param [Hash] opts the optional parameters
1100
- # @option opts [String] :code Code to request processor token.
1100
+ # @option opts [String] :code Code to request partner token.
1101
1101
  # @option opts [String] :grant_type Specify grant type.
1102
- # @return [PaymentProcessorTokenResponseBody]
1103
- describe 'request_payment_processor_token test' do
1102
+ # @return [PartnerTokenResponseBody]
1103
+ describe 'request_partner_token test' do
1104
1104
  it 'should work' do
1105
1105
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1106
1106
  end
@@ -14,18 +14,18 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentAccountResponseBody
17
+ # Unit tests for MxPlatformRuby::PartnerAccountResponseBody
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentAccountResponseBody do
21
- let(:instance) { MxPlatformRuby::PaymentAccountResponseBody.new }
20
+ describe MxPlatformRuby::PartnerAccountResponseBody do
21
+ let(:instance) { MxPlatformRuby::PartnerAccountResponseBody.new }
22
22
 
23
- describe 'test an instance of PaymentAccountResponseBody' do
24
- it 'should create an instance of PaymentAccountResponseBody' do
25
- expect(instance).to be_instance_of(MxPlatformRuby::PaymentAccountResponseBody)
23
+ describe 'test an instance of PartnerAccountResponseBody' do
24
+ it 'should create an instance of PartnerAccountResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerAccountResponseBody)
26
26
  end
27
27
  end
28
- describe 'test attribute "payment_account"' do
28
+ describe 'test attribute "partner_account"' do
29
29
  it 'should work' do
30
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
31
  end
@@ -14,15 +14,15 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentAccountResponse
17
+ # Unit tests for MxPlatformRuby::PartnerAccountResponse
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentAccountResponse do
21
- let(:instance) { MxPlatformRuby::PaymentAccountResponse.new }
20
+ describe MxPlatformRuby::PartnerAccountResponse do
21
+ let(:instance) { MxPlatformRuby::PartnerAccountResponse.new }
22
22
 
23
- describe 'test an instance of PaymentAccountResponse' do
24
- it 'should create an instance of PaymentAccountResponse' do
25
- expect(instance).to be_instance_of(MxPlatformRuby::PaymentAccountResponse)
23
+ describe 'test an instance of PartnerAccountResponse' do
24
+ it 'should create an instance of PartnerAccountResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerAccountResponse)
26
26
  end
27
27
  end
28
28
  describe 'test attribute "account_name"' do
@@ -14,18 +14,18 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody
17
+ # Unit tests for MxPlatformRuby::PartnerAuthorizationCodeRequestBody
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody do
21
- let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody.new }
20
+ describe MxPlatformRuby::PartnerAuthorizationCodeRequestBody do
21
+ let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeRequestBody.new }
22
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)
23
+ describe 'test an instance of PartnerAuthorizationCodeRequestBody' do
24
+ it 'should create an instance of PartnerAuthorizationCodeRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeRequestBody)
26
26
  end
27
27
  end
28
- describe 'test attribute "payment_processor_authorization_code"' do
28
+ describe 'test attribute "partner_authorization_code"' do
29
29
  it 'should work' do
30
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
31
  end
@@ -14,15 +14,15 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest
17
+ # Unit tests for MxPlatformRuby::PartnerAuthorizationCodeRequest
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest do
21
- let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest.new }
20
+ describe MxPlatformRuby::PartnerAuthorizationCodeRequest do
21
+ let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeRequest.new }
22
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)
23
+ describe 'test an instance of PartnerAuthorizationCodeRequest' do
24
+ it 'should create an instance of PartnerAuthorizationCodeRequest' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeRequest)
26
26
  end
27
27
  end
28
28
  describe 'test attribute "account_guid"' do
@@ -14,18 +14,18 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody
17
+ # Unit tests for MxPlatformRuby::PartnerAuthorizationCodeResponseBody
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody do
21
- let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody.new }
20
+ describe MxPlatformRuby::PartnerAuthorizationCodeResponseBody do
21
+ let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeResponseBody.new }
22
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)
23
+ describe 'test an instance of PartnerAuthorizationCodeResponseBody' do
24
+ it 'should create an instance of PartnerAuthorizationCodeResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeResponseBody)
26
26
  end
27
27
  end
28
- describe 'test attribute "payment_processor_authorization_code"' do
28
+ describe 'test attribute "partner_authorization_code"' do
29
29
  it 'should work' do
30
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
31
  end
@@ -14,15 +14,15 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse
17
+ # Unit tests for MxPlatformRuby::PartnerAuthorizationCodeResponse
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse do
21
- let(:instance) { MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse.new }
20
+ describe MxPlatformRuby::PartnerAuthorizationCodeResponse do
21
+ let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeResponse.new }
22
22
 
23
- describe 'test an instance of PaymentProcessorAuthorizationCodeResponse' do
24
- it 'should create an instance of PaymentProcessorAuthorizationCodeResponse' do
25
- expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse)
23
+ describe 'test an instance of PartnerAuthorizationCodeResponse' do
24
+ it 'should create an instance of PartnerAuthorizationCodeResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeResponse)
26
26
  end
27
27
  end
28
28
  describe 'test attribute "authorization_code"' do
@@ -14,15 +14,15 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for MxPlatformRuby::PaymentProcessorTokenResponseBody
17
+ # Unit tests for MxPlatformRuby::PartnerTokenResponseBody
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe MxPlatformRuby::PaymentProcessorTokenResponseBody do
21
- let(:instance) { MxPlatformRuby::PaymentProcessorTokenResponseBody.new }
20
+ describe MxPlatformRuby::PartnerTokenResponseBody do
21
+ let(:instance) { MxPlatformRuby::PartnerTokenResponseBody.new }
22
22
 
23
- describe 'test an instance of PaymentProcessorTokenResponseBody' do
24
- it 'should create an instance of PaymentProcessorTokenResponseBody' do
25
- expect(instance).to be_instance_of(MxPlatformRuby::PaymentProcessorTokenResponseBody)
23
+ describe 'test an instance of PartnerTokenResponseBody' do
24
+ it 'should create an instance of PartnerTokenResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::PartnerTokenResponseBody)
26
26
  end
27
27
  end
28
28
  describe 'test attribute "access_token"' do