コード例 #1
0
 public virtual IEnumerable <InvoiceLineItem> ListLineItemsAutoPaging(string invoiceId, InvoiceListLineItemsOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListRequestAutoPaging <InvoiceLineItem>($"{this.InstanceUrl(invoiceId)}/lines", options, requestOptions));
 }
コード例 #2
0
 public virtual StripeList <InvoiceLineItem> ListLineItems(string invoiceId, InvoiceListLineItemsOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.Request <StripeList <InvoiceLineItem> >(HttpMethod.Get, $"{this.InstanceUrl(invoiceId)}/lines", options, requestOptions));
 }
コード例 #3
0
 public virtual Task <StripeList <InvoiceLineItem> > ListLineItemsAsync(string invoiceId, InvoiceListLineItemsOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.RequestAsync <StripeList <InvoiceLineItem> >(HttpMethod.Get, $"{this.InstanceUrl(invoiceId)}/lines", options, requestOptions, cancellationToken));
 }
コード例 #4
0
 public virtual IAsyncEnumerable <InvoiceLineItem> ListLineItemsAutoPagingAsync(string invoiceId, InvoiceListLineItemsOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListRequestAutoPagingAsync <InvoiceLineItem>($"{this.InstanceUrl(invoiceId)}/lines", options, requestOptions, cancellationToken));
 }