Exemplo n.º 1
0
 public virtual IAsyncEnumerable <Source> ListAutoPagingAsync(string customerId, SourceListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListRequestAutoPagingAsync <Source>($"/v1/customers/{customerId}/sources", options ?? new SourceListOptions(), requestOptions, cancellationToken));
 }
Exemplo n.º 2
0
 public virtual IEnumerable <Source> ListAutoPaging(string customerId, SourceListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListRequestAutoPaging <Source>($"/v1/customers/{customerId}/sources", options ?? new SourceListOptions(), requestOptions));
 }
Exemplo n.º 3
0
 public virtual Task <StripeList <Source> > ListAsync(string customerId, SourceListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.RequestAsync <StripeList <Source> >(HttpMethod.Get, $"/v1/customers/{customerId}/sources", options ?? new SourceListOptions(), requestOptions, cancellationToken));
 }
Exemplo n.º 4
0
 public virtual StripeList <Source> List(string customerId, SourceListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.Request <StripeList <Source> >(HttpMethod.Get, $"/v1/customers/{customerId}/sources", options ?? new SourceListOptions(), requestOptions));
 }
Exemplo n.º 5
0
 public virtual Task <StripeList <Source> > ListAsync(string customerId, SourceListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.GetRequestAsync <StripeList <Source> >($"{Urls.BaseUrl}/customers/{customerId}/sources", options, requestOptions, true, cancellationToken));
 }
Exemplo n.º 6
0
 public virtual StripeList <Source> List(string customerId, SourceListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.GetRequest <StripeList <Source> >($"{Urls.BaseUrl}/customers/{customerId}/sources", options, requestOptions, true));
 }