docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PurchaseInfo

    Represents an in-app billing purchase.

    Inheritance
    object
    PurchaseInfo
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: UnityEngine.UDP
    Assembly: UDP.dll
    Syntax
    public class PurchaseInfo

    Constructors

    PurchaseInfo()

    Declaration
    public PurchaseInfo()

    Properties

    DeveloperPayload

    Any string provided by the developer. UDP will pass this to PartnerStore in the ‘Purchase’ method.

    Declaration
    public string DeveloperPayload { get; set; }
    Property Value
    Type Description
    string

    GameOrderId

    Unique order ID for the transaction.

    Declaration
    public string GameOrderId { get; set; }
    Property Value
    Type Description
    string

    ItemType

    Type of product purchased.

    Declaration
    public string ItemType { get; set; }
    Property Value
    Type Description
    string

    OrderQueryToken

    String containing the signature of the purchase data that was signed with the developer's private key. You can use this to query order status from the UDP server.

    Declaration
    public string OrderQueryToken { get; set; }
    Property Value
    Type Description
    string

    ProductId

    Unique ID of product.

    Declaration
    public string ProductId { get; set; }
    Property Value
    Type Description
    string

    StorePurchaseJsonString

    JSON string containing additional information that the store provides to UDP.

    Declaration
    public string StorePurchaseJsonString { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)