text
stringlengths 0
828
|
---|
:param str payment_token_id: ID of paymentToken to return (required) |
:return: PaymentToken |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._get_payment_token_by_id_with_http_info(payment_token_id, **kwargs) |
else: |
(data) = cls._get_payment_token_by_id_with_http_info(payment_token_id, **kwargs) |
return data" |
4789,"def list_all_payment_tokens(cls, **kwargs): |
""""""List PaymentTokens |
Return a list of PaymentTokens |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.list_all_payment_tokens(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[PaymentToken] |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._list_all_payment_tokens_with_http_info(**kwargs) |
else: |
(data) = cls._list_all_payment_tokens_with_http_info(**kwargs) |
return data" |
4790,"def replace_payment_token_by_id(cls, payment_token_id, payment_token, **kwargs): |
""""""Replace PaymentToken |
Replace all attributes of PaymentToken |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.replace_payment_token_by_id(payment_token_id, payment_token, async=True) |
>>> result = thread.get() |
:param async bool |
:param str payment_token_id: ID of paymentToken to replace (required) |
:param PaymentToken payment_token: Attributes of paymentToken to replace (required) |
:return: PaymentToken |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._replace_payment_token_by_id_with_http_info(payment_token_id, payment_token, **kwargs) |
else: |
(data) = cls._replace_payment_token_by_id_with_http_info(payment_token_id, payment_token, **kwargs) |
return data" |
4791,"def update_payment_token_by_id(cls, payment_token_id, payment_token, **kwargs): |
""""""Update PaymentToken |
Update attributes of PaymentToken |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.update_payment_token_by_id(payment_token_id, payment_token, async=True) |
>>> result = thread.get() |
:param async bool |
:param str payment_token_id: ID of paymentToken to update. (required) |
:param PaymentToken payment_token: Attributes of paymentToken to update. (required) |
:return: PaymentToken |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._update_payment_token_by_id_with_http_info(payment_token_id, payment_token, **kwargs) |
else: |
(data) = cls._update_payment_token_by_id_with_http_info(payment_token_id, payment_token, **kwargs) |
return data" |
4792,"def split_in_columns(filterform, fields_per_column=None): |
''' |
Return iterator that yields a column (iterator too). |
By default, flat field list is divided in columns with |
fields_per_column elements in each (fields_per_column is a |
class attribute). |
''' |
nfields = len(filterform.fields) |
if fields_per_column is None: |
fields_per_column = filterform.fields_per_column |
ncolumns, tail = divmod(nfields, fields_per_column) |
if tail > 0: |
ncolumns += 1 |
itr = iter(filterform) |
for _i in range(ncolumns): |
yield itertools.islice(itr, fields_per_column)" |
4793,"def dispatch_event(self, event: ""Event"") -> None: |
"""""" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.