Exemplo n.º 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));
 }
Exemplo n.º 2
0
 public virtual Invoice Upcoming(UpcomingInvoiceOptions options, RequestOptions requestOptions = null)
 {
     return(this.Request(HttpMethod.Get, $"{this.InstanceUrl("upcoming")}", options, requestOptions));
 }
Exemplo n.º 3
0
 public virtual Invoice Upcoming(UpcomingInvoiceOptions options, RequestOptions requestOptions = null)
 {
     return(this.GetRequest <Invoice>($"{this.InstanceUrl("upcoming")}", options, requestOptions, false));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }