Stripe.BankAccountService.ListAsync C# (CSharp) Method

ListAsync() public method

public ListAsync ( string customerId, StripeListOptions listOptions = null, Stripe.StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
customerId string
listOptions StripeListOptions
requestOptions Stripe.StripeRequestOptions
cancellationToken CancellationToken
return Task>
        public virtual async Task<IEnumerable<CustomerBankAccount>> ListAsync(string customerId, StripeListOptions listOptions = null, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
        {
            return Mapper<CustomerBankAccount>.MapCollectionFromJson(
                await Requestor.GetStringAsync(
                    this.ApplyAllParameters(listOptions, $"{Urls.BaseUrl}/customers/{customerId}/bank_accounts", true),
                    SetupRequestOptions(requestOptions),
                    cancellationToken
                )
            );
        }