public virtual Dispute Create(DisputeCreateOptions createOptions, StripeRequestOptions requestOptions = null)
 {
     return(Mapper <Dispute> .MapFromJson(
                Requestor.PostString(
                    this.ApplyAllParameters(createOptions, classUrl, false),
                    this.SetupRequestOptions(requestOptions))));
 }
 public virtual async Task <Dispute> CreateAsync(DisputeCreateOptions createOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Mapper <Dispute> .MapFromJson(
                await Requestor.PostStringAsync(
                    this.ApplyAllParameters(createOptions, classUrl, false),
                    this.SetupRequestOptions(requestOptions),
                    cancellationToken).ConfigureAwait(false)));
 }
Esempio n. 3
0
 public virtual Task <Dispute> CreateAsync(DisputeCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.CreateEntityAsync(options, requestOptions, cancellationToken));
 }
Esempio n. 4
0
 public virtual Dispute Create(DisputeCreateOptions options, RequestOptions requestOptions = null)
 {
     return(this.CreateEntity(options, requestOptions));
 }