Version: 2017.1

ProductDefinition

class in UnityEngine.Purchasing

Switch to Manual

Description

Minimal product definition, used by apps declaring products for sale.

Variables

enabledThis flag indicates whether a product should be offered for sale. It is controlled through the cloud catalog dashboard.
idUnity IAP product ID. Potentially independent of store IDs.
storeSpecificIdThe ID this product has on a store.
typeThe product type.

Constructors

ProductDefinitionCreate a ProductDefinition with different Store-independent ID and Store-specific ID. Use this when you need to two IDs to be different.

Public Functions

EqualsCompares id properties. Requires obj be a ProductDefinition.
GetHashCodeGets the application-domain-specific hash code of id.