LookupsDataProvider
interface LookupsDataProvider
Content copied to clipboard
Data provider containing requests to the "Lookups" endpoints. The lookups endpoints provide information on some API defined user-presentable content:
getLocales - the locales supported by the API for lookups requests
getCurrencies - The currencies supported by the API (document data)
getCategories - The document categories defined by the API (document data)
Functions
getCategories
Link copied to clipboard
abstract suspend fun getCategories(locale: String?): DataProviderResponse<CategoriesResponse>
Content copied to clipboard
getCurrencies
Link copied to clipboard
abstract suspend fun getCurrencies(locale: String?): DataProviderResponse<CurrenciesResponse>
Content copied to clipboard
getLocales
Link copied to clipboard