ultracart-rest-sdk 4.1.19__py3-none-any.whl → 4.1.21__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.
@@ -31,17 +31,15 @@ from ultracart.exceptions import ApiAttributeError
31
31
 
32
32
 
33
33
  def lazy_import():
34
- from ultracart.model.chargeback_dispute import ChargebackDispute
35
34
  from ultracart.model.error import Error
36
35
  from ultracart.model.response_metadata import ResponseMetadata
37
36
  from ultracart.model.warning import Warning
38
- globals()['ChargebackDispute'] = ChargebackDispute
39
37
  globals()['Error'] = Error
40
38
  globals()['ResponseMetadata'] = ResponseMetadata
41
39
  globals()['Warning'] = Warning
42
40
 
43
41
 
44
- class ChargebackDisputeResponse(ModelNormal):
42
+ class CustomReportAnalysisResponse(ModelNormal):
45
43
  """NOTE: This class is auto generated by OpenAPI Generator.
46
44
  Ref: https://openapi-generator.tech
47
45
 
@@ -94,8 +92,8 @@ class ChargebackDisputeResponse(ModelNormal):
94
92
  """
95
93
  lazy_import()
96
94
  return {
97
- 'chargeback': (ChargebackDispute,), # noqa: E501
98
95
  'error': (Error,), # noqa: E501
96
+ 'html': (str,), # noqa: E501
99
97
  'metadata': (ResponseMetadata,), # noqa: E501
100
98
  'success': (bool,), # noqa: E501
101
99
  'warning': (Warning,), # noqa: E501
@@ -107,8 +105,8 @@ class ChargebackDisputeResponse(ModelNormal):
107
105
 
108
106
 
109
107
  attribute_map = {
110
- 'chargeback': 'chargeback', # noqa: E501
111
108
  'error': 'error', # noqa: E501
109
+ 'html': 'html', # noqa: E501
112
110
  'metadata': 'metadata', # noqa: E501
113
111
  'success': 'success', # noqa: E501
114
112
  'warning': 'warning', # noqa: E501
@@ -122,7 +120,7 @@ class ChargebackDisputeResponse(ModelNormal):
122
120
  @classmethod
123
121
  @convert_js_args_to_python_args
124
122
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
125
- """ChargebackDisputeResponse - a model defined in OpenAPI
123
+ """CustomReportAnalysisResponse - a model defined in OpenAPI
126
124
 
127
125
  Keyword Args:
128
126
  _check_type (bool): if True, values for parameters in openapi_types
@@ -155,8 +153,8 @@ class ChargebackDisputeResponse(ModelNormal):
155
153
  Animal class but this time we won't travel
156
154
  through its discriminator because we passed in
157
155
  _visited_composed_classes = (Animal,)
158
- chargeback (ChargebackDispute): [optional] # noqa: E501
159
156
  error (Error): [optional] # noqa: E501
157
+ html (str): [optional] # noqa: E501
160
158
  metadata (ResponseMetadata): [optional] # noqa: E501
161
159
  success (bool): Indicates if API call was successful. [optional] # noqa: E501
162
160
  warning (Warning): [optional] # noqa: E501
@@ -212,7 +210,7 @@ class ChargebackDisputeResponse(ModelNormal):
212
210
 
213
211
  @convert_js_args_to_python_args
214
212
  def __init__(self, *args, **kwargs): # noqa: E501
215
- """ChargebackDisputeResponse - a model defined in OpenAPI
213
+ """CustomReportAnalysisResponse - a model defined in OpenAPI
216
214
 
217
215
  Keyword Args:
218
216
  _check_type (bool): if True, values for parameters in openapi_types
@@ -245,8 +243,8 @@ class ChargebackDisputeResponse(ModelNormal):
245
243
  Animal class but this time we won't travel
246
244
  through its discriminator because we passed in
247
245
  _visited_composed_classes = (Animal,)
248
- chargeback (ChargebackDispute): [optional] # noqa: E501
249
246
  error (Error): [optional] # noqa: E501
247
+ html (str): [optional] # noqa: E501
250
248
  metadata (ResponseMetadata): [optional] # noqa: E501
251
249
  success (bool): Indicates if API call was successful. [optional] # noqa: E501
252
250
  warning (Warning): [optional] # noqa: E501
@@ -0,0 +1,294 @@
1
+ """
2
+ UltraCart Rest API V2
3
+
4
+ UltraCart REST API Version 2 # noqa: E501
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ """
10
+
11
+
12
+ import re # noqa: F401
13
+ import sys # noqa: F401
14
+
15
+ from ultracart.model_utils import ( # noqa: F401
16
+ ApiTypeError,
17
+ ModelComposed,
18
+ ModelNormal,
19
+ ModelSimple,
20
+ cached_property,
21
+ change_keys_js_to_python,
22
+ convert_js_args_to_python_args,
23
+ date,
24
+ datetime,
25
+ file_type,
26
+ none_type,
27
+ validate_get_composed_info,
28
+ OpenApiModel
29
+ )
30
+ from ultracart.exceptions import ApiAttributeError
31
+
32
+
33
+ def lazy_import():
34
+ from ultracart.model.error import Error
35
+ from ultracart.model.response_metadata import ResponseMetadata
36
+ from ultracart.model.warning import Warning
37
+ globals()['Error'] = Error
38
+ globals()['ResponseMetadata'] = ResponseMetadata
39
+ globals()['Warning'] = Warning
40
+
41
+
42
+ class CustomReportChartPngUploadResponse(ModelNormal):
43
+ """NOTE: This class is auto generated by OpenAPI Generator.
44
+ Ref: https://openapi-generator.tech
45
+
46
+ Do not edit the class manually.
47
+
48
+ Attributes:
49
+ allowed_values (dict): The key is the tuple path to the attribute
50
+ and the for var_name this is (var_name,). The value is a dict
51
+ with a capitalized key describing the allowed value and an allowed
52
+ value. These dicts store the allowed enum values.
53
+ attribute_map (dict): The key is attribute name
54
+ and the value is json key in definition.
55
+ discriminator_value_class_map (dict): A dict to go from the discriminator
56
+ variable value to the discriminator class name.
57
+ validations (dict): The key is the tuple path to the attribute
58
+ and the for var_name this is (var_name,). The value is a dict
59
+ that stores validations for max_length, min_length, max_items,
60
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
61
+ inclusive_minimum, and regex.
62
+ additional_properties_type (tuple): A tuple of classes accepted
63
+ as additional properties values.
64
+ """
65
+
66
+ allowed_values = {
67
+ }
68
+
69
+ validations = {
70
+ }
71
+
72
+ @cached_property
73
+ def additional_properties_type():
74
+ """
75
+ This must be a method because a model may have properties that are
76
+ of type self, this must run after the class is loaded
77
+ """
78
+ lazy_import()
79
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
80
+
81
+ _nullable = False
82
+
83
+ @cached_property
84
+ def openapi_types():
85
+ """
86
+ This must be a method because a model may have properties that are
87
+ of type self, this must run after the class is loaded
88
+
89
+ Returns
90
+ openapi_types (dict): The key is attribute name
91
+ and the value is attribute type.
92
+ """
93
+ lazy_import()
94
+ return {
95
+ 'error': (Error,), # noqa: E501
96
+ 'metadata': (ResponseMetadata,), # noqa: E501
97
+ 'signed_download_url': (str,), # noqa: E501
98
+ 'signed_upload_url': (str,), # noqa: E501
99
+ 'success': (bool,), # noqa: E501
100
+ 'warning': (Warning,), # noqa: E501
101
+ }
102
+
103
+ @cached_property
104
+ def discriminator():
105
+ return None
106
+
107
+
108
+ attribute_map = {
109
+ 'error': 'error', # noqa: E501
110
+ 'metadata': 'metadata', # noqa: E501
111
+ 'signed_download_url': 'signed_download_url', # noqa: E501
112
+ 'signed_upload_url': 'signed_upload_url', # noqa: E501
113
+ 'success': 'success', # noqa: E501
114
+ 'warning': 'warning', # noqa: E501
115
+ }
116
+
117
+ read_only_vars = {
118
+ }
119
+
120
+ _composed_schemas = {}
121
+
122
+ @classmethod
123
+ @convert_js_args_to_python_args
124
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
125
+ """CustomReportChartPngUploadResponse - a model defined in OpenAPI
126
+
127
+ Keyword Args:
128
+ _check_type (bool): if True, values for parameters in openapi_types
129
+ will be type checked and a TypeError will be
130
+ raised if the wrong type is input.
131
+ Defaults to True
132
+ _path_to_item (tuple/list): This is a list of keys or values to
133
+ drill down to the model in received_data
134
+ when deserializing a response
135
+ _spec_property_naming (bool): True if the variable names in the input data
136
+ are serialized names, as specified in the OpenAPI document.
137
+ False if the variable names in the input data
138
+ are pythonic names, e.g. snake case (default)
139
+ _configuration (Configuration): the instance to use when
140
+ deserializing a file_type parameter.
141
+ If passed, type conversion is attempted
142
+ If omitted no type conversion is done.
143
+ _visited_composed_classes (tuple): This stores a tuple of
144
+ classes that we have traveled through so that
145
+ if we see that class again we will not use its
146
+ discriminator again.
147
+ When traveling through a discriminator, the
148
+ composed schema that is
149
+ is traveled through is added to this set.
150
+ For example if Animal has a discriminator
151
+ petType and we pass in "Dog", and the class Dog
152
+ allOf includes Animal, we move through Animal
153
+ once using the discriminator, and pick Dog.
154
+ Then in Dog, we will make an instance of the
155
+ Animal class but this time we won't travel
156
+ through its discriminator because we passed in
157
+ _visited_composed_classes = (Animal,)
158
+ error (Error): [optional] # noqa: E501
159
+ metadata (ResponseMetadata): [optional] # noqa: E501
160
+ signed_download_url (str): [optional] # noqa: E501
161
+ signed_upload_url (str): [optional] # noqa: E501
162
+ success (bool): Indicates if API call was successful. [optional] # noqa: E501
163
+ warning (Warning): [optional] # noqa: E501
164
+ """
165
+
166
+ _check_type = kwargs.pop('_check_type', True)
167
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
168
+ _path_to_item = kwargs.pop('_path_to_item', ())
169
+ _configuration = kwargs.pop('_configuration', None)
170
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
171
+
172
+ self = super(OpenApiModel, cls).__new__(cls)
173
+
174
+ if args:
175
+ for arg in args:
176
+ if isinstance(arg, dict):
177
+ kwargs.update(arg)
178
+ else:
179
+ raise ApiTypeError(
180
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
181
+ args,
182
+ self.__class__.__name__,
183
+ ),
184
+ path_to_item=_path_to_item,
185
+ valid_classes=(self.__class__,),
186
+ )
187
+
188
+ self._data_store = {}
189
+ self._check_type = _check_type
190
+ self._spec_property_naming = _spec_property_naming
191
+ self._path_to_item = _path_to_item
192
+ self._configuration = _configuration
193
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
194
+
195
+ for var_name, var_value in kwargs.items():
196
+ if var_name not in self.attribute_map and \
197
+ self._configuration is not None and \
198
+ self._configuration.discard_unknown_keys and \
199
+ self.additional_properties_type is None:
200
+ # discard variable.
201
+ continue
202
+ setattr(self, var_name, var_value)
203
+ return self
204
+
205
+ required_properties = set([
206
+ '_data_store',
207
+ '_check_type',
208
+ '_spec_property_naming',
209
+ '_path_to_item',
210
+ '_configuration',
211
+ '_visited_composed_classes',
212
+ ])
213
+
214
+ @convert_js_args_to_python_args
215
+ def __init__(self, *args, **kwargs): # noqa: E501
216
+ """CustomReportChartPngUploadResponse - a model defined in OpenAPI
217
+
218
+ Keyword Args:
219
+ _check_type (bool): if True, values for parameters in openapi_types
220
+ will be type checked and a TypeError will be
221
+ raised if the wrong type is input.
222
+ Defaults to True
223
+ _path_to_item (tuple/list): This is a list of keys or values to
224
+ drill down to the model in received_data
225
+ when deserializing a response
226
+ _spec_property_naming (bool): True if the variable names in the input data
227
+ are serialized names, as specified in the OpenAPI document.
228
+ False if the variable names in the input data
229
+ are pythonic names, e.g. snake case (default)
230
+ _configuration (Configuration): the instance to use when
231
+ deserializing a file_type parameter.
232
+ If passed, type conversion is attempted
233
+ If omitted no type conversion is done.
234
+ _visited_composed_classes (tuple): This stores a tuple of
235
+ classes that we have traveled through so that
236
+ if we see that class again we will not use its
237
+ discriminator again.
238
+ When traveling through a discriminator, the
239
+ composed schema that is
240
+ is traveled through is added to this set.
241
+ For example if Animal has a discriminator
242
+ petType and we pass in "Dog", and the class Dog
243
+ allOf includes Animal, we move through Animal
244
+ once using the discriminator, and pick Dog.
245
+ Then in Dog, we will make an instance of the
246
+ Animal class but this time we won't travel
247
+ through its discriminator because we passed in
248
+ _visited_composed_classes = (Animal,)
249
+ error (Error): [optional] # noqa: E501
250
+ metadata (ResponseMetadata): [optional] # noqa: E501
251
+ signed_download_url (str): [optional] # noqa: E501
252
+ signed_upload_url (str): [optional] # noqa: E501
253
+ success (bool): Indicates if API call was successful. [optional] # noqa: E501
254
+ warning (Warning): [optional] # noqa: E501
255
+ """
256
+
257
+ _check_type = kwargs.pop('_check_type', True)
258
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
259
+ _path_to_item = kwargs.pop('_path_to_item', ())
260
+ _configuration = kwargs.pop('_configuration', None)
261
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
262
+
263
+ if args:
264
+ for arg in args:
265
+ if isinstance(arg, dict):
266
+ kwargs.update(arg)
267
+ else:
268
+ raise ApiTypeError(
269
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
270
+ args,
271
+ self.__class__.__name__,
272
+ ),
273
+ path_to_item=_path_to_item,
274
+ valid_classes=(self.__class__,),
275
+ )
276
+
277
+ self._data_store = {}
278
+ self._check_type = _check_type
279
+ self._spec_property_naming = _spec_property_naming
280
+ self._path_to_item = _path_to_item
281
+ self._configuration = _configuration
282
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
283
+
284
+ for var_name, var_value in kwargs.items():
285
+ if var_name not in self.attribute_map and \
286
+ self._configuration is not None and \
287
+ self._configuration.discard_unknown_keys and \
288
+ self.additional_properties_type is None:
289
+ # discard variable.
290
+ continue
291
+ setattr(self, var_name, var_value)
292
+ if var_name in self.read_only_vars:
293
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
294
+ f"class with read only attributes.")
@@ -108,6 +108,8 @@ class EmailCampaign(ModelNormal):
108
108
  'name': (str,), # noqa: E501
