def update_refund_transaction_by_id(cls, refund_transaction_id, refund_transaction, **kwargs):
        """Update RefundTransaction

        Update attributes of RefundTransaction
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_refund_transaction_by_id(refund_transaction_id, refund_transaction, async=True)
        >>> result = thread.get()

        :param async bool
        :param str refund_transaction_id: ID of refundTransaction to update. (required)
        :param RefundTransaction refund_transaction: Attributes of refundTransaction to update. (required)
        :return: RefundTransaction
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_refund_transaction_by_id_with_http_info(refund_transaction_id, refund_transaction, **kwargs)
        else:
            (data) = cls._update_refund_transaction_by_id_with_http_info(refund_transaction_id, refund_transaction, **kwargs)
            return data