Class Product
Represents a game's product information.
Inherited Members
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 |