public GetAsync ( string refundId, Stripe.StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task |
||
refundId | string | |
requestOptions | Stripe.StripeRequestOptions | |
cancellationToken | CancellationToken | |
return | Task |
public virtual async Task<StripeRefund> GetAsync(string refundId, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
{
return Mapper<StripeRefund>.MapFromJson(
await Requestor.GetStringAsync(
this.ApplyAllParameters(null, $"{Urls.BaseUrl}/refunds/{refundId}"),
SetupRequestOptions(requestOptions),
cancellationToken
)
);
}