Method GetRealMoneyPurchase
GetRealMoneyPurchase(string)
Gets a specific real money purchase from the cached config.
Declaration
RealMoneyPurchaseDefinition GetRealMoneyPurchase(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The ID of the real money purchase to fetch. |
Returns
| Type | Description |
|---|---|
| RealMoneyPurchaseDefinition | A RealMoneyPurchaseDefinition or null if the currency doesn't exist. |
Exceptions
| Type | Condition |
|---|---|
| EconomyException | Thrown if request is unsuccessful |