Update TaxRate

        Update attributes of TaxRate
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_tax_rate_by_id(tax_rate_id, tax_rate, async=True)
        >>> result = thread.get()

        :param async bool
        :param str tax_rate_id: ID of taxRate to update. (required)
        :param TaxRate tax_rate: Attributes of taxRate to update. (required)
        :return: TaxRate
                 If the method is called asynchronously,
                 returns the request thread.

def update_tax_rate_by_id(cls, tax_rate_id, tax_rate, **kwargs):
        """Update TaxRate

        Update attributes of TaxRate
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_tax_rate_by_id(tax_rate_id, tax_rate, async=True)
        >>> result = thread.get()

        :param async bool
        :param str tax_rate_id: ID of taxRate to update. (required)
        :param TaxRate tax_rate: Attributes of taxRate to update. (required)
        :return: TaxRate
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_tax_rate_by_id_with_http_info(tax_rate_id, tax_rate, **kwargs)
        else:
            (data) = cls._update_tax_rate_by_id_with_http_info(tax_rate_id, tax_rate, **kwargs)
            return data