ultracart_api 3.0.74 → 3.0.75
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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/EmailPlan.md +1 -0
- data/docs/EmailPlanAdditional.md +2 -0
- data/lib/ultracart_api/models/email_plan.rb +10 -1
- data/lib/ultracart_api/models/email_plan_additional.rb +19 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd83d00834d016f0248283a7e0862f568f7a0f7f2972218d0c23bfe9e55e7007
|
4
|
+
data.tar.gz: 0c17e44772547c76fa8eebeb4eae3a91a992ea7e87afad5fe0da876b4d4eb604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e63deeff54b8c63e2d9af669861aa45d20e6a47ad68f4677b49e844bddcf8f18880ebe6f084d048b9ace2c3f40f9e3f2add11f74dea15a68539d2c2dd831de
|
7
|
+
data.tar.gz: 737509f2a4d7dd6fe126f333b6f5d101719d3fdcd0227e9b09024e5c133e347a7ae07ffb9adaa016a0c93b05293e80ef49d9ace51900aec16419255de75652f3
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 3.0.
|
10
|
+
- Package version: 3.0.75
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-3.0.
|
27
|
+
gem install ./ultracart_api-3.0.75.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.0.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.0.75.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ultracart_api', '~> 3.0.
|
35
|
+
gem 'ultracart_api', '~> 3.0.75'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1001,6 +1001,7 @@ Not every change is committed to every SDK.
|
|
1001
1001
|
|
1002
1002
|
| Version | Date | Comments |
|
1003
1003
|
| --: | :-: | --- |
|
1004
|
+
| 3.0.75 | 02/01/2021 | StoreFront Communication plan revision (internal use) |
|
1004
1005
|
| 3.0.71 | 01/28/2021 | BugFix: PHP SDK retry logic NPE |
|
1005
1006
|
| 3.0.70 | 01/26/2021 | Checkout return URL support |
|
1006
1007
|
| 3.0.66 | 01/22/2021 | code library attributes (mostly internal dev) |
|
data/docs/EmailPlan.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**additional_customers** | **Integer** | | [optional]
|
7
7
|
**additional_emails** | **Integer** | | [optional]
|
8
|
+
**additional_fee** | **Float** | | [optional]
|
8
9
|
**allow_list_import** | **BOOLEAN** | | [optional]
|
9
10
|
**allow_tracking_emails** | **BOOLEAN** | | [optional]
|
10
11
|
**customer_tiers** | [**Array<EmailPlanAdditional>**](EmailPlanAdditional.md) | | [optional]
|
data/docs/EmailPlanAdditional.md
CHANGED
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
**can_downgrade** | **BOOLEAN** | | [optional]
|
7
7
|
**can_upgrade** | **BOOLEAN** | | [optional]
|
8
8
|
**cost** | **Float** | | [optional]
|
9
|
+
**cost_change** | **Float** | | [optional]
|
10
|
+
**cost_change_formatted** | **String** | | [optional]
|
9
11
|
**cost_formatted** | **String** | | [optional]
|
10
12
|
**customers** | **Integer** | | [optional]
|
11
13
|
**emails** | **Integer** | | [optional]
|
@@ -18,6 +18,8 @@ module UltracartClient
|
|
18
18
|
|
19
19
|
attr_accessor :additional_emails
|
20
20
|
|
21
|
+
attr_accessor :additional_fee
|
22
|
+
|
21
23
|
attr_accessor :allow_list_import
|
22
24
|
|
23
25
|
attr_accessor :allow_tracking_emails
|
@@ -51,6 +53,7 @@ module UltracartClient
|
|
51
53
|
{
|
52
54
|
:'additional_customers' => :'additional_customers',
|
53
55
|
:'additional_emails' => :'additional_emails',
|
56
|
+
:'additional_fee' => :'additional_fee',
|
54
57
|
:'allow_list_import' => :'allow_list_import',
|
55
58
|
:'allow_tracking_emails' => :'allow_tracking_emails',
|
56
59
|
:'customer_tiers' => :'customer_tiers',
|
@@ -73,6 +76,7 @@ module UltracartClient
|
|
73
76
|
{
|
74
77
|
:'additional_customers' => :'Integer',
|
75
78
|
:'additional_emails' => :'Integer',
|
79
|
+
:'additional_fee' => :'Float',
|
76
80
|
:'allow_list_import' => :'BOOLEAN',
|
77
81
|
:'allow_tracking_emails' => :'BOOLEAN',
|
78
82
|
:'customer_tiers' => :'Array<EmailPlanAdditional>',
|
@@ -106,6 +110,10 @@ module UltracartClient
|
|
106
110
|
self.additional_emails = attributes[:'additional_emails']
|
107
111
|
end
|
108
112
|
|
113
|
+
if attributes.has_key?(:'additional_fee')
|
114
|
+
self.additional_fee = attributes[:'additional_fee']
|
115
|
+
end
|
116
|
+
|
109
117
|
if attributes.has_key?(:'allow_list_import')
|
110
118
|
self.allow_list_import = attributes[:'allow_list_import']
|
111
119
|
end
|
@@ -185,6 +193,7 @@ module UltracartClient
|
|
185
193
|
self.class == o.class &&
|
186
194
|
additional_customers == o.additional_customers &&
|
187
195
|
additional_emails == o.additional_emails &&
|
196
|
+
additional_fee == o.additional_fee &&
|
188
197
|
allow_list_import == o.allow_list_import &&
|
189
198
|
allow_tracking_emails == o.allow_tracking_emails &&
|
190
199
|
customer_tiers == o.customer_tiers &&
|
@@ -210,7 +219,7 @@ module UltracartClient
|
|
210
219
|
# Calculates hash code according to all attributes.
|
211
220
|
# @return [Fixnum] Hash code
|
212
221
|
def hash
|
213
|
-
[additional_customers, additional_emails, allow_list_import, allow_tracking_emails, customer_tiers, initial_sending_limits, plan_customers, plan_emails, plan_name, plan_name_formatted, require_order_within_last_days, revenue_percent, spam_percent_limit, total_customers, total_emails, upgrade_to].hash
|
222
|
+
[additional_customers, additional_emails, additional_fee, allow_list_import, allow_tracking_emails, customer_tiers, initial_sending_limits, plan_customers, plan_emails, plan_name, plan_name_formatted, require_order_within_last_days, revenue_percent, spam_percent_limit, total_customers, total_emails, upgrade_to].hash
|
214
223
|
end
|
215
224
|
|
216
225
|
# Builds the object from hash
|
@@ -20,6 +20,10 @@ module UltracartClient
|
|
20
20
|
|
21
21
|
attr_accessor :cost
|
22
22
|
|
23
|
+
attr_accessor :cost_change
|
24
|
+
|
25
|
+
attr_accessor :cost_change_formatted
|
26
|
+
|
23
27
|
attr_accessor :cost_formatted
|
24
28
|
|
25
29
|
attr_accessor :customers
|
@@ -32,6 +36,8 @@ module UltracartClient
|
|
32
36
|
:'can_downgrade' => :'can_downgrade',
|
33
37
|
:'can_upgrade' => :'can_upgrade',
|
34
38
|
:'cost' => :'cost',
|
39
|
+
:'cost_change' => :'cost_change',
|
40
|
+
:'cost_change_formatted' => :'cost_change_formatted',
|
35
41
|
:'cost_formatted' => :'cost_formatted',
|
36
42
|
:'customers' => :'customers',
|
37
43
|
:'emails' => :'emails'
|
@@ -44,6 +50,8 @@ module UltracartClient
|
|
44
50
|
:'can_downgrade' => :'BOOLEAN',
|
45
51
|
:'can_upgrade' => :'BOOLEAN',
|
46
52
|
:'cost' => :'Float',
|
53
|
+
:'cost_change' => :'Float',
|
54
|
+
:'cost_change_formatted' => :'String',
|
47
55
|
:'cost_formatted' => :'String',
|
48
56
|
:'customers' => :'Integer',
|
49
57
|
:'emails' => :'Integer'
|
@@ -70,6 +78,14 @@ module UltracartClient
|
|
70
78
|
self.cost = attributes[:'cost']
|
71
79
|
end
|
72
80
|
|
81
|
+
if attributes.has_key?(:'cost_change')
|
82
|
+
self.cost_change = attributes[:'cost_change']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.has_key?(:'cost_change_formatted')
|
86
|
+
self.cost_change_formatted = attributes[:'cost_change_formatted']
|
87
|
+
end
|
88
|
+
|
73
89
|
if attributes.has_key?(:'cost_formatted')
|
74
90
|
self.cost_formatted = attributes[:'cost_formatted']
|
75
91
|
end
|
@@ -104,6 +120,8 @@ module UltracartClient
|
|
104
120
|
can_downgrade == o.can_downgrade &&
|
105
121
|
can_upgrade == o.can_upgrade &&
|
106
122
|
cost == o.cost &&
|
123
|
+
cost_change == o.cost_change &&
|
124
|
+
cost_change_formatted == o.cost_change_formatted &&
|
107
125
|
cost_formatted == o.cost_formatted &&
|
108
126
|
customers == o.customers &&
|
109
127
|
emails == o.emails
|
@@ -118,7 +136,7 @@ module UltracartClient
|
|
118
136
|
# Calculates hash code according to all attributes.
|
119
137
|
# @return [Fixnum] Hash code
|
120
138
|
def hash
|
121
|
-
[can_downgrade, can_upgrade, cost, cost_formatted, customers, emails].hash
|
139
|
+
[can_downgrade, can_upgrade, cost, cost_change, cost_change_formatted, cost_formatted, customers, emails].hash
|
122
140
|
end
|
123
141
|
|
124
142
|
# Builds the object from hash
|