public virtual Transaction Update(string transactionId, TransactionUpdateOptions updateOptions, StripeRequestOptions requestOptions = null)
 {
     return(Mapper <Transaction> .MapFromJson(
                Requestor.PostString(
                    this.ApplyAllParameters(updateOptions, $"{classUrl}/{transactionId}", false),
                    this.SetupRequestOptions(requestOptions))));
 }
 public virtual async Task <Transaction> UpdateAsync(string transactionId, TransactionUpdateOptions updateOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Mapper <Transaction> .MapFromJson(
                await Requestor.PostStringAsync(
                    this.ApplyAllParameters(updateOptions, $"{classUrl}/{transactionId}", false),
                    this.SetupRequestOptions(requestOptions),
                    cancellationToken).ConfigureAwait(false)));
 }
 public virtual Task <Transaction> UpdateAsync(string id, TransactionUpdateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.UpdateEntityAsync(id, options, requestOptions, cancellationToken));
 }
 public virtual Transaction Update(string id, TransactionUpdateOptions options, RequestOptions requestOptions = null)
 {
     return(this.UpdateEntity(id, options, requestOptions));
 }