Update StoreCreditPayment

        Update attributes of StoreCreditPayment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_store_credit_payment_by_id(store_credit_payment_id, store_credit_payment, async=True)
        >>> result = thread.get()

        :param async bool
        :param str store_credit_payment_id: ID of storeCreditPayment to update. (required)
        :param StoreCreditPayment store_credit_payment: Attributes of storeCreditPayment to update. (required)
        :return: StoreCreditPayment
                 If the method is called asynchronously,
                 returns the request thread.

def update_store_credit_payment_by_id(cls, store_credit_payment_id, store_credit_payment, **kwargs):
        """Update StoreCreditPayment

        Update attributes of StoreCreditPayment
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_store_credit_payment_by_id(store_credit_payment_id, store_credit_payment, async=True)
        >>> result = thread.get()

        :param async bool
        :param str store_credit_payment_id: ID of storeCreditPayment to update. (required)
        :param StoreCreditPayment store_credit_payment: Attributes of storeCreditPayment to update. (required)
        :return: StoreCreditPayment
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_store_credit_payment_by_id_with_http_info(store_credit_payment_id, store_credit_payment, **kwargs)
        else:
            (data) = cls._update_store_credit_payment_by_id_with_http_info(store_credit_payment_id, store_credit_payment, **kwargs)
            return data