docs: def replace_credit_card_payment_by_id(cls, credit_card_payment_id, credit_card_payment, **kwargs):
          """Replace CreditCardPayment
  
          Replace all attributes of CreditCardPayment
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async=True
          >>> thread = api.replace_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 replace (required)
          :param CreditCardPayment credit_card_payment: Attributes of creditCardPayment to replace (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._replace_credit_card_payment_by_id_with_http_info(credit_card_payment_id, credit_card_payment, **kwargs)
          else:
              (data) = cls._replace_credit_card_payment_by_id_with_http_info(credit_card_payment_id, credit_card_payment, **kwargs)
              return data