ultracart-rest-sdk 4.0.235__py3-none-any.whl → 4.0.236__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_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.236.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.236.dist-info}/RECORD +9 -9
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.236.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.236.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.235.dist-info → ultracart_rest_sdk-4.0.236.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.236/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.236".\
|
|
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
|
|
|
@@ -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=xLWOWsWaeE2Fy6lGiYnO2HFKw_CHLMTT8yvKjKkYM7Q,699
|
|
2
|
+
ultracart/api_client.py,sha256=XBLU-3HJ0f1MQbeq_1ygJM6gu-o0N0OcNsP0IK1t80Q,39072
|
|
3
|
+
ultracart/configuration.py,sha256=V42qQXZr0P_pVzeUxVGzChV79KBp1kCiAMdJPm-5ZnU,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
|
|
@@ -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.236.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
|
|
887
|
+
ultracart_rest_sdk-4.0.236.dist-info/METADATA,sha256=OkKU8Dohc8TR8Ax-BdOFsqtjjm6kID3G-wcF_acHeX4,403
|
|
888
|
+
ultracart_rest_sdk-4.0.236.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
889
|
+
ultracart_rest_sdk-4.0.236.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
|
|
890
|
+
ultracart_rest_sdk-4.0.236.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|