listFundingSources

abstract suspend fun listFundingSources(limit: Int = DEFAULT_FUNDING_SOURCE_LIMIT, nextToken: String? = null, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY): ListOutput<FundingSource>

Get a ListOutput of FundingSources.

If no FundingSources can be found, the ListOutput will contain null for the ListOutput.nextToken field and contain an empty ListOutput.items list.

Return

A list of FundingSources or an empty list if no matching funding sources can be found.

Parameters

limit

Int Maximum number of FundingSources to return. If omitted the limit defaults to 10.

nextToken

String A token generated from previous calls to listFundingSources. This is to allow for pagination. This value should be generated from a previous pagination call, otherwise it will throw an exception. The same arguments should be supplied to this method if using a previously generated nextToken.

cachePolicy

CachePolicy Determines how the data will be fetched. When using CachePolicy.CACHE_ONLY, be aware that this will only return cached results of identical API calls.

Throws