109
109
  'open_rate_formatted': (str,), # noqa: E501
110
110
  'prevent_sending_due_to_spam': (bool,), # noqa: E501
111
+ 'repeat_monthly': (bool,), # noqa: E501
112
+ 'repeat_weekly': (bool,), # noqa: E501
111
113
  'revenue_formatted': (str,), # noqa: E501
112
114
  'revenue_per_customer_formatted': (str,), # noqa: E501
113
115
  'scheduled_dts': (str,), # noqa: E501
@@ -142,6 +144,8 @@ class EmailCampaign(ModelNormal):
142
144
  'name': 'name', # noqa: E501
143
145
  'open_rate_formatted': 'open_rate_formatted', # noqa: E501
144
146
  'prevent_sending_due_to_spam': 'prevent_sending_due_to_spam', # noqa: E501
147
+ 'repeat_monthly': 'repeat_monthly', # noqa: E501
148
+ 'repeat_weekly': 'repeat_weekly', # noqa: E501
145
149
  'revenue_formatted': 'revenue_formatted', # noqa: E501
146
150
  'revenue_per_customer_formatted': 'revenue_per_customer_formatted', # noqa: E501
147
151
  'scheduled_dts': 'scheduled_dts', # noqa: E501
@@ -211,6 +215,8 @@ class EmailCampaign(ModelNormal):
211
215
  name (str): Name of email campaign. [optional] # noqa: E501
212
216
  open_rate_formatted (str): Open rate of emails. [optional] # noqa: E501
213
217
  prevent_sending_due_to_spam (bool): True if this campaign is prevented from sending at this time due to spam complaints.. [optional] # noqa: E501
218
+ repeat_monthly (bool): True if the campaign should repeat on a monthly basis. [optional] # noqa: E501
219
+ repeat_weekly (bool): True if the campaign should repeat on a weekly basis. [optional] # noqa: E501
214
220
  revenue_formatted (str): Revenue associated with campaign. [optional] # noqa: E501
215
221
  revenue_per_customer_formatted (str): Revenue per customer associated with campaign. [optional] # noqa: E501
216
222
  scheduled_dts (str): Scheduled date. [optional] # noqa: E501
@@ -322,6 +328,8 @@ class EmailCampaign(ModelNormal):
322
328
  name (str): Name of email campaign. [optional] # noqa: E501
323
329
  open_rate_formatted (str): Open rate of emails. [optional] # noqa: E501
324
330
  prevent_sending_due_to_spam (bool): True if this campaign is prevented from sending at this time due to spam complaints.. [optional] # noqa: E501
331
+ repeat_monthly (bool): True if the campaign should repeat on a monthly basis. [optional] # noqa: E501
332
+ repeat_weekly (bool): True if the campaign should repeat on a weekly basis. [optional] # noqa: E501
325
333
  revenue_formatted (str): Revenue associated with campaign. [optional] # noqa: E501
326
334
  revenue_per_customer_formatted (str): Revenue per customer associated with campaign. [optional] # noqa: E501
327
335
  scheduled_dts (str): Scheduled date. [optional] # noqa: E501
@@ -145,7 +145,7 @@ class ItemTag(ModelNormal):
145
145
  Animal class but this time we won't travel
146
146
  through its discriminator because we passed in
147
147
  _visited_composed_classes = (Animal,)
148
- tag_type (str): tag_tpe. [optional] # noqa: E501
148
+ tag_type (str): tag_type. [optional] # noqa: E501
149
149
  tag_value (str): tag_value. [optional] # noqa: E501
150
150
  """
151
151
 
@@ -232,7 +232,7 @@ class ItemTag(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
- tag_type (str): tag_tpe. [optional] # noqa: E501
235
+ tag_type (str): tag_type. [optional] # noqa: E501
236
236
  tag_value (str): tag_value. [optional] # noqa: E501
237
237
  """
238
238
 
@@ -88,6 +88,8 @@ class OrderPayment(ModelNormal):
88
88
  'EBAY': "eBay",
89
89
  'ECHECK': "eCheck",
90
90
  'GOOGLE_SHOPPING': "Google Shopping",
91
+ 'GOLDBELLY': "Goldbelly",
92
+ 'GOHIGHLEVEL': "GoHighLevel",
91
93
  'INSURANCE': "Insurance",
