Update PaymentCard

        Update attributes of PaymentCard
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_payment_card_by_id(payment_card_id, payment_card, async=True)
        >>> result = thread.get()

        :param async bool
        :param str payment_card_id: ID of paymentCard to update. (required)
        :param PaymentCard payment_card: Attributes of paymentCard to update. (required)
        :return: PaymentCard
                 If the method is called asynchronously,
                 returns the request thread.

def update_payment_card_by_id(cls, payment_card_id, payment_card, **kwargs):
        """Update PaymentCard

        Update attributes of PaymentCard
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_payment_card_by_id(payment_card_id, payment_card, async=True)
        >>> result = thread.get()

        :param async bool
        :param str payment_card_id: ID of paymentCard to update. (required)
        :param PaymentCard payment_card: Attributes of paymentCard to update. (required)
        :return: PaymentCard
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_payment_card_by_id_with_http_info(payment_card_id, payment_card, **kwargs)
        else:
            (data) = cls._update_payment_card_by_id_with_http_info(payment_card_id, payment_card, **kwargs)
            return data