public virtual Task <SubscriptionSchedule> CancelAsync(string id, SubscriptionScheduleCancelOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/cancel", options, requestOptions, cancellationToken));
 }
 public virtual Task <SubscriptionSchedule> CancelAsync(string scheduleId, SubscriptionScheduleCancelOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.PostRequestAsync <SubscriptionSchedule>($"{this.InstanceUrl(scheduleId)}/cancel", options, requestOptions, cancellationToken));
 }
 public virtual SubscriptionSchedule Cancel(string id, SubscriptionScheduleCancelOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/cancel", options, requestOptions));
 }
 public virtual SubscriptionSchedule Cancel(string scheduleId, SubscriptionScheduleCancelOptions options, RequestOptions requestOptions = null)
 {
     return(this.PostRequest <SubscriptionSchedule>($"{this.InstanceUrl(scheduleId)}/cancel", options, requestOptions));
 }