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 |
|---|---|
| ProductDescription(string, ProductMetadata) | Parametrized Constructor. Without transaction data. |
| ProductDescription(string, ProductMetadata, string, string) | Parametrized Constructor. With transaction data. |
| ProductDescription(string, ProductMetadata, string, string, ProductType) | 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. |
| storeSpecificId | The store-specific id of this product. |
| transactionId | The transaction id of the purchase of this product. |