Пример #1
0
 public virtual Task <Invoice> UpcomingAsync(UpcomingInvoiceOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.RequestAsync(HttpMethod.Get, $"{this.InstanceUrl("upcoming")}", options, requestOptions, cancellationToken));
 }
Пример #2
0
 public virtual Invoice Upcoming(UpcomingInvoiceOptions options, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Get, $"{this.InstanceUrl("upcoming")}", options, requestOptions));
 }
Пример #3
0
 public virtual Invoice Upcoming(UpcomingInvoiceOptions options, RequestOptions requestOptions = null)
 {
     return(this.GetRequest <Invoice>($"{this.InstanceUrl("upcoming")}", options, requestOptions, false));
 }
Пример #4
0
 public virtual StripeList <InvoiceLineItem> ListUpcomingLineItems(UpcomingInvoiceOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.GetRequest <StripeList <InvoiceLineItem> >($"{this.InstanceUrl("upcoming")}/lines", options, requestOptions, true));
 }
Пример #5
0
 public virtual Task <StripeList <InvoiceLineItem> > ListUpcomingLineItemsAsync(UpcomingInvoiceOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.GetRequestAsync <StripeList <InvoiceLineItem> >($"{this.InstanceUrl("upcoming")}/lines", options, requestOptions, true, cancellationToken));
 }