ultracart-rest-sdk 4.1.14__py3-none-any.whl → 4.1.16__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.
@@ -128,6 +128,63 @@ class OrderApi(object):
128
128
  },
129
129
  api_client=api_client
130
130
  )
131
+ self.block_refund_on_order_endpoint = _Endpoint(
132
+ settings={
133
+ 'response_type': None,
134
+ 'auth': [
135
+ 'ultraCartOauth',
136
+ 'ultraCartSimpleApiKey'
137
+ ],
138
+ 'endpoint_path': '/order/orders/{order_id}/refund_block',
139
+ 'operation_id': 'block_refund_on_order',
140
+ 'http_method': 'GET',
141
+ 'servers': None,
142
+ },
143
+ params_map={
144
+ 'all': [
145
+ 'order_id',
146
+ 'block_reason',
147
+ ],
148
+ 'required': [
149
+ 'order_id',
150
+ ],
151
+ 'nullable': [
152
+ ],
153
+ 'enum': [
154
+ ],
155
+ 'validation': [
156
+ ]
157
+ },
158
+ root_map={
159
+ 'validations': {
160
+ },
161
+ 'allowed_values': {
162
+ },
163
+ 'openapi_types': {
164
+ 'order_id':
165
+ (str,),
166
+ 'block_reason':
167
+ (str,),
168
+ },
169
+ 'attribute_map': {
170
+ 'order_id': 'order_id',
171
+ 'block_reason': 'block_reason',
172
+ },
173
+ 'location_map': {
174
+ 'order_id': 'path',
175
+ 'block_reason': 'query',
176
+ },
177
+ 'collection_format_map': {
178
+ }
179
+ },
180
+ headers_map={
181
+ 'accept': [
182
+ 'application/json'
183
+ ],
184
+ 'content_type': [],
185
+ },
186
+ api_client=api_client
187
+ )
131
188
  self.cancel_order_endpoint = _Endpoint(
132
189
  settings={
133
190
  'response_type': (BaseResponse,),
@@ -1438,33 +1495,26 @@ class OrderApi(object):
1438
1495
  },
1439
1496
  api_client=api_client
1440
1497
  )
