Method GetCurrenciesAsync
GetCurrenciesAsync()
Gets the Currencies that have been configured and published in the Unity Dashboard.
Declaration
[Obsolete("GetCurrenciesAsync has been replaced by first caching your configuration using SyncConfigurationAsync and then using the GetCurrencies method. This API will be removed in an upcoming release.", false)]
Task<List<CurrencyDefinition>> GetCurrenciesAsync()
Returns
Type | Description |
---|---|
Task<List<CurrencyDefinition>> | A list of CurrencyDefinition |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |