text
stringlengths 0
828
|
---|
self.View.resize(self._display_size[0], self._display_size[1])
|
self._display_direction = displayDirection"
|
4840,"def create_tax_class(cls, tax_class, **kwargs):
|
""""""Create TaxClass
|
Create a new TaxClass
|
This method makes a synchronous HTTP request by default. To make an
|
asynchronous HTTP request, please pass async=True
|
>>> thread = api.create_tax_class(tax_class, async=True)
|
>>> result = thread.get()
|
:param async bool
|
:param TaxClass tax_class: Attributes of taxClass to create (required)
|
:return: TaxClass
|
If the method is called asynchronously,
|
returns the request thread.
|
""""""
|
kwargs['_return_http_data_only'] = True
|
if kwargs.get('async'):
|
return cls._create_tax_class_with_http_info(tax_class, **kwargs)
|
else:
|
(data) = cls._create_tax_class_with_http_info(tax_class, **kwargs)
|
return data"
|
4841,"def delete_tax_class_by_id(cls, tax_class_id, **kwargs):
|
""""""Delete TaxClass
|
Delete an instance of TaxClass by its ID.
|
This method makes a synchronous HTTP request by default. To make an
|
asynchronous HTTP request, please pass async=True
|
>>> thread = api.delete_tax_class_by_id(tax_class_id, async=True)
|
>>> result = thread.get()
|
:param async bool
|
:param str tax_class_id: ID of taxClass to delete. (required)
|
:return: None
|
If the method is called asynchronously,
|
returns the request thread.
|
""""""
|
kwargs['_return_http_data_only'] = True
|
if kwargs.get('async'):
|
return cls._delete_tax_class_by_id_with_http_info(tax_class_id, **kwargs)
|
else:
|
(data) = cls._delete_tax_class_by_id_with_http_info(tax_class_id, **kwargs)
|
return data"
|
4842,"def get_tax_class_by_id(cls, tax_class_id, **kwargs):
|
""""""Find TaxClass
|
Return single instance of TaxClass by its ID.
|
This method makes a synchronous HTTP request by default. To make an
|
asynchronous HTTP request, please pass async=True
|
>>> thread = api.get_tax_class_by_id(tax_class_id, async=True)
|
>>> result = thread.get()
|
:param async bool
|
:param str tax_class_id: ID of taxClass to return (required)
|
:return: TaxClass
|
If the method is called asynchronously,
|
returns the request thread.
|
""""""
|
kwargs['_return_http_data_only'] = True
|
if kwargs.get('async'):
|
return cls._get_tax_class_by_id_with_http_info(tax_class_id, **kwargs)
|
else:
|
(data) = cls._get_tax_class_by_id_with_http_info(tax_class_id, **kwargs)
|
return data"
|
4843,"def list_all_tax_classes(cls, **kwargs):
|
""""""List TaxClasses
|
Return a list of TaxClasses
|
This method makes a synchronous HTTP request by default. To make an
|
asynchronous HTTP request, please pass async=True
|
>>> thread = api.list_all_tax_classes(async=True)
|
>>> result = thread.get()
|
:param async bool
|
:param int page: page number
|
:param int size: page size
|
:param str sort: page order
|
:return: page[TaxClass]
|
If the method is called asynchronously,
|
returns the request thread.
|
""""""
|
kwargs['_return_http_data_only'] = True
|
if kwargs.get('async'):
|
return cls._list_all_tax_classes_with_http_info(**kwargs)
|
else:
|
(data) = cls._list_all_tax_classes_with_http_info(**kwargs)
|
return data"
|
4844,"def replace_tax_class_by_id(cls, tax_class_id, tax_class, **kwargs):
|
""""""Replace TaxClass
|
Replace all attributes of TaxClass
|
This method makes a synchronous HTTP request by default. To make an
|
asynchronous HTTP request, please pass async=True
|
>>> thread = api.replace_tax_class_by_id(tax_class_id, tax_class, async=True)
|
>>> result = thread.get()
|
:param async bool
|
:param str tax_class_id: ID of taxClass to replace (required)
|
:param TaxClass tax_class: Attributes of taxClass to replace (required)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.