List Orders

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

def list_all_orders(cls, **kwargs):
        """List Orders

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