ultracart_api 4.0.235 → 4.0.237

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00e9179c2b04dc6ec9942b1c8cd447393c002569d4608e9bfaf9ccf2c3a90f2a
4
- data.tar.gz: 4ef276ff0b2ae0975dd408d65a58a36a9ff297e8a9918fbb68863530ee32f330
3
+ metadata.gz: 70320428b3368a33b9283fc894e8ec57a3054f2e71e040a272ea9f03ed9479db
4
+ data.tar.gz: 984041ff23c00ff11a1ca2cce5fce0c48a36526be28e8538504d3a423b9ab2bc
5
5
  SHA512:
6
- metadata.gz: b813b0cdf171586ca718ff369efac6159b71eefc219a929bf1654eb457d9bbff04edd848d1b27a3ce5404a24cb8380c4807543ad3cd4f9e67bb8672476c56cb8
7
- data.tar.gz: f94e53de2f48dfc12222bd9a94fb4ddbcffd5fb2f89b8f9f2bdb3efa787003e370c08077871fed8c714e75c03c4828d9bf26cbea9d3418eb487714c70a54a41e
6
+ metadata.gz: 7917d8d7a6e21166ce81ff970c29ac31167c372eddc9890a09d382b67c557802333b93edcc8e7d093081b970537bb86b355af95a721cc55bc2b8068473b59ee7
7
+ data.tar.gz: e3646b6ac060803486b37efea721b67fd2273701a357f8bfc9bcfb1764841d89cc65496a0eae72a47471b867ac45b61a579bdf6642537b401b6ad43c44e5e0b7
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.235
10
+ - Package version: 4.0.237
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.235.gem
27
+ gem install ./ultracart_api-4.0.237.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.235.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.237.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 'ultracart_api', '~> 4.0.235'
36
+ gem 'ultracart_api', '~> 4.0.237'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1520,6 +1520,8 @@ Not every change is committed to every SDK.
1520
1520
 
1521
1521
  | Version | Date | Comments |
1522
1522
  | --: | :-: | --- |
1523
+ | 4.0.237 | 11/11/2024 | added seo properties to item.content object |
1524
+ | 4.0.236 | 11/07/2024 | Coupon - PercentOffWithItemsQuantityPurchase - added support for tags |
1523
1525
  | 4.0.235 | 11/04/2024 | item - new constant for auto order schedule of every 5 months |
1524
1526
  | 4.0.234 | 10/24/2024 | storefront page attribute edit method |
1525
1527
  | 4.0.233 | 09/18/2024 | order payment constant for PayPal Fastlane |
@@ -5,9 +5,11 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **discount_percent** | **Float** | The percentage of subtotal discount | [optional] |
8
+ | **item_tags** | **Array<String>** | An optional list of item tags which will receive a discount if one of the required purchased items is purchased. | [optional] |
8
9
  | **items** | **Array<String>** | A list of items which will receive a discount if one of the required purchase items is purchased. | [optional] |
9
10
  | **limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional] |
10
11
  | **required_purchase_items** | **Array<String>** | Required items (at least one from the list) that must be purchased for coupon to be valid | [optional] |
12
+ | **required_purchase_items_tags** | **Array<String>** | Required item tags (at least one from the list) that must be purchase for coupon to be valid. | [optional] |
11
13
  | **required_purchase_quantity** | **Integer** | The quantity of items that must be purchased for the discount to be applied. | [optional] |
12
14
 
13
15
  ## Example
@@ -17,9 +19,11 @@ require 'ultracart_api'
17
19
 
18
20
  instance = UltracartClient::CouponPercentOffItemWithItemsQuantityPurchase.new(
19
21
  discount_percent: null,
22
+ item_tags: null,
20
23
  items: null,
21
24
  limit: null,
22
25
  required_purchase_items: null,
26
+ required_purchase_items_tags: null,
23
27
  required_purchase_quantity: null
24
28
  )
