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 CHANGED
@@ -11,7 +11,7 @@
11
11
  """
12
12
 
13
13
 
14
- __version__ = "4.0.235"
14
+ __version__ = "4.0.236"
15
15
 
16
16
  # import ApiClient
17
17
  from ultracart.api_client import ApiClient
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.235/python'
80
+ self.user_agent = 'OpenAPI-Generator/4.0.236/python'
81
81
 
82
82
  def __enter__(self):
83
83
  return self
@@ -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.235".\
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
1
  Metadata-Version: 2.1
2
2
  Name: ultracart-rest-sdk
3
- Version: 4.0.235
3
+ Version: 4.0.236
4
4
  Summary: UltraCart Rest API V2
5
5
  Home-page: UNKNOWN
6
6
  Author: UltraCart Support
@@ -1,6 +1,6 @@
1
- ultracart/__init__.py,sha256=RySmFkZc2YuYj0kTwiEYjYpjCzKvTmINLKmNOczsPR4,699
2
- ultracart/api_client.py,sha256=JZAFgvIkUXpZC-zdGw5fyKDRnO1SUhLmXqvv6r3kwkw,39072
3
- ultracart/configuration.py,sha256=LDNBfv_DalHhPNPYLqckqoftHDmRLET3szHqDBbIMLc,17842
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=7mdPXUI9FNISj1JPBgrxm9Te0wc-72ofCADMCCO4lh8,13207
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.235.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
887
- ultracart_rest_sdk-4.0.235.dist-info/METADATA,sha256=or1LNG4HtRa2R7gQqitRH9pGaiFUkhOcjnI4_1i1Q58,403
888
- ultracart_rest_sdk-4.0.235.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
889
- ultracart_rest_sdk-4.0.235.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
890
- ultracart_rest_sdk-4.0.235.dist-info/RECORD,,
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,,