コード例 #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));
 }
コード例 #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));
 }
コード例 #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));
 }
コード例 #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));
 }
コード例 #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));
 }
コード例 #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));
 }