ultracart-rest-sdk 4.0.235__py3-none-any.whl → 4.0.237__py3-none-any.whl
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.
- ultracart/__init__.py +1 -1
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/coupon_percent_off_item_with_items_quantity_purchase.py +8 -0
- ultracart/model/item_content.py +14 -2
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.237.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.237.dist-info}/RECORD +10 -10
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.237.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.237.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.237.dist-info}/top_level.txt +0 -0
ultracart/__init__.py
CHANGED
ultracart/api_client.py
CHANGED
|
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
|
77
77
|
self.default_headers[header_name] = header_value
|
|
78
78
|
self.cookie = cookie
|
|
79
79
|
# Set default User-Agent.
|
|
80
|
-
self.user_agent = 'OpenAPI-Generator/4.0.
|
|
80
|
+
self.user_agent = 'OpenAPI-Generator/4.0.237/python'
|
|
81
81
|
|
|
82
82
|
def __enter__(self):
|
|
83
83
|
return self
|
ultracart/configuration.py
CHANGED
|
@@ -422,7 +422,7 @@ conf = ultracart.Configuration(
|
|
|
422
422
|
"OS: {env}\n"\
|
|
423
423
|
"Python Version: {pyversion}\n"\
|
|
424
424
|
"Version of the API: 2.0.0\n"\
|
|
425
|
-
"SDK Package Version: 4.0.
|
|
425
|
+
"SDK Package Version: 4.0.237".\
|
|
426
426
|
format(env=sys.platform, pyversion=sys.version)
|
|
427
427
|
|
|
428
428
|
def get_host_settings(self):
|
|
@@ -83,9 +83,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
|
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
85
|
'discount_percent': (float,), # noqa: E501
|
|
86
|
+
'item_tags': ([str],), # noqa: E501
|
|
86
87
|
'items': ([str],), # noqa: E501
|
|
87
88
|
'limit': (int,), # noqa: E501
|
|
88
89
|
'required_purchase_items': ([str],), # noqa: E501
|
|
90
|
+
'required_purchase_items_tags': ([str],), # noqa: E501
|
|
89
91
|
'required_purchase_quantity': (int,), # noqa: E501
|
|
90
92
|
}
|
|
91
93
|
|
|
@@ -96,9 +98,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
|
|
|
96
98
|
|
|
97
99
|
attribute_map = {
|
|
98
100
|
'discount_percent': 'discount_percent', # noqa: E501
|
|
101
|
+
'item_tags': 'item_tags', # noqa: E501
|
|
99
102
|
'items': 'items', # noqa: E501
|
|
100
103
|
'limit': 'limit', # noqa: E501
|
|
101
104
|
'required_purchase_items': 'required_purchase_items', # noqa: E501
|
|
105
|
+
'required_purchase_items_tags': 'required_purchase_items_tags', # noqa: E501
|
|
102
106
|
'required_purchase_quantity': 'required_purchase_quantity', # noqa: E501
|
|
103
107
|
}
|
|
104
108
|
|
|
@@ -144,9 +148,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
|
|
|
144
148
|
through its discriminator because we passed in
|
|
145
149
|
_visited_composed_classes = (Animal,)
|
|
146
150
|
discount_percent (float): The percentage of subtotal discount. [optional] # noqa: E501
|
|
151
|
+
item_tags ([str]): An optional list of item tags which will receive a discount if one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
147
152
|
items ([str]): A list of items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
|
|
148
153
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
149
154
|
required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
|
|
155
|
+
required_purchase_items_tags ([str]): Required item tags (at least one from the list) that must be purchase for coupon to be valid.. [optional] # noqa: E501
|
|
150
156
|
required_purchase_quantity (int): The quantity of items that must be purchased for the discount to be applied.. [optional] # noqa: E501
|
|
151
157
|
"""
|
|
152
158
|
|
|
@@ -234,9 +240,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
|
|
|
234
240
|
through its discriminator because we passed in
|
|
235
241
|
_visited_composed_classes = (Animal,)
|
|
236
242
|
discount_percent (float): The percentage of subtotal discount. [optional] # noqa: E501
|
|
243
|
+
item_tags ([str]): An optional list of item tags which will receive a discount if one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
237
244
|
items ([str]): A list of items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
|
|
238
245
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
239
246
|
required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
|
|
247
|
+
required_purchase_items_tags ([str]): Required item tags (at least one from the list) that must be purchase for coupon to be valid.. [optional] # noqa: E501
|
|
240
248
|
required_purchase_quantity (int): The quantity of items that must be purchased for the discount to be applied.. [optional] # noqa: E501
|
|
241
249
|
"""
|
|
242
250
|
|
ultracart/model/item_content.py
CHANGED
|
@@ -103,6 +103,9 @@ class ItemContent(ModelNormal):
|
|
|
103
103
|
'exclude_from_top_sellers': (bool,), # noqa: E501
|
|
104
104
|
'extended_description': (str,), # noqa: E501
|
|
105
105
|
'extended_description_translated_text_instance_oid': (int,), # noqa: E501
|
|
106
|
+
'meta_description': (str,), # noqa: E501
|
|
107
|
+
'meta_keywords': (str,), # noqa: E501
|
|
108
|
+
'meta_title': (str,), # noqa: E501
|
|
106
109
|
'multimedia': ([ItemContentMultimedia],), # noqa: E501
|
|
107
110
|
'new_item': (bool,), # noqa: E501
|
|
108
111
|
'new_item_end': (str,), # noqa: E501
|
|
@@ -124,6 +127,9 @@ class ItemContent(ModelNormal):
|
|
|
124
127
|
'exclude_from_top_sellers': 'exclude_from_top_sellers', # noqa: E501
|
|
125
128
|
'extended_description': 'extended_description', # noqa: E501
|
|
126
129
|
'extended_description_translated_text_instance_oid': 'extended_description_translated_text_instance_oid', # noqa: E501
|
|
130
|
+
'meta_description': 'meta_description', # noqa: E501
|
|
131
|
+
'meta_keywords': 'meta_keywords', # noqa: E501
|
|
132
|
+
'meta_title': 'meta_title', # noqa: E501
|
|
127
133
|
'multimedia': 'multimedia', # noqa: E501
|
|
128
134
|
'new_item': 'new_item', # noqa: E501
|
|
129
135
|
'new_item_end': 'new_item_end', # noqa: E501
|
|
@@ -179,7 +185,10 @@ class ItemContent(ModelNormal):
|
|
|
179
185
|
exclude_from_sitemap (bool): Exclude from the sitemap for the StoreFront. [optional] # noqa: E501
|
|
180
186
|
exclude_from_top_sellers (bool): Exclude from the top sellers list in the StoreFront. [optional] # noqa: E501
|
|
181
187
|
extended_description (str): Extended description (max 10000 characters). [optional] # noqa: E501
|
|
182
|
-
extended_description_translated_text_instance_oid (int):
|
|
188
|
+
extended_description_translated_text_instance_oid (int): Extended description text translation instance identifier. [optional] # noqa: E501
|
|
189
|
+
meta_description (str): SEO meta description used by Storefronts. [optional] # noqa: E501
|
|
190
|
+
meta_keywords (str): SEO meta keywords used by Storefronts. [optional] # noqa: E501
|
|
191
|
+
meta_title (str): SEO meta title used by Storefronts. [optional] # noqa: E501
|
|
183
192
|
multimedia ([ItemContentMultimedia]): Multimedia. [optional] # noqa: E501
|
|
184
193
|
new_item (bool): True if the item is new. [optional] # noqa: E501
|
|
185
194
|
new_item_end (str): The date the item should no longer be considered new. [optional] # noqa: E501
|
|
@@ -277,7 +286,10 @@ class ItemContent(ModelNormal):
|
|
|
277
286
|
exclude_from_sitemap (bool): Exclude from the sitemap for the StoreFront. [optional] # noqa: E501
|
|
278
287
|
exclude_from_top_sellers (bool): Exclude from the top sellers list in the StoreFront. [optional] # noqa: E501
|
|
279
288
|
extended_description (str): Extended description (max 10000 characters). [optional] # noqa: E501
|
|
280
|
-
extended_description_translated_text_instance_oid (int):
|
|
289
|
+
extended_description_translated_text_instance_oid (int): Extended description text translation instance identifier. [optional] # noqa: E501
|
|
290
|
+
meta_description (str): SEO meta description used by Storefronts. [optional] # noqa: E501
|
|
291
|
+
meta_keywords (str): SEO meta keywords used by Storefronts. [optional] # noqa: E501
|
|
292
|
+
meta_title (str): SEO meta title used by Storefronts. [optional] # noqa: E501
|
|
281
293
|
multimedia ([ItemContentMultimedia]): Multimedia. [optional] # noqa: E501
|
|
282
294
|
new_item (bool): True if the item is new. [optional] # noqa: E501
|
|
283
295
|
new_item_end (str): The date the item should no longer be considered new. [optional] # noqa: E501
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
ultracart/__init__.py,sha256=
|
|
2
|
-
ultracart/api_client.py,sha256=
|
|
3
|
-
ultracart/configuration.py,sha256=
|
|
1
|
+
ultracart/__init__.py,sha256=9WfZ6wAsGWIr-gsPQVkjtqe7pIpLzNp5yZ9nQdutcwo,699
|
|
2
|
+
ultracart/api_client.py,sha256=KAJ9VtUNQGs31KzivBzBzcHMFu9N6P8lTuG4nprdo0g,39072
|
|
3
|
+
ultracart/configuration.py,sha256=ECDJ8P4muienHy4s-ZqnAF5jRfutuMoEjLK4jVaAeG8,17842
|
|
4
4
|
ultracart/exceptions.py,sha256=dwRtrWJsW4H_jKk3B1w2chykcQ7E2FSlhftUByD9e9E,5069
|
|
5
5
|
ultracart/model_utils.py,sha256=X_RAfA-TlvDKBICnIve7PPVDM34Nl58aV1bqCrVmoTo,82574
|
|
6
6
|
ultracart/rest.py,sha256=2lM6zwrjGp_SjkddamoKdpk3jFuc8Ow7fKIXRdKNp24,14268
|
|
@@ -295,7 +295,7 @@ ultracart/model/coupon_multiple_amounts_off_items.py,sha256=450YVlzilMWXCpin6OAZ
|
|
|
295
295
|
ultracart/model/coupon_no_discount.py,sha256=so6g24H9Ri491H8lHXRNNEV7UnhtHiCTKcws6yqjNWk,11708
|
|
296
296
|
ultracart/model/coupon_percent_more_loyalty_cashback.py,sha256=WoUtG1FcscDZnyxBihVt4BK1s51sPxRHffxr-bNFibk,11670
|
|
297
297
|
ultracart/model/coupon_percent_more_loyalty_points.py,sha256=ifdxmojWZflkTOGEEz0cb7XpphnvUL8wvJ0lxcff8qM,11650
|
|
298
|
-
ultracart/model/coupon_percent_off_item_with_items_quantity_purchase.py,sha256=
|
|
298
|
+
ultracart/model/coupon_percent_off_item_with_items_quantity_purchase.py,sha256=O9_wKGH0kP1AYV_vOO6I4K2l6GcHR2vPQ2uDzx8XEgg,14138
|
|
299
299
|
ultracart/model/coupon_percent_off_items.py,sha256=TC4vAyXrUNtWoFrrtC_MLa9giSmF3K9Lt_fzgVLAKIU,13413
|
|
300
300
|
ultracart/model/coupon_percent_off_items_and_free_shipping.py,sha256=YdxAEF3SNuneW1Lj2nf2Xf0fEKSpKgG6t9uD2ua2KsU,13167
|
|
301
301
|
ultracart/model/coupon_percent_off_items_with_items_purchase.py,sha256=eb7kZVvcAlD99NkFYHQT8AiCMq8LTPoP-Me42xu6MWY,13617
|
|
@@ -542,7 +542,7 @@ ultracart/model/item_chargeback.py,sha256=rhRmQvDw-rKyjf5hXvwcBsEZV05N1yDW6G2_LT
|
|
|
542
542
|
ultracart/model/item_chargeback_addendum.py,sha256=YEqjTO3XFZ-Ya59gLdpgKg_1Yuv-9YODqufOAl7vGrU,12283
|
|
543
543
|
ultracart/model/item_chargeback_adjustment_request.py,sha256=xYUhTJwD8lcgC566ioKYzxW-PsjpRLekTpnrgVPfGoU,12163
|
|
544
544
|
ultracart/model/item_checkout.py,sha256=WUp2p_im2hHLGrP9dFzdRHpDTHkckq2UWqZYZZ2vhN4,12603
|
|
545
|
-
ultracart/model/item_content.py,sha256=
|
|
545
|
+
ultracart/model/item_content.py,sha256=EbAVf3EQSyXd3Jk4UWLJvONyuwBrWYx8pbwyg-ef6XQ,16997
|
|
546
546
|
ultracart/model/item_content_assignment.py,sha256=A-Z2Pu8ZpmalZlKoBpwdkSurh17eJB1wYT4nOLVEqM8,12933
|
|
547
547
|
ultracart/model/item_content_attribute.py,sha256=huBD7xWc4BTcjUSsW2Li8EQ07AqFHpOiw53T_ZLRYjQ,12390
|
|
548
548
|
ultracart/model/item_content_multimedia.py,sha256=tM2gytIYUaLPEAoGO4WtWg6EwAa4CMYb-8s5nFp93zs,16332
|
|
@@ -883,8 +883,8 @@ ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE
|
|
|
883
883
|
ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
|
|
884
884
|
ultracart/model/workflow_users_response.py,sha256=3Y7L1oHc2-HOvl1pDdcnl9xHKYLGblKpKdbkPBh2u68,13059
|
|
885
885
|
ultracart/models/__init__.py,sha256=5w0sm-4hP3O2vuflMmlb19tOWigMwoSgdhRPItFqPAQ,65888
|
|
886
|
-
ultracart_rest_sdk-4.0.
|
|
887
|
-
ultracart_rest_sdk-4.0.
|
|
888
|
-
ultracart_rest_sdk-4.0.
|
|
889
|
-
ultracart_rest_sdk-4.0.
|
|
890
|
-
ultracart_rest_sdk-4.0.
|
|
886
|
+
ultracart_rest_sdk-4.0.237.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
|
|
887
|
+
ultracart_rest_sdk-4.0.237.dist-info/METADATA,sha256=Ki4SlNYGdMapSDSCU5CGCAfnqCyhtc5m9oqvqQcCmwE,403
|
|
888
|
+
ultracart_rest_sdk-4.0.237.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
889
|
+
ultracart_rest_sdk-4.0.237.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
|
|
890
|
+
ultracart_rest_sdk-4.0.237.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|