mx-platform-ruby 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/Account.md +96 -0
- data/docs/AccountNumber.md +32 -0
- data/docs/AccountNumbersResponseBody.md +20 -0
- data/docs/AccountOwner.md +40 -0
- data/docs/AccountOwnersResponseBody.md +20 -0
- data/docs/AccountResponseBody.md +18 -0
- data/docs/AccountUpdateRequest.md +18 -0
- data/docs/AccountUpdateRequestBody.md +18 -0
- data/docs/AccountsResponseBody.md +20 -0
- data/docs/CategoriesResponseBody.md +20 -0
- data/docs/Category.md +32 -0
- data/docs/CategoryCreateRequest.md +22 -0
- data/docs/CategoryCreateRequestBody.md +18 -0
- data/docs/CategoryResponseBody.md +18 -0
- data/docs/CategoryUpdateRequest.md +20 -0
- data/docs/CategoryUpdateRequestBody.md +18 -0
- data/docs/Challenge.md +30 -0
- data/docs/ChallengeImageOptions.md +22 -0
- data/docs/ChallengeOptions.md +20 -0
- data/docs/ChallengesResponseBody.md +20 -0
- data/docs/ConnectWidget.md +20 -0
- data/docs/ConnectWidgetRequest.md +38 -0
- data/docs/ConnectWidgetRequestBody.md +18 -0
- data/docs/ConnectWidgetResponseBody.md +18 -0
- data/docs/Credential.md +26 -0
- data/docs/CredentialRequest.md +20 -0
- data/docs/CredentialsResponseBody.md +20 -0
- data/docs/EnhanceTransaction.md +48 -0
- data/docs/EnhanceTransactionsRequest.md +26 -0
- data/docs/EnhanceTransactionsRequestBody.md +18 -0
- data/docs/EnhanceTransactionsResponseBody.md +18 -0
- data/docs/Holding.md +52 -0
- data/docs/HoldingResponseBody.md +18 -0
- data/docs/HoldingsResponseBody.md +20 -0
- data/docs/InlineResponse200.md +18 -0
- data/docs/Institution.md +36 -0
- data/docs/InstitutionResponseBody.md +18 -0
- data/docs/InstitutionsResponseBody.md +20 -0
- data/docs/Member.md +40 -0
- data/docs/MemberCreateRequest.md +30 -0
- data/docs/MemberCreateRequestBody.md +22 -0
- data/docs/MemberResponseBody.md +18 -0
- data/docs/MemberResumeRequest.md +18 -0
- data/docs/MemberResumeRequestBody.md +18 -0
- data/docs/MemberStatus.md +34 -0
- data/docs/MemberStatusResponseBody.md +18 -0
- data/docs/MemberUpdateRequest.md +26 -0
- data/docs/MemberUpdateRequestBody.md +18 -0
- data/docs/MembersResponseBody.md +20 -0
- data/docs/Merchant.md +28 -0
- data/docs/MerchantResponseBody.md +18 -0
- data/docs/MerchantsResponseBody.md +20 -0
- data/docs/MxPlatformApi.md +5182 -0
- data/docs/OAuthWindow.md +20 -0
- data/docs/OAuthWindowResponseBody.md +18 -0
- data/docs/Pagination.md +24 -0
- data/docs/Statement.md +32 -0
- data/docs/StatementResponseBody.md +18 -0
- data/docs/StatementsResponseBody.md +20 -0
- data/docs/Tag.md +22 -0
- data/docs/TagCreateRequest.md +18 -0
- data/docs/TagCreateRequestBody.md +18 -0
- data/docs/TagResponseBody.md +18 -0
- data/docs/TagUpdateRequest.md +18 -0
- data/docs/TagUpdateRequestBody.md +18 -0
- data/docs/Tagging.md +26 -0
- data/docs/TaggingCreateRequest.md +20 -0
- data/docs/TaggingCreateRequestBody.md +18 -0
- data/docs/TaggingResponseBody.md +18 -0
- data/docs/TaggingUpdateRequest.md +18 -0
- data/docs/TaggingUpdateRequestBody.md +18 -0
- data/docs/TaggingsResponseBody.md +20 -0
- data/docs/TagsResponseBody.md +20 -0
- data/docs/Transaction.md +88 -0
- data/docs/TransactionResponseBody.md +18 -0
- data/docs/TransactionRule.md +30 -0
- data/docs/TransactionRuleCreateRequest.md +22 -0
- data/docs/TransactionRuleCreateRequestBody.md +18 -0
- data/docs/TransactionRuleResponseBody.md +18 -0
- data/docs/TransactionRuleUpdateRequest.md +22 -0
- data/docs/TransactionRuleUpdateRequestBody.md +18 -0
- data/docs/TransactionRulesResponseBody.md +20 -0
- data/docs/TransactionUpdateRequest.md +18 -0
- data/docs/TransactionUpdateRequestBody.md +18 -0
- data/docs/TransactionsResponseBody.md +20 -0
- data/docs/User.md +26 -0
- data/docs/UserCreateRequest.md +24 -0
- data/docs/UserCreateRequestBody.md +18 -0
- data/docs/UserResponseBody.md +18 -0
- data/docs/UserUpdateRequest.md +24 -0
- data/docs/UserUpdateRequestBody.md +18 -0
- data/docs/UsersResponseBody.md +20 -0
- data/docs/Widget.md +22 -0
- data/docs/WidgetRequest.md +42 -0
- data/docs/WidgetRequestBody.md +18 -0
- data/docs/WidgetResponseBody.md +18 -0
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/mx_platform_ruby.yml +1 -1
- data/pkg/mx-platform-ruby-0.2.0.gem +0 -0
- metadata +98 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12c33e44da1c4b9ed81d2ceafc55ff825ee8f29bb44c1d371c77231dd8a3d1b8
|
4
|
+
data.tar.gz: 0f974368d444d4aeb338e01e759e646a37a13cc14b032c09331c5c87e2e4d2e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4355e35e6b6bcc904bb251c0852f104ab21d762cec78b9c4be207117769cbf3611bf017dac6bdefba33d34d624e43ae839393d287de8a80b886851fd7ab833b
|
7
|
+
data.tar.gz: bf9ed30bb50366287fb064de009976d37edfcd1930f19bfe63a1dac90f0385e7dc575427d817ab7dc0199b69df4ca7b8af1dd047c8fc0c7d101a3733be91a770
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The MX Platform API is a powerful, fully-featured API designed to make aggregati
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 0.1.0
|
10
|
-
- Package version: 0.2.
|
10
|
+
- Package version: 0.2.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://www.mx.com/products/platform-api](https://www.mx.com/products/platform-api)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build mx-platform-ruby.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./mx-platform-ruby-0.2.
|
27
|
+
gem install ./mx-platform-ruby-0.2.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./mx-platform-ruby-0.2.
|
30
|
+
(for development, run `gem install --dev ./mx-platform-ruby-0.2.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'mx-platform-ruby', '~> 0.2.
|
36
|
+
gem 'mx-platform-ruby', '~> 0.2.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/Account.md
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# MxPlatformRuby::Account
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_number** | **String** | | [optional] |
|
8
|
+
| **apr** | **Float** | | [optional] |
|
9
|
+
| **apy** | **Float** | | [optional] |
|
10
|
+
| **available_balance** | **Float** | | [optional] |
|
11
|
+
| **available_credit** | **Float** | | [optional] |
|
12
|
+
| **balance** | **Float** | | [optional] |
|
13
|
+
| **cash_balance** | **Float** | | [optional] |
|
14
|
+
| **cash_surrender_value** | **Float** | | [optional] |
|
15
|
+
| **created_at** | **String** | | [optional] |
|
16
|
+
| **credit_limit** | **Float** | | [optional] |
|
17
|
+
| **currency_code** | **String** | | [optional] |
|
18
|
+
| **day_payment_is_due** | **Integer** | | [optional] |
|
19
|
+
| **death_benefit** | **Integer** | | [optional] |
|
20
|
+
| **guid** | **String** | | [optional] |
|
21
|
+
| **holdings_value** | **Float** | | [optional] |
|
22
|
+
| **id** | **String** | | [optional] |
|
23
|
+
| **institution_code** | **String** | | [optional] |
|
24
|
+
| **insured_name** | **String** | | [optional] |
|
25
|
+
| **interest_rate** | **Float** | | [optional] |
|
26
|
+
| **is_closed** | **Boolean** | | [optional] |
|
27
|
+
| **is_hidden** | **Boolean** | | [optional] |
|
28
|
+
| **last_payment** | **Float** | | [optional] |
|
29
|
+
| **last_payment_at** | **String** | | [optional] |
|
30
|
+
| **loan_amount** | **Float** | | [optional] |
|
31
|
+
| **matures_on** | **String** | | [optional] |
|
32
|
+
| **member_guid** | **String** | | [optional] |
|
33
|
+
| **minimum_balance** | **Float** | | [optional] |
|
34
|
+
| **minimum_payment** | **Float** | | [optional] |
|
35
|
+
| **name** | **String** | | [optional] |
|
36
|
+
| **original_balance** | **Float** | | [optional] |
|
37
|
+
| **pay_out_amount** | **Float** | | [optional] |
|
38
|
+
| **payment_due_at** | **String** | | [optional] |
|
39
|
+
| **payoff_balance** | **Float** | | [optional] |
|
40
|
+
| **premium_amount** | **Float** | | [optional] |
|
41
|
+
| **started_on** | **String** | | [optional] |
|
42
|
+
| **subtype** | **String** | | [optional] |
|
43
|
+
| **total_account_value** | **Float** | | [optional] |
|
44
|
+
| **type** | **String** | | [optional] |
|
45
|
+
| **updated_at** | **String** | | [optional] |
|
46
|
+
| **user_guid** | **String** | | [optional] |
|
47
|
+
|
48
|
+
## Example
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
require 'mx-platform-ruby'
|
52
|
+
|
53
|
+
instance = MxPlatformRuby::Account.new(
|
54
|
+
account_number: 5366,
|
55
|
+
apr: 1.0,
|
56
|
+
apy: 1.0,
|
57
|
+
available_balance: 1000.0,
|
58
|
+
available_credit: 1000.0,
|
59
|
+
balance: 1000.0,
|
60
|
+
cash_balance: 1000.0,
|
61
|
+
cash_surrender_value: 1000.0,
|
62
|
+
created_at: 2016-10-13T17:57:37.000Z,
|
63
|
+
credit_limit: 100.0,
|
64
|
+
currency_code: USD,
|
65
|
+
day_payment_is_due: 20,
|
66
|
+
death_benefit: 1000,
|
67
|
+
guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
68
|
+
holdings_value: 1000.0,
|
69
|
+
id: 1040434698,
|
70
|
+
institution_code: chase,
|
71
|
+
insured_name: Frodo Baggins,
|
72
|
+
interest_rate: 1.0,
|
73
|
+
is_closed: false,
|
74
|
+
is_hidden: false,
|
75
|
+
last_payment: 100.0,
|
76
|
+
last_payment_at: 2015-10-13T17:57:37.000Z,
|
77
|
+
loan_amount: 1000.0,
|
78
|
+
matures_on: 2015-10-13T17:57:37.000Z,
|
79
|
+
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
80
|
+
minimum_balance: 100.0,
|
81
|
+
minimum_payment: 10.0,
|
82
|
+
name: Test account 2,
|
83
|
+
original_balance: 10.0,
|
84
|
+
pay_out_amount: 10.0,
|
85
|
+
payment_due_at: 2015-10-13T17:57:37.000Z,
|
86
|
+
payoff_balance: 10.0,
|
87
|
+
premium_amount: 1.0,
|
88
|
+
started_on: 2015-10-13T17:57:37.000Z,
|
89
|
+
subtype: NONE,
|
90
|
+
total_account_value: 1.0,
|
91
|
+
type: SAVINGS,
|
92
|
+
updated_at: 2016-10-13T18:08:00.000Z,
|
93
|
+
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
|
94
|
+
)
|
95
|
+
```
|
96
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# MxPlatformRuby::AccountNumber
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_guid** | **String** | | [optional] |
|
8
|
+
| **account_number** | **String** | | [optional] |
|
9
|
+
| **guid** | **String** | | [optional] |
|
10
|
+
| **institution_number** | **String** | | [optional] |
|
11
|
+
| **member_guid** | **String** | | [optional] |
|
12
|
+
| **routing_number** | **String** | | [optional] |
|
13
|
+
| **transit_number** | **String** | | [optional] |
|
14
|
+
| **user_guid** | **String** | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'mx-platform-ruby'
|
20
|
+
|
21
|
+
instance = MxPlatformRuby::AccountNumber.new(
|
22
|
+
account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
23
|
+
account_number: 10001,
|
24
|
+
guid: ACN-8899832e-e5b4-42cd-aa25-bbf1dc889a8f,
|
25
|
+
institution_number: 123,
|
26
|
+
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
27
|
+
routing_number: 68899990000000,
|
28
|
+
transit_number: 12345,
|
29
|
+
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MxPlatformRuby::AccountNumbersResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_numbers** | [**Array<AccountNumber>**](AccountNumber.md) | | [optional] |
|
8
|
+
| **pagination** | [**Pagination**](Pagination.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'mx-platform-ruby'
|
14
|
+
|
15
|
+
instance = MxPlatformRuby::AccountNumbersResponseBody.new(
|
16
|
+
account_numbers: null,
|
17
|
+
pagination: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# MxPlatformRuby::AccountOwner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_guid** | **String** | | [optional] |
|
8
|
+
| **address** | **String** | | [optional] |
|
9
|
+
| **city** | **String** | | [optional] |
|
10
|
+
| **country** | **String** | | [optional] |
|
11
|
+
| **email** | **String** | | [optional] |
|
12
|
+
| **guid** | **String** | | [optional] |
|
13
|
+
| **member_guid** | **String** | | [optional] |
|
14
|
+
| **owner_name** | **String** | | [optional] |
|
15
|
+
| **phone** | **String** | | [optional] |
|
16
|
+
| **postal_code** | **String** | | [optional] |
|
17
|
+
| **state** | **String** | | [optional] |
|
18
|
+
| **user_guid** | **String** | | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'mx-platform-ruby'
|
24
|
+
|
25
|
+
instance = MxPlatformRuby::AccountOwner.new(
|
26
|
+
account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
27
|
+
address: 123 This Way,
|
28
|
+
city: Middlesex,
|
29
|
+
country: US,
|
30
|
+
email: donnie@darko.co,
|
31
|
+
guid: ACO-63dc7714-6fc0-4aa2-a069-c06cdccd1af9,
|
32
|
+
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
33
|
+
owner_name: Donnie Darko,
|
34
|
+
phone: 555-555-5555,
|
35
|
+
postal_code: 00000-0000,
|
36
|
+
state: VA,
|
37
|
+
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MxPlatformRuby::AccountOwnersResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_owners** | [**Array<AccountOwner>**](AccountOwner.md) | | [optional] |
|
8
|
+
| **pagination** | [**Pagination**](Pagination.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'mx-platform-ruby'
|
14
|
+
|
15
|
+
instance = MxPlatformRuby::AccountOwnersResponseBody.new(
|
16
|
+
account_owners: null,
|
17
|
+
pagination: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::AccountResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account** | [**Account**](Account.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::AccountResponseBody.new(
|
15
|
+
account: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::AccountUpdateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **is_hidden** | **Boolean** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::AccountUpdateRequest.new(
|
15
|
+
is_hidden: false
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::AccountUpdateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account** | [**AccountUpdateRequest**](AccountUpdateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::AccountUpdateRequestBody.new(
|
15
|
+
account: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MxPlatformRuby::AccountsResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **accounts** | [**Array<Account>**](Account.md) | | [optional] |
|
8
|
+
| **pagination** | [**Pagination**](Pagination.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'mx-platform-ruby'
|
14
|
+
|
15
|
+
instance = MxPlatformRuby::AccountsResponseBody.new(
|
16
|
+
accounts: null,
|
17
|
+
pagination: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MxPlatformRuby::CategoriesResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **categories** | [**Array<Category>**](Category.md) | | [optional] |
|
8
|
+
| **pagination** | [**Pagination**](Pagination.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'mx-platform-ruby'
|
14
|
+
|
15
|
+
instance = MxPlatformRuby::CategoriesResponseBody.new(
|
16
|
+
categories: null,
|
17
|
+
pagination: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/Category.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# MxPlatformRuby::Category
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **String** | | [optional] |
|
8
|
+
| **guid** | **String** | | [optional] |
|
9
|
+
| **is_default** | **Boolean** | | [optional] |
|
10
|
+
| **is_income** | **Boolean** | | [optional] |
|
11
|
+
| **metadata** | **String** | | [optional] |
|
12
|
+
| **name** | **String** | | [optional] |
|
13
|
+
| **parent_guid** | **String** | | [optional] |
|
14
|
+
| **updated_at** | **String** | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'mx-platform-ruby'
|
20
|
+
|
21
|
+
instance = MxPlatformRuby::Category.new(
|
22
|
+
created_at: 2015-04-13T18:01:23.000Z,
|
23
|
+
guid: CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874,
|
24
|
+
is_default: true,
|
25
|
+
is_income: false,
|
26
|
+
metadata: some metadata,
|
27
|
+
name: Auto Insurance,
|
28
|
+
parent_guid: CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874,
|
29
|
+
updated_at: 2015-05-13T18:01:23.000Z
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MxPlatformRuby::CategoryCreateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **metadata** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | |
|
9
|
+
| **parent_guid** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'mx-platform-ruby'
|
15
|
+
|
16
|
+
instance = MxPlatformRuby::CategoryCreateRequest.new(
|
17
|
+
metadata: some metadata,
|
18
|
+
name: Online Shopping,
|
19
|
+
parent_guid: CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::CategoryCreateRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **category** | [**CategoryCreateRequest**](CategoryCreateRequest.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::CategoryCreateRequestBody.new(
|
15
|
+
category: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|