Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.Purchasing
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseMinimal product definition, used by apps declaring products for sale.
id | Unity IAP product ID. Potentially independent of store IDs. |
storeSpecificId | The ID this product has on a store. |
type | The product type. |
ProductDefinition | Create a ProductDefinition with different Store-independent ID and Store-specific ID. |
Equals | Compares id properties. Requires obj be a ProductDefinition. |
GetHashCode | Gets the application-domain-specific hash code of id. |