public virtual InvoiceItem Update(string id, InvoiceItemUpdateOptions options, RequestOptions requestOptions = null)
 {
     return(this.UpdateEntity(id, options, requestOptions));
 }
 public virtual IEnumerable <Payout> ListAutoPaging(PayoutListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntitiesAutoPaging(options, requestOptions));
 }
 public virtual Payout Update(string id, PayoutUpdateOptions options, RequestOptions requestOptions = null)
 {
     return(this.UpdateEntity(id, options, requestOptions));
 }
 public virtual Task <Payout> CreateAsync(PayoutCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.CreateEntityAsync(options, requestOptions, cancellationToken));
 }
 public virtual StripeList <Payout> List(PayoutListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }
Example #6
0
 public virtual Task <Discount> DeleteSubscriptionDiscountAsync(string subscriptionId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.RequestAsync(HttpMethod.Delete, $"/v1/subscriptions/{subscriptionId}/discount", null, requestOptions, cancellationToken));
 }
 public virtual Task <Payout> CancelAsync(string id, PayoutCancelOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(id)}/cancel", options, requestOptions, cancellationToken));
 }
 public virtual Task <SubscriptionItem> CreateAsync(SubscriptionItemCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.CreateEntityAsync(options, requestOptions, cancellationToken));
 }
 public virtual SubscriptionItem Get(string subscriptionItemId, RequestOptions requestOptions = null)
 {
     return(this.GetEntity(subscriptionItemId, null, requestOptions));
 }
 public virtual IEnumerable <ApplicationFee> ListAutoPaging(ApplicationFeeListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntitiesAutoPaging(options, requestOptions));
 }
 public virtual SubscriptionItem Create(SubscriptionItemCreateOptions options, RequestOptions requestOptions = null)
 {
     return(this.CreateEntity(options, requestOptions));
 }
 public virtual StripeList <ApplicationFee> List(ApplicationFeeListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }
 public virtual Task <ApplicationFee> GetAsync(string id, ApplicationFeeGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.GetEntityAsync(id, options, requestOptions, cancellationToken));
 }
 public virtual ApplicationFee Get(string id, ApplicationFeeGetOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.GetEntity(id, options, requestOptions));
 }
Example #15
0
 public virtual Task <Discount> DeleteCustomerDiscountAsync(string customerId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.RequestAsync(HttpMethod.Delete, $"/v1/customers/{customerId}/discount", null, requestOptions, cancellationToken));
 }
 public virtual Task <SubscriptionItem> GetAsync(string subscriptionItemId, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.GetEntityAsync(subscriptionItemId, null, requestOptions, cancellationToken));
 }
Example #17
0
 public virtual Discount DeleteSubscriptionDiscount(string subscriptionId, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Delete, $"/v1/subscriptions/{subscriptionId}/discount", null, requestOptions));
 }
 public virtual StripeList <SubscriptionItem> List(SubscriptionItemListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }
 public virtual Payout Cancel(string id, PayoutCancelOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Post, $"{this.InstanceUrl(id)}/cancel", options, requestOptions));
 }
 public virtual Task <StripeList <SubscriptionItem> > ListAsync(SubscriptionItemListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.ListEntitiesAsync(options, requestOptions, cancellationToken));
 }
 public virtual Payout Create(PayoutCreateOptions options, RequestOptions requestOptions = null)
 {
     return(this.CreateEntity(options, requestOptions));
 }
 public virtual IEnumerable <SubscriptionItem> ListAutoPaging(SubscriptionItemListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntitiesAutoPaging(options, requestOptions));
 }
 public virtual Payout Get(string id, PayoutGetOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.GetEntity(id, options, requestOptions));
 }
 public virtual SubscriptionItem Update(string subscriptionItemId, SubscriptionItemUpdateOptions options, RequestOptions requestOptions = null)
 {
     return(this.UpdateEntity(subscriptionItemId, options, requestOptions));
 }
 public virtual Task <StripeList <Payout> > ListAsync(PayoutListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListEntitiesAsync(options, requestOptions, cancellationToken));
 }
 public virtual Task <SubscriptionItem> UpdateAsync(string subscriptionItemId, SubscriptionItemUpdateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.UpdateEntityAsync(subscriptionItemId, options, requestOptions, cancellationToken));
 }
 public virtual IAsyncEnumerable <Payout> ListAutoPagingAsync(PayoutListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListEntitiesAutoPagingAsync(options, requestOptions, cancellationToken));
 }
Example #28
0
 public virtual Discount DeleteCustomerDiscount(string customerId, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Delete, $"/v1/customers/{customerId}/discount", null, requestOptions));
 }
 public virtual Task <Payout> UpdateAsync(string id, PayoutUpdateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.UpdateEntityAsync(id, options, requestOptions, cancellationToken));
 }
 public virtual StripeList <InvoiceItem> List(InvoiceItemListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }