def update_credit_card_payment_by_id(cls, credit_card_payment_id, credit_card_payment, **kwargs):
        """Update CreditCardPayment

        Update attributes of CreditCardPayment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_credit_card_payment_by_id(credit_card_payment_id, credit_card_payment, async=True)
        >>> result = thread.get()

        :param async bool
        :param str credit_card_payment_id: ID of creditCardPayment to update. (required)
        :param CreditCardPayment credit_card_payment: Attributes of creditCardPayment to update. (required)
        :return: CreditCardPayment
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_credit_card_payment_by_id_with_http_info(credit_card_payment_id, credit_card_payment, **kwargs)
        else:
            (data) = cls._update_credit_card_payment_by_id_with_http_info(credit_card_payment_id, credit_card_payment, **kwargs)
            return data
Update CreditCardPayment

        Update attributes of CreditCardPayment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_credit_card_payment_by_id(credit_card_payment_id, credit_card_payment, async=True)
        >>> result = thread.get()

        :param async bool
        :param str credit_card_payment_id: ID of creditCardPayment to update. (required)
        :param CreditCardPayment credit_card_payment: Attributes of creditCardPayment to update. (required)
        :return: CreditCardPayment
                 If the method is called asynchronously,
                 returns the request thread.