ultracart_api 3.10.218 → 3.10.220

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0a3a0ad4c9b5bd8ce5f345a94018164a6116b91418c9c3f597296f7b05fbf43
4
- data.tar.gz: f4e3a5ec3cd71cc59b37b6dbcd38a0b9574698ec633e69d9fbf5711b0ce52aea
3
+ metadata.gz: 4038e671e98bf358adc1952b9ea0bbba981152d6eb53945b2b1a48877b869a51
4
+ data.tar.gz: f58aba3aadf4256da856280623ac94b28d032e4145f3e2ed92add2f0aa4fc788
5
5
  SHA512:
6
- metadata.gz: b63ef40931d44aa1776f9955f60e7ae40ca21b0cd12c17be80071aa09e1d99a255384ead4384b42a120399c49e3efd952c8f083893457ffafb59070d50bc48e8
7
- data.tar.gz: 00cbfcd55708c3259a54f11372b7e5214743264109753b03a96168148f9dbdc8e2107f40ab6edcb064c5cf31e49e47c04dde45f97a0b9f4f8ca4459797ff3ad0
6
+ metadata.gz: dce682092d8b7304148b27327c6bccf9d3e2cf8c86ce892185a783842089b87e975315998931d3ac9dd88bc7833585c0dc7c62feedb3349aaf93c501758140fd
7
+ data.tar.gz: bee884e2f629a3e1bb3a072a37f734202e97194d7a7939d563cbfb67f6a00d9a1ffcbc20236420e98183a1405ac29f7f534a163ff086a3a536673878d51f3085
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.10.218
10
+ - Package version: 3.10.220
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.10.218.gem
27
+ gem install ./ultracart_api-3.10.220.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.218.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.220.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.10.218'
35
+ gem 'ultracart_api', '~> 3.10.220'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1512,6 +1512,8 @@ Not every change is committed to every SDK.
1512
1512
 
1513
1513
  | Version | Date | Comments |
1514
1514
  | --: | :-: | --- |
1515
+ | 3.10.220 | 11/11/2024 | added seo properties to item.content object |
1516
+ | 3.10.219 | 11/07/2024 | Coupon - PercentOffWithItemsQuantityPurchase - added support for tags |
1515
1517
  | 3.10.218 | 11/04/2024 | item - new constant for auto order schedule of every 5 months |
1516
1518
  | 3.10.217 | 10/24/2024 | storefront page attribute edit method |
1517
1519
  | 3.10.216 | 09/18/2024 | order payment constant for PayPal Fastlane |
@@ -4,9 +4,11 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **discount_percent** | **Float** | The percentage of subtotal discount | [optional]
7
+ **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]
7
8
  **items** | **Array<String>** | A list of items which will receive a discount if one of the required purchase items is purchased. | [optional]
8
9
  **limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional]
9
10
  **required_purchase_items** | **Array<String>** | Required items (at least one from the list) that must be purchased for coupon to be valid | [optional]
11
+ **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]
10
12
  **required_purchase_quantity** | **Integer** | The quantity of items that must be purchased for the discount to be applied. | [optional]
11
13
 
12
14
 
data/docs/ItemContent.md CHANGED
@@ -10,7 +10,10 @@ Name | Type | Description | Notes
10
10
  **exclude_from_sitemap** | **BOOLEAN** | Exclude from the sitemap for the StoreFront | [optional]
11
11
  **exclude_from_top_sellers** | **BOOLEAN** | Exclude from the top sellers list in the StoreFront | [optional]
12
12
  **extended_description** | **String** | Extended description (max 10000 characters) | [optional]
13
- **extended_description_translated_text_instance_oid** | **Integer** | Extneded description text translation instance identifier | [optional]
13
+ **extended_description_translated_text_instance_oid** | **Integer** | Extended description text translation instance identifier | [optional]
14
+ **meta_description** | **String** | SEO meta description used by Storefronts | [optional]
15
+ **meta_keywords** | **String** | SEO meta keywords used by Storefronts | [optional]
16
+ **meta_title** | **String** | SEO meta title used by Storefronts | [optional]
14
17
  **multimedia** | [**Array<ItemContentMultimedia>**](ItemContentMultimedia.md) | Multimedia | [optional]
