mx-platform-ruby 0.9.3 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -15
  3. data/docs/MxPlatformApi.md +301 -78
  4. data/docs/PaymentAccountResponse.md +30 -0
  5. data/docs/PaymentAccountResponseBody.md +18 -0
  6. data/docs/PaymentProcessorAuthorizationCodeRequest.md +22 -0
  7. data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +18 -0
  8. data/docs/PaymentProcessorAuthorizationCodeResponse.md +18 -0
  9. data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +18 -0
  10. data/docs/PaymentProcessorTokenResponseBody.md +22 -0
  11. data/lib/mx-platform-ruby/api/mx_platform_api.rb +337 -119
  12. data/lib/mx-platform-ruby/configuration.rb +7 -0
  13. data/lib/mx-platform-ruby/models/payment_account_response.rb +279 -0
  14. data/lib/mx-platform-ruby/models/payment_account_response_body.rb +218 -0
  15. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +236 -0
  16. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +218 -0
  17. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +219 -0
  18. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +218 -0
  19. data/lib/mx-platform-ruby/models/payment_processor_token_response_body.rb +239 -0
  20. data/lib/mx-platform-ruby/version.rb +1 -1
  21. data/lib/mx-platform-ruby.rb +7 -0
  22. data/openapi/config.yml +1 -1
  23. data/spec/api/mx_platform_api_spec.rb +56 -15
  24. data/spec/models/payment_account_response_body_spec.rb +34 -0
  25. data/spec/models/payment_account_response_spec.rb +70 -0
  26. data/spec/models/payment_processor_authorization_code_request_body_spec.rb +34 -0
  27. data/spec/models/payment_processor_authorization_code_request_spec.rb +46 -0
  28. data/spec/models/payment_processor_authorization_code_response_body_spec.rb +34 -0
  29. data/spec/models/payment_processor_authorization_code_response_spec.rb +34 -0
  30. data/spec/models/payment_processor_token_response_body_spec.rb +46 -0
  31. metadata +30 -2
@@ -0,0 +1,30 @@
1
+ # MxPlatformRuby::PaymentAccountResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_name** | **String** | | [optional] |
8
+ | **account_number** | **String** | | [optional] |
9
+ | **account_type** | **String** | | [optional] |
10
+ | **available_balance** | **Float** | | [optional] |
11
+ | **balance** | **Float** | | [optional] |
12
+ | **routing_number** | **String** | | [optional] |
13
+ | **transit_number** | **String** | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'mx-platform-ruby'
19
+
20
+ instance = MxPlatformRuby::PaymentAccountResponse.new(
21
+ account_name: My Savings,
22
+ account_number: 1858091489,
23
+ account_type: SAVINGS,
24
+ available_balance: 1000.0,
25
+ balance: 1000.0,
26
+ routing_number: 68899990000000,
27
+ transit_number: 12345
28
+ )
29
+ ```
30
+
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PaymentAccountResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payment_account** | [**PaymentAccountResponse**](PaymentAccountResponse.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PaymentAccountResponseBody.new(
15
+ payment_account: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_guid** | **String** | | [optional] |
8
+ | **member_guid** | **String** | | [optional] |
9
+ | **user_guid** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'mx-platform-ruby'
15
+
16
+ instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest.new(
17
+ account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
18
+ member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
19
+ user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payment_processor_authorization_code** | [**PaymentProcessorAuthorizationCodeRequest**](PaymentProcessorAuthorizationCodeRequest.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody.new(
15
+ payment_processor_authorization_code: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **authorization_code** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse.new(
15
+ authorization_code: sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payment_processor_authorization_code** | [**PaymentProcessorAuthorizationCodeResponse**](PaymentProcessorAuthorizationCodeResponse.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody.new(
15
+ payment_processor_authorization_code: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # MxPlatformRuby::PaymentProcessorTokenResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | | [optional] |
8
+ | **scope** | **String** | | [optional] |
9
+ | **token_type** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'mx-platform-ruby'
15
+
16
+ instance = MxPlatformRuby::PaymentProcessorTokenResponseBody.new(
17
+ access_token: jUmJS4AZVdvywAMO_JWKwZ8fvY9ZZQINSBHTKkHMw-c,
18
+ scope: payment_accounts,
19
+ token_type: bearer
20
+ )
21
+ ```
22
+