public virtual IEnumerable <InvoiceLineItem> ListLineItemsAutoPaging(string invoiceId, InvoiceListLineItemsOptions options = null, RequestOptions requestOptions = null) { return(this.ListRequestAutoPaging <InvoiceLineItem>($"{this.InstanceUrl(invoiceId)}/lines", options, requestOptions)); }
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)); }
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)); }
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)); }