15
18
  **new_item** | **BOOLEAN** | True if the item is new | [optional]
16
19
  **new_item_end** | **String** | The date the item should no longer be considered new | [optional]
@@ -17,6 +17,9 @@ module UltracartClient
17
17
  # The percentage of subtotal discount
18
18
  attr_accessor :discount_percent
19
19
 
20
+ # An optional list of item tags which will receive a discount if one of the required purchased items is purchased.
21
+ attr_accessor :item_tags
22
+
20
23
  # A list of items which will receive a discount if one of the required purchase items is purchased.
21
24
  attr_accessor :items
22
25
 
@@ -26,6 +29,9 @@ module UltracartClient
26
29
  # Required items (at least one from the list) that must be purchased for coupon to be valid
27
30
  attr_accessor :required_purchase_items
28
31
 
32
+ # Required item tags (at least one from the list) that must be purchase for coupon to be valid.
33
+ attr_accessor :required_purchase_items_tags
34
+
29
35
  # The quantity of items that must be purchased for the discount to be applied.
30
36
  attr_accessor :required_purchase_quantity
31
37
 
@@ -33,9 +39,11 @@ module UltracartClient
33
39
  def self.attribute_map
34
40
  {
35
41
  :'discount_percent' => :'discount_percent',
42
+ :'item_tags' => :'item_tags',
36
43
  :'items' => :'items',
37
44
  :'limit' => :'limit',
38
45
  :'required_purchase_items' => :'required_purchase_items',
46
+ :'required_purchase_items_tags' => :'required_purchase_items_tags',
39
47
  :'required_purchase_quantity' => :'required_purchase_quantity'
40
48
  }
41
49
  end
@@ -44,9 +52,11 @@ module UltracartClient
44
52
  def self.swagger_types
45
53
  {
46
54
  :'discount_percent' => :'Float',
55
+ :'item_tags' => :'Array<String>',
47
56
  :'items' => :'Array<String>',
48
57
  :'limit' => :'Integer',
49
58
  :'required_purchase_items' => :'Array<String>',
59
+ :'required_purchase_items_tags' => :'Array<String>',
50
60
  :'required_purchase_quantity' => :'Integer'
51
61
  }
52
62
  end
@@ -63,6 +73,12 @@ module UltracartClient
63
73
  self.discount_percent = attributes[:'discount_percent']
64
74
  end
65
75
 
76
+ if attributes.has_key?(:'item_tags')
77
+ if (value = attributes[:'item_tags']).is_a?(Array)
78
+ self.item_tags = value
79
+ end
80
+ end
81
+
66
82
  if attributes.has_key?(:'items')
67
83
  if (value = attributes[:'items']).is_a?(Array)
68
84
  self.items = value
@@ -79,6 +95,12 @@ module UltracartClient
79
95
  end
80
96
  end
81
97
 
98
+ if attributes.has_key?(:'required_purchase_items_tags')
99
+ if (value = attributes[:'required_purchase_items_tags']).is_a?(Array)
100
+ self.required_purchase_items_tags = value
101
+ end
102
+ end
103
+
82
104
  if attributes.has_key?(:'required_purchase_quantity')
83
105
  self.required_purchase_quantity = attributes[:'required_purchase_quantity']
84
106
  end
@@ -103,9 +125,11 @@ module UltracartClient
103
125
  return true if self.equal?(o)
104
126
  self.class == o.class &&
105
127
  discount_percent == o.discount_percent &&
128
+ item_tags == o.item_tags &&
106
129
  items == o.items &&
107
130
  limit == o.limit &&
108
131
  required_purchase_items == o.required_purchase_items &&
132
+ required_purchase_items_tags == o.required_purchase_items_tags &&
109
133
  required_purchase_quantity == o.required_purchase_quantity
110
134
  end
111
135
 
@@ -118,7 +142,7 @@ module UltracartClient
118
142
  # Calculates hash code according to all attributes.
119
143
  # @return [Fixnum] Hash code
120
144
  def hash
121
- [discount_percent, items, limit, required_purchase_items, required_purchase_quantity].hash
145
+ [discount_percent, item_tags, items, limit, required_purchase_items, required_purchase_items_tags, required_purchase_quantity].hash
122
146
  end
123
147
 
124
148
  # Builds the object from hash
@@ -35,9 +35,18 @@ module UltracartClient
35
35
  # Extended description (max 10000 characters)
36
36
  attr_accessor :extended_description
37
37
 
38
- # Extneded description text translation instance identifier
38
+ # Extended description text translation instance identifier
39
39
  attr_accessor :extended_description_translated_text_instance_oid
40
40
 
41
+ # SEO meta description used by Storefronts
42
+ attr_accessor :meta_description
43
+
44
+ # SEO meta keywords used by Storefronts
45
+ attr_accessor :meta_keywords
46
+
47
+ # SEO meta title used by Storefronts
48
+ attr_accessor :meta_title
49
+
41
50
  # Multimedia
42
51
  attr_accessor :multimedia
43
52
 
@@ -64,6 +73,9 @@ module UltracartClient
64
73
  :'exclude_from_top_sellers' => :'exclude_from_top_sellers',
65
74
  :'extended_description' => :'extended_description',
66
75
  :'extended_description_translated_text_instance_oid' => :'extended_description_translated_text_instance_oid',
76
+ :'meta_description' => :'meta_description',
77
+ :'meta_keywords' => :'meta_keywords',
78
+ :'meta_title' => :'meta_title',
67
79
  :'multimedia' => :'multimedia',
68
80
  :'new_item' => :'new_item',
69
81
  :'new_item_end' => :'new_item_end',
@@ -83,6 +95,9 @@ module UltracartClient
83
95
  :'exclude_from_top_sellers' => :'BOOLEAN',
84
96
  :'extended_description' => :'String',
85
97
  :'extended_description_translated_text_instance_oid' => :'Integer',
98
+ :'meta_description' => :'String',
99
+ :'meta_keywords' => :'String',
100
+ :'meta_title' => :'String',
86
101
  :'multimedia' => :'Array<ItemContentMultimedia>',
87
102
  :'new_item' => :'BOOLEAN',
88
103
  :'new_item_end' => :'String',
@@ -135,6 +150,18 @@ module UltracartClient
135
150
  self.extended_description_translated_text_instance_oid = attributes[:'extended_description_translated_text_instance_oid']
136
151
  end
137
152
 
153
+ if attributes.has_key?(:'meta_description')
154
+ self.meta_description = attributes[:'meta_description']
155
+ end
156
+
157
+ if attributes.has_key?(:'meta_keywords')
158
+ self.meta_keywords = attributes[:'meta_keywords']
159
+ end
160
+
161
+ if attributes.has_key?(:'meta_title')
162
+ self.meta_title = attributes[:'meta_title']
163
+ end
164
+
138
165
  if attributes.has_key?(:'multimedia')
139
166
  if (value = attributes[:'multimedia']).is_a?(Array)
140
167
  self.multimedia = value
@@ -199,6 +226,9 @@ module UltracartClient
199
226
  exclude_from_top_sellers == o.exclude_from_top_sellers &&
200
227
  extended_description == o.extended_description &&
201
228
  extended_description_translated_text_instance_oid == o.extended_description_translated_text_instance_oid &&
229
+ meta_description == o.meta_description &&
230
+ meta_keywords == o.meta_keywords &&
231
+ meta_title == o.meta_title &&
202
232
  multimedia == o.multimedia &&
203
233
  new_item == o.new_item &&
204
234
  new_item_end == o.new_item_end &&
@@ -215,7 +245,7 @@ module UltracartClient
215
245
  # Calculates hash code according to all attributes.
216
246
  # @return [Fixnum] Hash code
217
247
  def hash
218
- [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
248
+ [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
219
249
  end
220
250
 
221
251
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.218'
14
+ VERSION = '3.10.220'
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: 3.10.218
4
+ version: 3.10.220
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