mx-platform-ruby 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +1 -1
- data/docs/AccountResponse.md +15 -1
- data/docs/ManagedAccountCreateRequest.md +78 -0
- data/docs/ManagedAccountCreateRequestBody.md +18 -0
- data/docs/ManagedAccountUpdateRequest.md +78 -0
- data/docs/ManagedAccountUpdateRequestBody.md +18 -0
- data/docs/ManagedMemberCreateRequest.md +24 -0
- data/docs/ManagedMemberCreateRequestBody.md +18 -0
- data/docs/ManagedMemberUpdateRequest.md +22 -0
- data/docs/ManagedMemberUpdateRequestBody.md +18 -0
- data/docs/ManagedTransactionCreateRequest.md +56 -0
- data/docs/ManagedTransactionCreateRequestBody.md +18 -0
- data/docs/ManagedTransactionUpdateRequest.md +56 -0
- data/docs/ManagedTransactionUpdateRequestBody.md +18 -0
- data/docs/MemberResponse.md +5 -1
- data/docs/MerchantLocationResponse.md +40 -0
- data/docs/MerchantLocationResponseBody.md +18 -0
- data/docs/MxPlatformApi.md +1397 -119
- data/docs/TransactionResponse.md +11 -1
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +1379 -125
- data/lib/mx-platform-ruby/models/account_response.rb +67 -4
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +503 -0
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +488 -0
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +250 -0
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +236 -0
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +414 -0
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +389 -0
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +218 -0
- data/lib/mx-platform-ruby/models/member_response.rb +22 -4
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +317 -0
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +218 -0
- data/lib/mx-platform-ruby/models/transaction_response.rb +49 -4
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +14 -0
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +237 -0
- data/spec/models/account_response_spec.rb +42 -0
- data/spec/models/managed_account_create_request_body_spec.rb +34 -0
- data/spec/models/managed_account_create_request_spec.rb +214 -0
- data/spec/models/managed_account_update_request_body_spec.rb +34 -0
- data/spec/models/managed_account_update_request_spec.rb +214 -0
- data/spec/models/managed_member_create_request_body_spec.rb +34 -0
- data/spec/models/managed_member_create_request_spec.rb +52 -0
- data/spec/models/managed_member_update_request_body_spec.rb +34 -0
- data/spec/models/managed_member_update_request_spec.rb +46 -0
- data/spec/models/managed_transaction_create_request_body_spec.rb +34 -0
- data/spec/models/managed_transaction_create_request_spec.rb +148 -0
- data/spec/models/managed_transaction_update_request_body_spec.rb +34 -0
- data/spec/models/managed_transaction_update_request_spec.rb +148 -0
- data/spec/models/member_response_spec.rb +12 -0
- data/spec/models/merchant_location_response_body_spec.rb +34 -0
- data/spec/models/merchant_location_response_spec.rb +100 -0
- data/spec/models/transaction_response_spec.rb +30 -0
- metadata +136 -80
data/docs/TransactionResponse.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **account_guid** | **String** | | [optional] |
|
8
|
+
| **account_id** | **String** | | [optional] |
|
8
9
|
| **amount** | **Float** | | [optional] |
|
9
10
|
| **category** | **String** | | [optional] |
|
10
11
|
| **check_number_string** | **String** | | [optional] |
|
@@ -29,9 +30,12 @@
|
|
29
30
|
| **localized_memo** | **String** | | [optional] |
|
30
31
|
| **longitude** | **Float** | | [optional] |
|
31
32
|
| **member_guid** | **String** | | [optional] |
|
33
|
+
| **member_is_managed_by_user** | **Boolean** | | [optional] |
|
32
34
|
| **memo** | **String** | | [optional] |
|
33
35
|
| **merchant_category_code** | **Integer** | | [optional] |
|
34
36
|
| **merchant_guid** | **String** | | [optional] |
|
37
|
+
| **merchant_location_guid** | **String** | | [optional] |
|
38
|
+
| **metadata** | **String** | | [optional] |
|
35
39
|
| **original_description** | **String** | | [optional] |
|
36
40
|
| **posted_at** | **String** | | [optional] |
|
37
41
|
| **status** | **String** | | [optional] |
|
@@ -40,6 +44,7 @@
|
|
40
44
|
| **type** | **String** | | [optional] |
|
41
45
|
| **updated_at** | **String** | | [optional] |
|
42
46
|
| **user_guid** | **String** | | [optional] |
|
47
|
+
| **user_id** | **String** | | [optional] |
|
43
48
|
|
44
49
|
## Example
|
45
50
|
|
@@ -48,6 +53,7 @@ require 'mx-platform-ruby'
|
|
48
53
|
|
49
54
|
instance = MxPlatformRuby::TransactionResponse.new(
|
50
55
|
account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
56
|
+
account_id: account123,
|
51
57
|
amount: 61.11,
|
52
58
|
category: Groceries,
|
53
59
|
check_number_string: 6812,
|
@@ -72,9 +78,12 @@ instance = MxPlatformRuby::TransactionResponse.new(
|
|
72
78
|
localized_memo: This is a localized_memo,
|
73
79
|
longitude: 139.691706,
|
74
80
|
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
81
|
+
member_is_managed_by_user: false,
|
75
82
|
memo: This is a memo,
|
76
83
|
merchant_category_code: 5411,
|
77
84
|
merchant_guid: MCH-7ed79542-884d-2b1b-dd74-501c5cc9d25b,
|
85
|
+
merchant_location_guid: MCL-00024e59-18b5-4d79-b879-2a7896726fea,
|
86
|
+
metadata: some metadata,
|
78
87
|
original_description: WHOLEFDS TSQ 102,
|
79
88
|
posted_at: 2016-10-07T06:00:00.000Z,
|
80
89
|
status: POSTED,
|
@@ -82,7 +91,8 @@ instance = MxPlatformRuby::TransactionResponse.new(
|
|
82
91
|
transacted_at: 2016-10-06T13:00:00.000Z,
|
83
92
|
type: DEBIT,
|
84
93
|
updated_at: 2016-10-07T05:49:12.000Z,
|
85
|
-
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
|
94
|
+
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
|
95
|
+
user_id: user123
|
86
96
|
)
|
87
97
|
```
|
88
98
|
|