Stripe.StripeRefundService.Update C# (CSharp) Method

Update() public method

public Update ( string refundId, Stripe.StripeRefundUpdateOptions updateOptions, Stripe.StripeRequestOptions requestOptions = null ) : Stripe.StripeRefund
refundId string
updateOptions Stripe.StripeRefundUpdateOptions
requestOptions Stripe.StripeRequestOptions
return Stripe.StripeRefund
        public virtual StripeRefund Update(string refundId, StripeRefundUpdateOptions updateOptions, StripeRequestOptions requestOptions = null)
        {
            return Mapper<StripeRefund>.MapFromJson(
                Requestor.PostString(
                    this.ApplyAllParameters(updateOptions, $"{Urls.BaseUrl}/refunds/{refundId}"),
                    SetupRequestOptions(requestOptions)
                )
            );
        }