Method GetRealMoneyPurchaseAsync
GetRealMoneyPurchaseAsync(string)
Gets a RealMoneyPurchaseDefinition for a specific real money purchase.
Declaration
[Obsolete("GetRealMoneyPurchaseAsync has been replaced by first caching your configuration using SyncConfigurationAsync and then using the GetRealMoneyPurchase method. This API will be removed in an upcoming release.", false)]
Task<RealMoneyPurchaseDefinition> GetRealMoneyPurchaseAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The ID of the purchase to retrieve |
Returns
Type | Description |
---|---|
Task<RealMoneyPurchaseDefinition> | A RealMoneyPurchaseDefinition for the specified purchase if it exists, or null otherwise. |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |