getTransaction

abstract suspend fun getTransaction(id: String, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY): Transaction?

Get a Transaction using the id parameter.

Parameters

id

String Identifier of the Transaction 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