Class Purchases#
Syntax#
[Obsolete("The interface provided by Economy.Purchases has been replaced by EconomyService.Instance.Purchases, and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public class Purchases
Methods#
MakeVirtualPurchaseAsync(String, MakeVirtualPurchaseOptions)#
Declaration#
[Obsolete("The interface provided by Economy.Purchases.MakeVirtualPurchaseAsync(string virtualPurchaseId, Services.Economy.MakeVirtualPurchaseOptions options) has been replaced by EconomyService.Instance.Purchases.MakeVirtualPurchaseAsync(string virtualPurchaseId, Services.Economy.MakeVirtualPurchaseOptions options), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public async Task<MakeVirtualPurchaseResult> MakeVirtualPurchaseAsync(string virtualPurchaseId, MakeVirtualPurchaseOptions options = null)
Parameters#
Returns#
RedeemAppleAppStorePurchaseAsync(Purchases.RedeemAppleAppStorePurchaseArgs)#
Declaration#
[Obsolete("The interface provided by Economy.Purchases.RedeemAppleAppStorePurchaseAsync(RedeemAppleAppStorePurchaseArgs args) has been replaced by EconomyService.Instance.Purchases.RedeemAppleAppStorePurchaseAsync(RedeemAppleAppStorePurchaseArgs args), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public async Task<RedeemAppleAppStorePurchaseResult> RedeemAppleAppStorePurchaseAsync(Purchases.RedeemAppleAppStorePurchaseArgs args)
Parameters#
Returns#
RedeemGooglePlayPurchaseAsync(Purchases.RedeemGooglePlayStorePurchaseArgs)#
Declaration#
[Obsolete("The interface provided by Economy.Purchases.RedeemGooglePlayPurchaseAsync(RedeemGooglePlayStorePurchaseArgs args) has been replaced by EconomyService.Instance.Purchases.RedeemGooglePlayPurchaseAsync(RedeemGooglePlayStorePurchaseArgs args), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public async Task<RedeemGooglePlayPurchaseResult> RedeemGooglePlayPurchaseAsync(Purchases.RedeemGooglePlayStorePurchaseArgs args)
Parameters#
Returns#