public virtual InvoiceItem Update(string id, InvoiceItemUpdateOptions options, RequestOptions requestOptions = null)
 {
     return(this.UpdateEntity(id, options, requestOptions));
 }
Пример #2
0
 public virtual IEnumerable <Payout> ListAutoPaging(PayoutListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntitiesAutoPaging(options, requestOptions));
 }
Пример #3
0
 public virtual Payout Update(string id, PayoutUpdateOptions options, RequestOptions requestOptions = null)
 {
     return(this.UpdateEntity(id, options, requestOptions));
 }
Пример #4
0
 public virtual Task <Payout> CreateAsync(PayoutCreateOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.CreateEntityAsync(options, requestOptions, cancellationToken));
 }
Пример #5
0
 public virtual StripeList <Payout> List(PayoutListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }
Пример #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));
 }
Пример #7
0
 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));
 }
Пример #10
0
 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));
 }
Пример #12
0
 public virtual StripeList <ApplicationFee> List(ApplicationFeeListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }
Пример #13
0
 public virtual Task <ApplicationFee> GetAsync(string id, ApplicationFeeGetOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.GetEntityAsync(id, options, requestOptions, cancellationToken));
 }
Пример #14
0
 public virtual ApplicationFee Get(string id, ApplicationFeeGetOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.GetEntity(id, options, requestOptions));
 }
Пример #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));
 }
Пример #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));
 }
Пример #19
0
 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));
 }
Пример #21
0
 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));
 }
Пример #23
0
 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));
 }
Пример #25
0
 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));
 }
Пример #27
0
 public virtual IAsyncEnumerable <Payout> ListAutoPagingAsync(PayoutListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListEntitiesAutoPagingAsync(options, requestOptions, cancellationToken));
 }
Пример #28
0
 public virtual Discount DeleteCustomerDiscount(string customerId, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Delete, $"/v1/customers/{customerId}/discount", null, requestOptions));
 }
Пример #29
0
 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));
 }