Class Configuration
Inheritance
Configuration
Assembly: Unity.Services.Economy.dll
Syntax
[Obsolete("The interface provided by Economy.Configuration has been replaced by EconomyService.Instance.Configuration, and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public class Configuration
Methods
GetCurrenciesAsync()
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetCurrenciesAsync() has been replaced by EconomyService.Instance.Configuration.GetCurrenciesAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<CurrencyDefinition>> GetCurrenciesAsync()
Returns
GetCurrencyAsync(string)
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetCurrencyAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetCurrencyAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<CurrencyDefinition> GetCurrencyAsync(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetInventoryItemAsync(string)
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetInventoryItemAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetInventoryItemAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<InventoryItemDefinition> GetInventoryItemAsync(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetInventoryItemsAsync()
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetInventoryItemsAsync() has been replaced by EconomyService.Instance.Configuration.GetInventoryItemsAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<InventoryItemDefinition>> GetInventoryItemsAsync()
Returns
GetRealMoneyPurchaseAsync(string)
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetRealMoneyPurchaseAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetRealMoneyPurchaseAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<RealMoneyPurchaseDefinition> GetRealMoneyPurchaseAsync(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetRealMoneyPurchasesAsync()
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetRealMoneyPurchasesAsync() has been replaced by EconomyService.Instance.Configuration.GetRealMoneyPurchasesAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<RealMoneyPurchaseDefinition>> GetRealMoneyPurchasesAsync()
Returns
GetVirtualPurchaseAsync(string)
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetVirtualPurchaseAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetVirtualPurchaseAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<VirtualPurchaseDefinition> GetVirtualPurchaseAsync(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetVirtualPurchasesAsync()
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetVirtualPurchasesAsync() has been replaced by EconomyService.Instance.Configuration.GetVirtualPurchasesAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<VirtualPurchaseDefinition>> GetVirtualPurchasesAsync()
Returns