getFundingSource

abstract suspend fun getFundingSource(id: String, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY): FundingSource?

Get a FundingSource using the id parameter.

Return

The FundingSource associated with the id or null if it could not be found.

Parameters

id

String Identifier of the FundingSource to be retrieved.

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