def replace_payment_card_by_id(cls, payment_card_id, payment_card, **kwargs):
        """Replace PaymentCard

        Replace all attributes of PaymentCard
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_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 replace (required)
        :param PaymentCard payment_card: Attributes of paymentCard to replace (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._replace_payment_card_by_id_with_http_info(payment_card_id, payment_card, **kwargs)
        else:
            (data) = cls._replace_payment_card_by_id_with_http_info(payment_card_id, payment_card, **kwargs)
            return data
def replace_payment_card_by_id ( cls , payment_card_id , payment_card , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async' ) : return cls . _replace_payment_card_by_id_with_http_info ( payment_card_id , payment_card , ** kwargs ) else : ( data ) = cls . _replace_payment_card_by_id_with_http_info ( payment_card_id , payment_card , ** kwargs ) return data
Replace PaymentCard

        Replace all attributes of PaymentCard
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.replace_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 replace (required)
        :param PaymentCard payment_card: Attributes of paymentCard to replace (required)
        :return: PaymentCard
                 If the method is called asynchronously,
                 returns the request thread.