docs.unity3d.com
    Show / Hide Table of Contents

    Class Purchases

    Inheritance
    Object
    Purchases
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Services.Economy
    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
    Type Name Description
    String virtualPurchaseId
    MakeVirtualPurchaseOptions options
    Returns
    Type Description
    Task<MakeVirtualPurchaseResult>

    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
    Type Name Description
    Purchases.RedeemAppleAppStorePurchaseArgs args
    Returns
    Type Description
    Task<RedeemAppleAppStorePurchaseResult>

    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
    Type Name Description
    Purchases.RedeemGooglePlayStorePurchaseArgs args
    Returns
    Type Description
    Task<RedeemGooglePlayPurchaseResult>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023