text stringlengths 0 828 |
|---|
>>> result = thread.get() |
:param async bool |
:param StoreCredit store_credit: Attributes of storeCredit to create (required) |
:return: StoreCredit |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._create_store_credit_with_http_info(store_credit, **kwargs) |
else: |
(data) = cls._create_store_credit_with_http_info(store_credit, **kwargs) |
return data" |
4333,"def delete_store_credit_by_id(cls, store_credit_id, **kwargs): |
""""""Delete StoreCredit |
Delete an instance of StoreCredit 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_store_credit_by_id(store_credit_id, async=True) |
>>> result = thread.get() |
:param async bool |
:param str store_credit_id: ID of storeCredit 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_store_credit_by_id_with_http_info(store_credit_id, **kwargs) |
else: |
(data) = cls._delete_store_credit_by_id_with_http_info(store_credit_id, **kwargs) |
return data" |
4334,"def get_store_credit_by_id(cls, store_credit_id, **kwargs): |
""""""Find StoreCredit |
Return single instance of StoreCredit 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_store_credit_by_id(store_credit_id, async=True) |
>>> result = thread.get() |
:param async bool |
:param str store_credit_id: ID of storeCredit to return (required) |
:return: StoreCredit |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._get_store_credit_by_id_with_http_info(store_credit_id, **kwargs) |
else: |
(data) = cls._get_store_credit_by_id_with_http_info(store_credit_id, **kwargs) |
return data" |
4335,"def list_all_store_credits(cls, **kwargs): |
""""""List StoreCredits |
Return a list of StoreCredits |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.list_all_store_credits(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[StoreCredit] |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._list_all_store_credits_with_http_info(**kwargs) |
else: |
(data) = cls._list_all_store_credits_with_http_info(**kwargs) |
return data" |
4336,"def replace_store_credit_by_id(cls, store_credit_id, store_credit, **kwargs): |
""""""Replace StoreCredit |
Replace all attributes of StoreCredit |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.replace_store_credit_by_id(store_credit_id, store_credit, async=True) |
>>> result = thread.get() |
:param async bool |
:param str store_credit_id: ID of storeCredit to replace (required) |
:param StoreCredit store_credit: Attributes of storeCredit to replace (required) |
:return: StoreCredit |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._replace_store_credit_by_id_with_http_info(store_credit_id, store_credit, **kwargs) |
else: |
(data) = cls._replace_store_credit_by_id_with_http_info(store_credit_id, store_credit, **kwargs) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.