Class ProductDescription
A common format for store subsystems to use to describe available In App Purchases to UnityPurchasing, including purchase state via Receipt and Transaction Identifiers.
Inherited Members
Namespace: UnityEngine .Purchasing.Extension
Assembly: solution.dll
Syntax
public class ProductDescription
Constructors
Name | Description |
---|---|
Product |
Parametrized Constructor. Without transaction data. |
Product |
Parametrized Constructor. With transaction data. |
Product |
Parametrized Constructor. With the transaction data and type. |
Fields
Name | Description |
---|---|
type | The type of the product, with respect to the store. If this ProductDescription was explicitly queried by Unity IAP then it is not necessary to specify a type since it is already known from the product definition. Otherwise, if this ProductDescription is unknown, type must be correctly so the product can be handled correctly. |
Properties
Name | Description |
---|---|
metadata | The Metadate of the product. Contains store interface information. |
receipt | The receipt provided on product purchase. |
store |
The store-specific id of this product. |
transaction |
The transaction id of the purchase of this product. |