25
29
  ```
data/docs/ItemContent.md CHANGED
@@ -11,7 +11,10 @@
11
11
  | **exclude_from_sitemap** | **Boolean** | Exclude from the sitemap for the StoreFront | [optional] |
12
12
  | **exclude_from_top_sellers** | **Boolean** | Exclude from the top sellers list in the StoreFront | [optional] |
13
13
  | **extended_description** | **String** | Extended description (max 10000 characters) | [optional] |
14
- | **extended_description_translated_text_instance_oid** | **Integer** | Extneded description text translation instance identifier | [optional] |
14
+ | **extended_description_translated_text_instance_oid** | **Integer** | Extended description text translation instance identifier | [optional] |
15
+ | **meta_description** | **String** | SEO meta description used by Storefronts | [optional] |
16
+ | **meta_keywords** | **String** | SEO meta keywords used by Storefronts | [optional] |
17
+ | **meta_title** | **String** | SEO meta title used by Storefronts | [optional] |
15
18
  | **multimedia** | [**Array<ItemContentMultimedia>**](ItemContentMultimedia.md) | Multimedia | [optional] |
16
19
  | **new_item** | **Boolean** | True if the item is new | [optional] |
17
20
  | **new_item_end** | **String** | The date the item should no longer be considered new | [optional] |
@@ -32,6 +35,9 @@ instance = UltracartClient::ItemContent.new(
32
35
  exclude_from_top_sellers: null,
33
36
  extended_description: null,
34
37
  extended_description_translated_text_instance_oid: null,
38
+ meta_description: null,
39
+ meta_keywords: null,
40
+ meta_title: null,
35
41
  multimedia: null,
36
42
  new_item: null,
37
43
  new_item_end: null,
@@ -18,6 +18,9 @@ module UltracartClient
18
18
  # The percentage of subtotal discount
19
19
  attr_accessor :discount_percent
20
20
 
21
+ # An optional list of item tags which will receive a discount if one of the required purchased items is purchased.
22
+ attr_accessor :item_tags
23
+
21
24
  # A list of items which will receive a discount if one of the required purchase items is purchased.
22
25
  attr_accessor :items
23
26
 
@@ -27,6 +30,9 @@ module UltracartClient
27
30
  # Required items (at least one from the list) that must be purchased for coupon to be valid
28
31
  attr_accessor :required_purchase_items
29
32
 
33
+ # Required item tags (at least one from the list) that must be purchase for coupon to be valid.
34
+ attr_accessor :required_purchase_items_tags
35
+
30
36
  # The quantity of items that must be purchased for the discount to be applied.
31
37
  attr_accessor :required_purchase_quantity
32
38
 
@@ -34,9 +40,11 @@ module UltracartClient
34
40
  def self.attribute_map
35
41
  {
36
42
  :'discount_percent' => :'discount_percent',
43
+ :'item_tags' => :'item_tags',
37
44
  :'items' => :'items',
38
45
  :'limit' => :'limit',
39
46
  :'required_purchase_items' => :'required_purchase_items',
47
+ :'required_purchase_items_tags' => :'required_purchase_items_tags',
40
48
  :'required_purchase_quantity' => :'required_purchase_quantity'
41
49
  }
42
50
  end
@@ -50,9 +58,11 @@ module UltracartClient
50
58
  def self.openapi_types
51
59
  {
52
60
  :'discount_percent' => :'Float',
61
+ :'item_tags' => :'Array<String>',
53
62
  :'items' => :'Array<String>',
54
63
  :'limit' => :'Integer',
55
64
  :'required_purchase_items' => :'Array<String>',
65
+ :'required_purchase_items_tags' => :'Array<String>',
56
66
  :'required_purchase_quantity' => :'Integer'
57
67
  }
58
68
  end
@@ -82,6 +92,12 @@ module UltracartClient
82
92
  self.discount_percent = attributes[:'discount_percent']
83
93
  end
84
94
 
95
+ if attributes.key?(:'item_tags')
96
+ if (value = attributes[:'item_tags']).is_a?(Array)
97
+ self.item_tags = value
98
+ end
99
+ end
100
+
85
101
  if attributes.key?(:'items')
86
102
  if (value = attributes[:'items']).is_a?(Array)
87
103
  self.items = value
@@ -98,6 +114,12 @@ module UltracartClient
98
114
  end
99
115
  end
100
116
 
117
+ if attributes.key?(:'required_purchase_items_tags')
118
+ if (value = attributes[:'required_purchase_items_tags']).is_a?(Array)
119
+ self.required_purchase_items_tags = value
120
+ end
121
+ end
122
+
101
123
  if attributes.key?(:'required_purchase_quantity')
102
124
  self.required_purchase_quantity = attributes[:'required_purchase_quantity']
103
125
  end
@@ -122,9 +144,11 @@ module UltracartClient
122
144
  return true if self.equal?(o)
123
145
  self.class == o.class &&
124
146
  discount_percent == o.discount_percent &&
147
+ item_tags == o.item_tags &&
125
148
  items == o.items &&
126
149
  limit == o.limit &&
127
150
  required_purchase_items == o.required_purchase_items &&
151
+ required_purchase_items_tags == o.required_purchase_items_tags &&
128
152
  required_purchase_quantity == o.required_purchase_quantity
129
153
  end
130
154
 
@@ -137,7 +161,7 @@ module UltracartClient
137
161
  # Calculates hash code according to all attributes.
138
162
  # @return [Integer] Hash code
139
163
  def hash
140
- [discount_percent, items, limit, required_purchase_items, required_purchase_quantity].hash
164
+ [discount_percent, item_tags, items, limit, required_purchase_items, required_purchase_items_tags, required_purchase_quantity].hash
141
165
  end
142
166
 
143
167
  # Builds the object from hash
@@ -36,9 +36,18 @@ module UltracartClient
36
36
  # Extended description (max 10000 characters)
37
37
  attr_accessor :extended_description
38
38
 
39
- # Extneded description text translation instance identifier
39
+ # Extended description text translation instance identifier
40
40
  attr_accessor :extended_description_translated_text_instance_oid
41
41
 
42
+ # SEO meta description used by Storefronts
43
+ attr_accessor :meta_description
44
+
45
+ # SEO meta keywords used by Storefronts
46
+ attr_accessor :meta_keywords
47
+
48
+ # SEO meta title used by Storefronts
49
+ attr_accessor :meta_title
50
+
42
51
  # Multimedia
43
52
  attr_accessor :multimedia
44
53
 
@@ -65,6 +74,9 @@ module UltracartClient
65
74
  :'exclude_from_top_sellers' => :'exclude_from_top_sellers',
66
75
  :'extended_description' => :'extended_description',
67
76
  :'extended_description_translated_text_instance_oid' => :'extended_description_translated_text_instance_oid',
77
+ :'meta_description' => :'meta_description',
78
+ :'meta_keywords' => :'meta_keywords',
79
+ :'meta_title' => :'meta_title',
68
80
  :'multimedia' => :'multimedia',
69
81
  :'new_item' => :'new_item',
70
82
  :'new_item_end' => :'new_item_end',
@@ -89,6 +101,9 @@ module UltracartClient
89
101
  :'exclude_from_top_sellers' => :'Boolean',
90
102
  :'extended_description' => :'String',
91
103
  :'extended_description_translated_text_instance_oid' => :'Integer',
104
+ :'meta_description' => :'String',
105
+ :'meta_keywords' => :'String',
106
+ :'meta_title' => :'String',
92
107
  :'multimedia' => :'Array<ItemContentMultimedia>',
93
108
  :'new_item' => :'Boolean',
94
109
  :'new_item_end' => :'String',
@@ -154,6 +169,18 @@ module UltracartClient
154
169
  self.extended_description_translated_text_instance_oid = attributes[:'extended_description_translated_text_instance_oid']
155
170
  end
156
171
 
172
+ if attributes.key?(:'meta_description')
173
+ self.meta_description = attributes[:'meta_description']
174
+ end
175
+
176
+ if attributes.key?(:'meta_keywords')
177
+ self.meta_keywords = attributes[:'meta_keywords']
178
+ end
179
+
180
+ if attributes.key?(:'meta_title')
181
+ self.meta_title = attributes[:'meta_title']
182
+ end
183
+
157
184
  if attributes.key?(:'multimedia')
158
185
  if (value = attributes[:'multimedia']).is_a?(Array)
159
186
  self.multimedia = value
@@ -218,6 +245,9 @@ module UltracartClient
218
245
  exclude_from_top_sellers == o.exclude_from_top_sellers &&
219
246
  extended_description == o.extended_description &&
220
247
  extended_description_translated_text_instance_oid == o.extended_description_translated_text_instance_oid &&
248
+ meta_description == o.meta_description &&
249
+ meta_keywords == o.meta_keywords &&
250
+ meta_title == o.meta_title &&
221
251
  multimedia == o.multimedia &&
222
252
  new_item == o.new_item &&
223
253
  new_item_end == o.new_item_end &&
@@ -234,7 +264,7 @@ module UltracartClient
234
264
  # Calculates hash code according to all attributes.
235
265
  # @return [Integer] Hash code
236
266
  def hash
237
- [assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_sitemap, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, multimedia, new_item, new_item_end, new_item_start, view_url].hash
267
+ [assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_sitemap, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, meta_description, meta_keywords, meta_title, multimedia, new_item, new_item_end, new_item_start, view_url].hash
238
268
  end
239
269
 
240
270
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.235'
14
+ VERSION = '4.0.237'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.235
4
+ version: 4.0.237
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-04 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus