def list_all_cash_on_delivery_payments(cls, **kwargs):
        """List CashOnDeliveryPayments

        Return a list of CashOnDeliveryPayments
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.list_all_cash_on_delivery_payments(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[CashOnDeliveryPayment]
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._list_all_cash_on_delivery_payments_with_http_info(**kwargs)
        else:
            (data) = cls._list_all_cash_on_delivery_payments_with_http_info(**kwargs)
            return data
def list_all_cash_on_delivery_payments ( cls , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async' ) : return cls . _list_all_cash_on_delivery_payments_with_http_info ( ** kwargs ) else : ( data ) = cls . _list_all_cash_on_delivery_payments_with_http_info ( ** kwargs ) return data
List CashOnDeliveryPayments

        Return a list of CashOnDeliveryPayments
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.list_all_cash_on_delivery_payments(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[CashOnDeliveryPayment]
                 If the method is called asynchronously,
                 returns the request thread.