docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProductInfo

    Describes parameters of the product returned by QueryInventory.

    Inheritance
    object
    ProductInfo
    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 ProductInfo

    Constructors

    ProductInfo()

    Declaration
    public ProductInfo()

    Properties

    Consumable

    Indicates whether or not the product is consumable.

    Declaration
    public bool Consumable { get; set; }
    Property Value
    Type Description
    bool

    Currency

    Currency of product.

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

    Description

    Description of product.

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

    ItemType

    Type of product.

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

    Price

    Price of product.

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

    PriceAmountMicros

    Micro price of product, defined as price * 1000000.

    Declaration
    public long PriceAmountMicros { get; set; }
    Property Value
    Type Description
    long

    ProductId

    Unique ID of product.

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

    Title

    Product title.

    Declaration
    public string Title { 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)