def list_all_braintree_gateways(cls, **kwargs):
        """List BraintreeGateways

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