docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Product

    Represents a game's product information.

    Inheritance
    object
    JsObject
    Product
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames.v8
    Assembly: Unity.Meta.InstantGames.Sdk.v8.dll
    Syntax
    public class Product : JsObject

    Constructors

    Product()

    Construct an instance of Product

    Declaration
    public Product()

    Properties

    Description

    The product description

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

    ImageURI

    A link to the product's associated image

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

    Price

    The price of the product

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

    PriceAmount

    The numeric price of a product

    Declaration
    public double PriceAmount { get; }
    Property Value
    Type Description
    double

    PriceCurrencyCode

    The currency code for the product

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

    ProductID

    The product's game-specified identifier

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

    Title

    The title of the product

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