1441
- self.refund_order_completely_endpoint = _Endpoint(
1498
+ self.replacement_endpoint = _Endpoint(
1442
1499
  settings={
1443
- 'response_type': (OrderResponse,),
1500
+ 'response_type': (OrderReplacementResponse,),
1444
1501
  'auth': [
1445
1502
  'ultraCartOauth',
1446
1503
  'ultraCartSimpleApiKey'
1447
1504
  ],
1448
- 'endpoint_path': '/order/orders/{order_id}/refund_completely',
1449
- 'operation_id': 'refund_order_completely',
1450
- 'http_method': 'PUT',
1505
+ 'endpoint_path': '/order/orders/{order_id}/replacement',
1506
+ 'operation_id': 'replacement',
1507
+ 'http_method': 'POST',
1451
1508
  'servers': None,
1452
1509
  },
1453
1510
  params_map={
1454
1511
  'all': [
1455
1512
  'order_id',
1456
- 'reject_after_refund',
1457
- 'skip_customer_notification',
1458
- 'auto_order_cancel',
1459
- 'manual_refund',
1460
- 'reverse_affiliate_transactions',
1461
- 'issue_store_credit',
1462
- 'auto_order_cancel_reason',
1463
- 'refund_reason',
1464
- 'reject_reason',
1513
+ 'replacement',
1465
1514
  ],
1466
1515
  'required': [
1467
1516
  'order_id',
1517
+ 'replacement',
1468
1518
  ],
1469
1519
  'nullable': [
1470
1520
  ],
@@ -1481,48 +1531,15 @@ class OrderApi(object):
1481
1531
  'openapi_types': {
1482
1532
  'order_id':
1483
1533
  (str,),
1484
- 'reject_after_refund':
1485
- (bool,),
1486
- 'skip_customer_notification':
1487
- (bool,),
1488
- 'auto_order_cancel':
1489
- (bool,),
1490
- 'manual_refund':
1491
- (bool,),
1492
- 'reverse_affiliate_transactions':
1493
- (bool,),
1494
- 'issue_store_credit':
1495
- (bool,),
1496
- 'auto_order_cancel_reason':
1497
- (str,),
1498
- 'refund_reason':
1499
- (str,),
1500
- 'reject_reason':
1501
- (str,),
1534
+ 'replacement':
1535
+ (OrderReplacement,),
1502
1536
  },
1503
1537
  'attribute_map': {
1504
1538
  'order_id': 'order_id',
1505
- 'reject_after_refund': 'reject_after_refund',
1506
- 'skip_customer_notification': 'skip_customer_notification',
1507
- 'auto_order_cancel': 'auto_order_cancel',
1508
- 'manual_refund': 'manual_refund',
1509
- 'reverse_affiliate_transactions': 'reverse_affiliate_transactions',
1510
- 'issue_store_credit': 'issue_store_credit',
1511
- 'auto_order_cancel_reason': 'auto_order_cancel_reason',
1512
- 'refund_reason': 'refund_reason',
1513
- 'reject_reason': 'reject_reason',
1514
1539
  },
1515
1540
  'location_map': {
1516
1541
  'order_id': 'path',
1517
- 'reject_after_refund': 'query',
1518
- 'skip_customer_notification': 'query',
1519
- 'auto_order_cancel': 'query',
1520
- 'manual_refund': 'query',
1521
- 'reverse_affiliate_transactions': 'query',
1522
- 'issue_store_credit': 'query',
1523
- 'auto_order_cancel_reason': 'query',
1524
- 'refund_reason': 'query',
1525
- 'reject_reason': 'query',
1542
+ 'replacement': 'body',
1526
1543
  },
1527
1544
  'collection_format_map': {
1528
1545
  }
@@ -1531,30 +1548,30 @@ class OrderApi(object):
1531
1548
  'accept': [
1532
1549
  'application/json'
1533
1550
  ],
1534
- 'content_type': [],
1551
+ 'content_type': [
1552
+ 'application/json'
1553
+ ]
1535
1554
  },
1536
1555
  api_client=api_client
1537
1556
  )
1538
- self.replacement_endpoint = _Endpoint(
1557
+ self.resend_receipt_endpoint = _Endpoint(
1539
1558
  settings={
1540
- 'response_type': (OrderReplacementResponse,),
1559
+ 'response_type': (BaseResponse,),
1541
1560
  'auth': [
1542
1561
  'ultraCartOauth',
1543
1562
  'ultraCartSimpleApiKey'
1544
1563
  ],
1545
- 'endpoint_path': '/order/orders/{order_id}/replacement',
1546
- 'operation_id': 'replacement',
1564
+ 'endpoint_path': '/order/orders/{order_id}/resend_receipt',
1565
+ 'operation_id': 'resend_receipt',
1547
1566
  'http_method': 'POST',
1548
1567
  'servers': None,
1549
1568
  },
1550
1569
  params_map={
1551
1570
  'all': [
1552
1571
  'order_id',
1553
- 'replacement',
1554
1572
  ],
1555
1573
  'required': [
1556
1574
  'order_id',
1557
- 'replacement',
1558
1575
  ],
1559
1576
  'nullable': [
1560
1577
  ],
@@ -1571,15 +1588,12 @@ class OrderApi(object):
1571
1588
  'openapi_types': {
1572
1589
  'order_id':
1573
1590
  (str,),
1574
- 'replacement':
1575
- (OrderReplacement,),
1576
1591
  },
1577
1592
  'attribute_map': {
1578
1593
  'order_id': 'order_id',
1579
1594
  },
1580
1595
  'location_map': {
1581
1596
  'order_id': 'path',
1582
- 'replacement': 'body',
1583
1597
  },
1584
1598
  'collection_format_map': {
1585
1599
  }
@@ -1588,21 +1602,19 @@ class OrderApi(object):
1588
1602
  'accept': [
1589
1603
  'application/json'
1590
1604
  ],
1591
- 'content_type': [
1592
- 'application/json'
1593
- ]
1605
+ 'content_type': [],
1594
1606
  },
1595
1607
  api_client=api_client
1596
1608
  )
1597
- self.resend_receipt_endpoint = _Endpoint(
1609
+ self.resend_shipment_confirmation_endpoint = _Endpoint(
1598
1610
  settings={
1599
1611
  'response_type': (BaseResponse,),
1600
1612
  'auth': [
1601
1613
  'ultraCartOauth',
1602
1614
  'ultraCartSimpleApiKey'
1603
1615
  ],
1604
- 'endpoint_path': '/order/orders/{order_id}/resend_receipt',
1605
- 'operation_id': 'resend_receipt',
1616
+ 'endpoint_path': '/order/orders/{order_id}/resend_shipment_confirmation',
1617
+ 'operation_id': 'resend_shipment_confirmation',
1606
1618
  'http_method': 'POST',
1607
1619
  'servers': None,
1608
1620
  },
@@ -1646,16 +1658,16 @@ class OrderApi(object):
1646
1658
  },
1647
1659
  api_client=api_client
1648
1660
  )
1649
- self.resend_shipment_confirmation_endpoint = _Endpoint(
1661
+ self.unblock_refund_on_order_endpoint = _Endpoint(
1650
1662
  settings={
1651
- 'response_type': (BaseResponse,),
1663
+ 'response_type': None,
1652
1664
  'auth': [
1653
1665
  'ultraCartOauth',
1654
1666
  'ultraCartSimpleApiKey'
1655
1667
  ],
1656
- 'endpoint_path': '/order/orders/{order_id}/resend_shipment_confirmation',
1657
- 'operation_id': 'resend_shipment_confirmation',
1658
- 'http_method': 'POST',
1668
+ 'endpoint_path': '/order/orders/{order_id}/refund_unblock',
1669
+ 'operation_id': 'unblock_refund_on_order',
1670
+ 'http_method': 'GET',
1659
1671
  'servers': None,
1660
1672
  },
1661
1673
  params_map={
@@ -1956,6 +1968,90 @@ class OrderApi(object):
1956
1968
  desired_total
1957
1969
  return self.adjust_order_total_endpoint.call_with_http_info(**kwargs)
1958
1970
 
1971
+ def block_refund_on_order(
1972
+ self,
1973
+ order_id,
1974
+ **kwargs
1975
+ ):
1976
+ """Set a refund block on an order # noqa: E501
1977
+
1978
+ Sets a refund block on an order to prevent a user from performing a refund. Commonly used when a chargeback has been received. # noqa: E501
1979
+ This method makes a synchronous HTTP request by default. To make an
1980
+ asynchronous HTTP request, please pass async_req=True
1981
+
1982
+ >>> thread = api.block_refund_on_order(order_id, async_req=True)
1983
+ >>> result = thread.get()
1984
+
1985
+ Args:
1986
+ order_id (str): The order id to block a refund on.
1987
+
1988
+ Keyword Args:
1989
+ block_reason (str): Block reason code (optional). [optional]
1990
+ _return_http_data_only (bool): response data without head status
1991
+ code and headers. Default is True.
1992
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1993
+ will be returned without reading/decoding response data.
1994
+ Default is True.
1995
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1996
+ one number provided, it will be total request timeout. It can also
1997
+ be a pair (tuple) of (connection, read) timeouts.
1998
+ Default is None.
1999
+ _check_input_type (bool): specifies if type checking
2000
+ should be done one the data sent to the server.
2001
+ Default is True.
2002
+ _check_return_type (bool): specifies if type checking
2003
+ should be done one the data received from the server.
2004
+ Default is True.
2005
+ _spec_property_naming (bool): True if the variable names in the input data
2006
+ are serialized names, as specified in the OpenAPI document.
2007
+ False if the variable names in the input data
2008
+ are pythonic names, e.g. snake case (default)
2009
+ _content_type (str/None): force body content-type.
2010
+ Default is None and content-type will be predicted by allowed
2011
+ content-types and body.
2012
+ _host_index (int/None): specifies the index of the server
2013
+ that we want to use.
2014
+ Default is read from the configuration.
2015
+ _request_auths (list): set to override the auth_settings for an a single
2016
+ request; this effectively ignores the authentication
2017
+ in the spec for a single request.
2018
+ Default is None
2019
+ async_req (bool): execute request asynchronously
2020
+
2021
+ Returns:
2022
+ None
2023
+ If the method is called asynchronously, returns the request
2024
+ thread.
2025
+ """
2026
+ kwargs['async_req'] = kwargs.get(
2027
+ 'async_req', False
2028
+ )
2029
+ kwargs['_return_http_data_only'] = kwargs.get(
2030
+ '_return_http_data_only', True
2031
+ )
2032
+ kwargs['_preload_content'] = kwargs.get(
2033
+ '_preload_content', True
2034
+ )
2035
+ kwargs['_request_timeout'] = kwargs.get(
2036
+ '_request_timeout', None
2037
+ )
2038
+ kwargs['_check_input_type'] = kwargs.get(
2039
+ '_check_input_type', True
2040
+ )
2041
+ kwargs['_check_return_type'] = kwargs.get(
2042
+ '_check_return_type', True
2043
+ )
2044
+ kwargs['_spec_property_naming'] = kwargs.get(
2045
+ '_spec_property_naming', False
2046
+ )
2047
+ kwargs['_content_type'] = kwargs.get(
2048
+ '_content_type')
2049
+ kwargs['_host_index'] = kwargs.get('_host_index')
2050
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2051
+ kwargs['order_id'] = \
2052
+ order_id
2053
+ return self.block_refund_on_order_endpoint.call_with_http_info(**kwargs)
2054
+
1959
2055
  def cancel_order(
1960
2056
  self,
1961
2057
  order_id,
@@ -3669,33 +3765,26 @@ class OrderApi(object):
3669
3765
  order
3670
3766
  return self.refund_order_endpoint.call_with_http_info(**kwargs)
3671
3767
 
3672
- def refund_order_completely(
3768
+ def replacement(
3673
3769
  self,
3674
3770
  order_id,
3771
+ replacement,
3675
3772
  **kwargs
3676
3773
  ):
3677
- """Refund an order completely # noqa: E501
3774
+ """Replacement order # noqa: E501
3678
3775
 
3679
- Perform a refund operation on an order and then update the order if successful. # noqa: E501
3776
+ Create a replacement order based upon a previous order # noqa: E501
3680
3777
  This method makes a synchronous HTTP request by default. To make an
3681
3778
  asynchronous HTTP request, please pass async_req=True
3682
3779
 
3683
- >>> thread = api.refund_order_completely(order_id, async_req=True)
3780
+ >>> thread = api.replacement(order_id, replacement, async_req=True)
3684
3781
  >>> result = thread.get()
3685
3782
 
3686
3783
  Args:
3687
- order_id (str): The order id to refund.
3784
+ order_id (str): The order id to generate a replacement for.
3785
+ replacement (OrderReplacement): Replacement order details
3688
3786
 
3689
3787
  Keyword Args:
3690
- reject_after_refund (bool): Reject order after refund. [optional] if omitted the server will use the default value of False
3691
- skip_customer_notification (bool): Skip customer email notification. [optional] if omitted the server will use the default value of False
3692
- auto_order_cancel (bool): Cancel associated auto orders. [optional] if omitted the server will use the default value of False
3693
- manual_refund (bool): Consider a manual refund done externally. [optional] if omitted the server will use the default value of False
3694
- reverse_affiliate_transactions (bool): Reverse affiliate transactions. [optional] if omitted the server will use the default value of True
3695
- issue_store_credit (bool): Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account. [optional] if omitted the server will use the default value of False
3696
- auto_order_cancel_reason (str): Reason for auto orders cancellation. [optional]
3697
- refund_reason (str): Reason for refund. [optional]
3698
- reject_reason (str): Reason for reject. [optional]
3699
3788
  _return_http_data_only (bool): response data without head status
3700
3789
  code and headers. Default is True.
3701
3790
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3728,7 +3817,7 @@ class OrderApi(object):
3728
3817
  async_req (bool): execute request asynchronously
3729
3818
 
3730
3819
  Returns:
3731
- OrderResponse
3820
+ OrderReplacementResponse
3732
3821
  If the method is called asynchronously, returns the request
3733
3822
  thread.
3734
3823
  """
@@ -3759,26 +3848,26 @@ class OrderApi(object):
3759
3848
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3760
3849
  kwargs['order_id'] = \
3761
3850
  order_id
3762
- return self.refund_order_completely_endpoint.call_with_http_info(**kwargs)
3851
+ kwargs['replacement'] = \
3852
+ replacement
3853
+ return self.replacement_endpoint.call_with_http_info(**kwargs)
3763
3854
 
3764
- def replacement(
3855
+ def resend_receipt(
3765
3856
  self,
3766
3857
  order_id,
3767
- replacement,
3768
3858
  **kwargs
3769
3859
  ):
3770
- """Replacement order # noqa: E501
3860
+ """Resend receipt # noqa: E501
3771
3861
 
3772
- Create a replacement order based upon a previous order # noqa: E501
3862
+ Resend the receipt for an order on the UltraCart account. # noqa: E501
3773
3863
  This method makes a synchronous HTTP request by default. To make an
3774
3864
  asynchronous HTTP request, please pass async_req=True
3775
3865
 
3776
- >>> thread = api.replacement(order_id, replacement, async_req=True)
3866
+ >>> thread = api.resend_receipt(order_id, async_req=True)
3777
3867
  >>> result = thread.get()
3778
3868
 
3779
3869
  Args:
3780
- order_id (str): The order id to generate a replacement for.
3781
- replacement (OrderReplacement): Replacement order details
3870
+ order_id (str): The order id to resend the receipt for.
3782
3871
 
3783
3872
  Keyword Args:
3784
3873
  _return_http_data_only (bool): response data without head status
@@ -3813,7 +3902,7 @@ class OrderApi(object):
3813
3902
  async_req (bool): execute request asynchronously
3814
3903
 
3815
3904
  Returns:
3816
- OrderReplacementResponse
3905
+ BaseResponse
3817
3906
  If the method is called asynchronously, returns the request
3818
3907
  thread.
3819
3908
  """
@@ -3844,26 +3933,24 @@ class OrderApi(object):
3844
3933
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3845
3934
  kwargs['order_id'] = \
3846
3935
  order_id
3847
- kwargs['replacement'] = \
3848
- replacement
3849
- return self.replacement_endpoint.call_with_http_info(**kwargs)
3936
+ return self.resend_receipt_endpoint.call_with_http_info(**kwargs)
3850
3937
 
3851
- def resend_receipt(
3938
+ def resend_shipment_confirmation(
3852
3939
  self,
3853
3940
  order_id,
3854
3941
  **kwargs
3855
3942
  ):
3856
- """Resend receipt # noqa: E501
3943
+ """Resend shipment confirmation # noqa: E501
3857
3944
 
3858
- Resend the receipt for an order on the UltraCart account. # noqa: E501
3945
+ Resend shipment confirmation for an order on the UltraCart account. # noqa: E501
3859
3946
  This method makes a synchronous HTTP request by default. To make an
3860
3947
  asynchronous HTTP request, please pass async_req=True
3861
3948
 
3862
- >>> thread = api.resend_receipt(order_id, async_req=True)
3949
+ >>> thread = api.resend_shipment_confirmation(order_id, async_req=True)
3863
3950
  >>> result = thread.get()
3864
3951
 
3865
3952
  Args:
3866
- order_id (str): The order id to resend the receipt for.
3953
+ order_id (str): The order id to resend the shipment notification for.
3867
3954
 
3868
3955
  Keyword Args:
3869
3956
  _return_http_data_only (bool): response data without head status
@@ -3929,24 +4016,24 @@ class OrderApi(object):
3929
4016
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3930
4017
  kwargs['order_id'] = \
3931
4018
  order_id
3932
- return self.resend_receipt_endpoint.call_with_http_info(**kwargs)
4019
+ return self.resend_shipment_confirmation_endpoint.call_with_http_info(**kwargs)
3933
4020
 
3934
- def resend_shipment_confirmation(
4021
+ def unblock_refund_on_order(
3935
4022
  self,
3936
4023
  order_id,
3937
4024
  **kwargs
3938
4025
  ):
3939
- """Resend shipment confirmation # noqa: E501
4026
+ """Remove a refund block on an order # noqa: E501
3940
4027
 
3941
- Resend shipment confirmation for an order on the UltraCart account. # noqa: E501
4028
+ Removes a refund block on an order to prevent a user from performing a refund. # noqa: E501
3942
4029
  This method makes a synchronous HTTP request by default. To make an
3943
4030
  asynchronous HTTP request, please pass async_req=True
3944
4031
 
3945
- >>> thread = api.resend_shipment_confirmation(order_id, async_req=True)
4032
+ >>> thread = api.unblock_refund_on_order(order_id, async_req=True)
3946
4033
  >>> result = thread.get()
3947
4034
 
3948
4035
  Args:
3949
- order_id (str): The order id to resend the shipment notification for.
4036
+ order_id (str): The order id to unblock a refund on.
3950
4037
 
3951
4038
  Keyword Args:
3952
4039
  _return_http_data_only (bool): response data without head status
@@ -3981,7 +4068,7 @@ class OrderApi(object):
3981
4068
  async_req (bool): execute request asynchronously
3982
4069
 
3983
4070
  Returns:
3984
- BaseResponse
4071
+ None
3985
4072
  If the method is called asynchronously, returns the request
3986
4073
  thread.
3987
4074
  """
@@ -4012,7 +4099,7 @@ class OrderApi(object):
4012
4099
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4013
4100
  kwargs['order_id'] = \
4014
4101
  order_id
4015
- return self.resend_shipment_confirmation_endpoint.call_with_http_info(**kwargs)
4102
+ return self.unblock_refund_on_order_endpoint.call_with_http_info(**kwargs)
4016
4103
 
4017
4104
  def update_accounts_receivable_retry_config(
4018
4105
  self,
@@ -231,14 +231,6 @@ class WebhookApi(object):
231
231
  params_map={
232
232
  'all': [
233
233
  'webhook_oid',
234
- 'request_id',
235
- 'begin_date',
236
- 'end_date',
237
- 'status',
238
- 'event',
239
- 'order_id',
240
- 'request',
241
- 'duration',
242
234
  'limit',
243
235
  'offset',
244
236
  'since',
@@ -261,22 +253,6 @@ class WebhookApi(object):
261
253
  'openapi_types': {
262
254
  'webhook_oid':
263
255
  (int,),
264
- 'request_id':
265
- (str,),
266
- 'begin_date':
267
- (str,),
268
- 'end_date':
269
- (str,),
270
- 'status':
271
- (str,),
272
- 'event':
273
- (str,),
274
- 'order_id':
275
- (str,),
276
- 'request':
277
- (str,),
278
- 'duration':
279
- (int,),
280
256
  'limit':
281
257
  (int,),
282
258
  'offset':
@@ -286,28 +262,12 @@ class WebhookApi(object):
286
262
  },
287
263
  'attribute_map': {
288
264
  'webhook_oid': 'webhookOid',
289
- 'request_id': 'requestId',
290
- 'begin_date': 'beginDate',
291
- 'end_date': 'endDate',
292
- 'status': 'status',
293
- 'event': 'event',
294
- 'order_id': 'orderId',
295
- 'request': 'request',
296
- 'duration': 'duration',
297
265
  'limit': '_limit',
298
266
  'offset': '_offset',
299
267
  'since': '_since',
300
268
  },
301
269
  'location_map': {
302
270
  'webhook_oid': 'path',
303
- 'request_id': 'query',
304
- 'begin_date': 'query',
305
- 'end_date': 'query',
306
- 'status': 'query',
307
- 'event': 'query',
308
- 'order_id': 'query',
309
- 'request': 'query',
310
- 'duration': 'query',
311
271
  'limit': 'query',
312
272
  'offset': 'query',
313
273
  'since': 'query',
@@ -840,14 +800,6 @@ class WebhookApi(object):
840
800
  webhook_oid (int): The webhook oid to retrieve log summaries for.
841
801
 
842
802
  Keyword Args:
843
- request_id (str): [optional]
844
- begin_date (str): [optional]
845
- end_date (str): [optional]
846
- status (str): [optional]
847
- event (str): [optional]
848
- order_id (str): [optional]
849
- request (str): [optional]
850
- duration (int): [optional]
851
803
  limit (int): The maximum number of records to return on this one API call.. [optional] if omitted the server will use the default value of 100
852
804
  offset (int): Pagination of the record set. Offset is a zero based index.. [optional] if omitted the server will use the default value of 0
853
805
  since (str): Fetch log summaries that have been delivered since this date/time.. [optional]
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.1.14/python'
80
+ self.user_agent = 'OpenAPI-Generator/4.1.16/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.1.14".\
425
+ "SDK Package Version: 4.1.16".\
426
426
  format(env=sys.platform, pyversion=sys.version)
427
427
 
428
428
  def get_host_settings(self):
@@ -88,6 +88,8 @@ class CartUpsellAfter(ModelNormal):
88
88
  'finalize_after_dts': (str,), # noqa: E501
89
89
  'finalize_after_minutes': (int,), # noqa: E501
90
90
  'upsell_path_code': (str,), # noqa: E501
91
+ 'upsell_path_name': (str,), # noqa: E501
92
+ 'upsell_path_variation': (str,), # noqa: E501
91
93
  }
92
94
 
93
95
  @cached_property
@@ -99,6 +101,8 @@ class CartUpsellAfter(ModelNormal):
99
101
  'finalize_after_dts': 'finalize_after_dts', # noqa: E501
100
102
  'finalize_after_minutes': 'finalize_after_minutes', # noqa: E501
101
103
  'upsell_path_code': 'upsell_path_code', # noqa: E501
104
+ 'upsell_path_name': 'upsell_path_name', # noqa: E501
105
+ 'upsell_path_variation': 'upsell_path_variation', # noqa: E501
102
106
  }
103
107
 
104
108
  read_only_vars = {
@@ -144,7 +148,9 @@ class CartUpsellAfter(ModelNormal):
144
148
  _visited_composed_classes = (Animal,)
145
149
  finalize_after_dts (str): The date/time after which the cart will finalize into an order.. [optional] # noqa: E501
146
150
  finalize_after_minutes (int): The amount of inactivity in minutes after which the cart should be finalized into an order. This will calculate the finalize_after_dts field.. [optional] # noqa: E501
147
- upsell_path_code (str): Upsell path code. [optional] # noqa: E501
151
+ upsell_path_code (str): Upsell path code (this is for legacy upsells only). [optional] # noqa: E501
152
+ upsell_path_name (str): Upsell path name to start on (StoreFront Upsells). Will only be respected on a handoff API call.. [optional] # noqa: E501
153
+ upsell_path_variation (str): Upsell path variation to start on (StoreFront Upsells). Will only be respected on a handoff API call.. [optional] # noqa: E501
148
154
  """
149
155
 
150
156
  _check_type = kwargs.pop('_check_type', True)
@@ -232,7 +238,9 @@ class CartUpsellAfter(ModelNormal):
232
238
  _visited_composed_classes = (Animal,)
233
239
  finalize_after_dts (str): The date/time after which the cart will finalize into an order.. [optional] # noqa: E501
234
240
  finalize_after_minutes (int): The amount of inactivity in minutes after which the cart should be finalized into an order. This will calculate the finalize_after_dts field.. [optional] # noqa: E501
235
- upsell_path_code (str): Upsell path code. [optional] # noqa: E501
241
+ upsell_path_code (str): Upsell path code (this is for legacy upsells only). [optional] # noqa: E501
242
+ upsell_path_name (str): Upsell path name to start on (StoreFront Upsells). Will only be respected on a handoff API call.. [optional] # noqa: E501
243
+ upsell_path_variation (str): Upsell path variation to start on (StoreFront Upsells). Will only be respected on a handoff API call.. [optional] # noqa: E501
236
244
  """
237
245
 
238
246
  _check_type = kwargs.pop('_check_type', True)