92
94
  'LINK': "Link",
93
95
  'LOANHERO': "LoanHero",
@@ -30,12 +30,8 @@ from ultracart.model_utils import ( # noqa: F401
30
30
  from ultracart.exceptions import ApiAttributeError
31
31
 
32
32
 
33
- def lazy_import():
34
- from ultracart.model.order import Order
35
- globals()['Order'] = Order
36
33
 
37
-
38
- class ChargebackDispute(ModelNormal):
34
+ class ReplaceOrderItemIdRequest(ModelNormal):
39
35
  """NOTE: This class is auto generated by OpenAPI Generator.
40
36
  Ref: https://openapi-generator.tech
41
37
 
@@ -63,48 +59,12 @@ class ChargebackDispute(ModelNormal):
63
59
  }
64
60
 
65
61
  validations = {
66
- ('account_number',): {
67
- 'max_length': 50,
68
- },
69
- ('auth_code',): {
62
+ ('merchant_item_id',): {
70
63
  'max_length': 20,
71
64
  },
72
- ('case_number',): {
73
- 'max_length': 50,
74
- },
75
- ('currency',): {
76
- 'max_length': 10,
77
- },
78
- ('encryption_key',): {
79
- 'max_length': 100,
80
- },
81
- ('fax_failure_reason',): {
82
- 'max_length': 250,
83
- },
84
- ('fax_number',): {
65
+ ('replacement_merchant_item_id',): {
85
66
  'max_length': 20,
86
67
  },
87
- ('icsid',): {
88
- 'max_length': 50,
89
- },
90
- ('order_id',): {
91
- 'max_length': 30,
92
- },
93
- ('partial_card_number',): {
94
- 'max_length': 20,
95
- },
96
- ('pdf_file_oid',): {
97
- 'max_length': 32,
98
- },
99
- ('reason_code',): {
100
- 'max_length': 70,
101
- },
102
- ('status',): {
103
- 'max_length': 20,
104
- },
105
- ('website_url',): {
106
- 'max_length': 250,
107
- },
108
68
  }
109
69
 
110
70
  @cached_property
@@ -113,7 +73,6 @@ class ChargebackDispute(ModelNormal):
113
73
  This must be a method because a model may have properties that are
114
74
  of type self, this must run after the class is loaded
115
75
  """
116
- lazy_import()
117
76
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
118
77
 
119
78
  _nullable = False
@@ -128,31 +87,11 @@ class ChargebackDispute(ModelNormal):
128
87
  openapi_types (dict): The key is attribute name
129
88
  and the value is attribute type.
130
89
  """
131
- lazy_import()
132
90
  return {
133
- 'account_number': (str,), # noqa: E501
134
- 'adjustment_request_text': (str,), # noqa: E501
135
- 'amount': (float,), # noqa: E501
136
- 'auth_code': (str,), # noqa: E501
137
- 'case_number': (str,), # noqa: E501
138
- 'chargeback_dispute_oid': (int,), # noqa: E501
139
- 'chargeback_dts': (str,), # noqa: E501
140
- 'currency': (str,), # noqa: E501
141
- 'customer_care_notes': (str,), # noqa: E501
142
- 'encryption_key': (str,), # noqa: E501
143
- 'expiration_dts': (str,), # noqa: E501
144
- 'fax_failure_reason': (str,), # noqa: E501
145
- 'fax_number': (str,), # noqa: E501
146
- 'fax_transaction_id': (int,), # noqa: E501
147
- 'icsid': (str,), # noqa: E501
148
- 'merchant_account_profile_oid': (int,), # noqa: E501
149
- 'order': (Order,), # noqa: E501
91
+ 'item_index': (int,), # noqa: E501
92
+ 'merchant_item_id': (str,), # noqa: E501
150
93
  'order_id': (str,), # noqa: E501
151
- 'partial_card_number': (str,), # noqa: E501
152
- 'pdf_file_oid': (str,), # noqa: E501
153
- 'reason_code': (str,), # noqa: E501
154
- 'status': (str,), # noqa: E501
155
- 'website_url': (str,), # noqa: E501
94
+ 'replacement_merchant_item_id': (str,), # noqa: E501
156
95
  }
157
96
 
158
97
  @cached_property
@@ -161,29 +100,10 @@ class ChargebackDispute(ModelNormal):
161
100
 
162
101
 
163
102
  attribute_map = {
164
- 'account_number': 'account_number', # noqa: E501
165
- 'adjustment_request_text': 'adjustment_request_text', # noqa: E501
166
- 'amount': 'amount', # noqa: E501
167
- 'auth_code': 'auth_code', # noqa: E501
168
- 'case_number': 'case_number', # noqa: E501
169
- 'chargeback_dispute_oid': 'chargeback_dispute_oid', # noqa: E501
170
- 'chargeback_dts': 'chargeback_dts', # noqa: E501
171
- 'currency': 'currency', # noqa: E501
172
- 'customer_care_notes': 'customer_care_notes', # noqa: E501
173
- 'encryption_key': 'encryption_key', # noqa: E501
174
- 'expiration_dts': 'expiration_dts', # noqa: E501
175
- 'fax_failure_reason': 'fax_failure_reason', # noqa: E501
176
- 'fax_number': 'fax_number', # noqa: E501
177
- 'fax_transaction_id': 'fax_transaction_id', # noqa: E501
178
- 'icsid': 'icsid', # noqa: E501
179
- 'merchant_account_profile_oid': 'merchant_account_profile_oid', # noqa: E501
180
- 'order': 'order', # noqa: E501
103
+ 'item_index': 'item_index', # noqa: E501
104
+ 'merchant_item_id': 'merchant_item_id', # noqa: E501
181
105
  'order_id': 'order_id', # noqa: E501
182
- 'partial_card_number': 'partial_card_number', # noqa: E501
183
- 'pdf_file_oid': 'pdf_file_oid', # noqa: E501
184
- 'reason_code': 'reason_code', # noqa: E501
185
- 'status': 'status', # noqa: E501
186
- 'website_url': 'website_url', # noqa: E501
106
+ 'replacement_merchant_item_id': 'replacement_merchant_item_id', # noqa: E501
187
107
  }
188
108
 
189
109
  read_only_vars = {
@@ -194,7 +114,7 @@ class ChargebackDispute(ModelNormal):
194
114
  @classmethod
195
115
  @convert_js_args_to_python_args
196
116
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
197
- """ChargebackDispute - a model defined in OpenAPI
117
+ """ReplaceOrderItemIdRequest - a model defined in OpenAPI
198
118
 
199
119
  Keyword Args:
200
120
  _check_type (bool): if True, values for parameters in openapi_types
@@ -227,29 +147,10 @@ class ChargebackDispute(ModelNormal):
227
147
  Animal class but this time we won't travel
228
148
  through its discriminator because we passed in
229
149
  _visited_composed_classes = (Animal,)
230
- account_number (str): Account number. [optional] # noqa: E501
231
- adjustment_request_text (str): Adjustment request text. [optional] # noqa: E501
232
- amount (float): Amount. [optional] # noqa: E501
233
- auth_code (str): Auth code. [optional] # noqa: E501
234
- case_number (str): Case number. [optional] # noqa: E501
235
- chargeback_dispute_oid (int): Chargeback Dispute Oid. [optional] # noqa: E501
236
- chargeback_dts (str): Chargeback dts. [optional] # noqa: E501
237
- currency (str): Currency. [optional] # noqa: E501
238
- customer_care_notes (str): Customer care notes. [optional] # noqa: E501
239
- encryption_key (str): Encryption key. [optional] # noqa: E501
240
- expiration_dts (str): Expiration Dts. [optional] # noqa: E501
241
- fax_failure_reason (str): Fax failure reason. [optional] # noqa: E501
242
- fax_number (str): Fax number. [optional] # noqa: E501
243
- fax_transaction_id (int): Fax transaction id. [optional] # noqa: E501
244
- icsid (str): icsid. [optional] # noqa: E501
245
- merchant_account_profile_oid (int): Merchant account profile oid. [optional] # noqa: E501
246
- order (Order): [optional] # noqa: E501
247
- order_id (str): Order Id. [optional] # noqa: E501
248
- partial_card_number (str): Partial card number. [optional] # noqa: E501
249
- pdf_file_oid (str): PDF file oid. [optional] # noqa: E501
250
- reason_code (str): Reason code. [optional] # noqa: E501
251
- status (str): Status. [optional] # noqa: E501
252
- website_url (str): Website URL. [optional] # noqa: E501
150
+ item_index (int): Index of the item on the order (one based index). [optional] # noqa: E501
151
+ merchant_item_id (str): Item ID. [optional] # noqa: E501
152
+ order_id (str): Order ID. [optional] # noqa: E501
153
+ replacement_merchant_item_id (str): Replacement Item ID. [optional] # noqa: E501
253
154
  """
254
155
 
255
156
  _check_type = kwargs.pop('_check_type', True)
@@ -302,7 +203,7 @@ class ChargebackDispute(ModelNormal):
302
203
 
303
204
  @convert_js_args_to_python_args
304
205
  def __init__(self, *args, **kwargs): # noqa: E501
305
- """ChargebackDispute - a model defined in OpenAPI
206
+ """ReplaceOrderItemIdRequest - a model defined in OpenAPI
306
207
 
307
208
  Keyword Args:
308
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -335,29 +236,10 @@ class ChargebackDispute(ModelNormal):
335
236
  Animal class but this time we won't travel
336
237
  through its discriminator because we passed in
337
238
  _visited_composed_classes = (Animal,)
338
- account_number (str): Account number. [optional] # noqa: E501
339
- adjustment_request_text (str): Adjustment request text. [optional] # noqa: E501
340
- amount (float): Amount. [optional] # noqa: E501
341
- auth_code (str): Auth code. [optional] # noqa: E501
342
- case_number (str): Case number. [optional] # noqa: E501
343
- chargeback_dispute_oid (int): Chargeback Dispute Oid. [optional] # noqa: E501
344
- chargeback_dts (str): Chargeback dts. [optional] # noqa: E501
345
- currency (str): Currency. [optional] # noqa: E501
346
- customer_care_notes (str): Customer care notes. [optional] # noqa: E501
347
- encryption_key (str): Encryption key. [optional] # noqa: E501
348
- expiration_dts (str): Expiration Dts. [optional] # noqa: E501
349
- fax_failure_reason (str): Fax failure reason. [optional] # noqa: E501
350
- fax_number (str): Fax number. [optional] # noqa: E501
351
- fax_transaction_id (int): Fax transaction id. [optional] # noqa: E501
352
- icsid (str): icsid. [optional] # noqa: E501
353
- merchant_account_profile_oid (int): Merchant account profile oid. [optional] # noqa: E501
354
- order (Order): [optional] # noqa: E501
355
- order_id (str): Order Id. [optional] # noqa: E501
356
- partial_card_number (str): Partial card number. [optional] # noqa: E501
357
- pdf_file_oid (str): PDF file oid. [optional] # noqa: E501
358
- reason_code (str): Reason code. [optional] # noqa: E501
359
- status (str): Status. [optional] # noqa: E501
360
- website_url (str): Website URL. [optional] # noqa: E501
239
+ item_index (int): Index of the item on the order (one based index). [optional] # noqa: E501
240
+ merchant_item_id (str): Item ID. [optional] # noqa: E501
241
+ order_id (str): Order ID. [optional] # noqa: E501
242
+ replacement_merchant_item_id (str): Replacement Item ID. [optional] # noqa: E501
361
243
  """
362
244
 
363
245
  _check_type = kwargs.pop('_check_type', True)