Class Product
May be purchased as an In App Purchase.
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: solution.dll
Syntax
public class Product
Properties
Name | Description |
---|---|
appleOriginalTransactionID | A unique identifier for this Apple product's original transaction. This will only be set when the Apple product was purchased during this session. |
appleProductIsRestored | Indicates if this Apple product is restored. |
availableToPurchase | Determine if this product is available to purchase according to the store subsystem. This will be false if the product's identifier is unknown, incorrect or otherwise disabled with the store provider (ie Apple, Google et al). If this is false, purchase attempts will immediately fail. |
definition | Basic immutable product properties. |
hasReceipt | Owned Non Consumables and Subscriptions should always have receipts.
Consumable's receipts are not persisted between App restarts unless it has a pending transaction.
Once a consumable has been acknowledged (ConfirmPendingPurchase) the |
metadata | Localized metadata provided by the store system. |
receipt | The purchase receipt for this product, if owned.
For consumable purchases, this will be the most recent purchase receipt.
Consumable's receipts are not set between app restarts unless it has a pending transaction.
Once a consumable has been acknowledged (ConfirmPendingPurchase) the |
transactionID | A unique identifier for this product's transaction.
This will only be set when the product was purchased during this session.
Consumable's transactionID are not set between app restarts unless it has a pending transaction.
Once a consumable has been acknowledged (ConfirmPendingPurchase) the |
Methods
Name | Description |
---|---|
Equals(object) | Check if this product is equal to another. |
GetHashCode() | Get the unique Hash representing the product. |