Ejemplo n.º 1
0
 public virtual IAsyncEnumerable <PaymentMethod> ListPaymentMethodsAutoPagingAsync(string id, CustomerListPaymentMethodsOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListRequestAutoPagingAsync <PaymentMethod>($"{this.InstanceUrl(id)}/payment_methods", options, requestOptions, cancellationToken));
 }
Ejemplo n.º 2
0
 public virtual Task <StripeList <PaymentMethod> > ListPaymentMethodsAsync(string id, CustomerListPaymentMethodsOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.RequestAsync <StripeList <PaymentMethod> >(HttpMethod.Get, $"{this.InstanceUrl(id)}/payment_methods", options, requestOptions, cancellationToken));
 }
Ejemplo n.º 3
0
 public virtual IEnumerable <PaymentMethod> ListPaymentMethodsAutoPaging(string id, CustomerListPaymentMethodsOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListRequestAutoPaging <PaymentMethod>($"{this.InstanceUrl(id)}/payment_methods", options, requestOptions));
 }
Ejemplo n.º 4
0
 public virtual StripeList <PaymentMethod> ListPaymentMethods(string id, CustomerListPaymentMethodsOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.Request <StripeList <PaymentMethod> >(HttpMethod.Get, $"{this.InstanceUrl(id)}/payment_methods", options, requestOptions));
 }