Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }
Esempio 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));
 }