Class ProductCatalogItem
Represents a single product from the product catalog. Each item contains some common fields and some fields that are specific to a particular store.
Inherited Members
Namespace: UnityEngine .Purchasing
Assembly: solution.dll
Syntax
[Serializable]
public class ProductCatalogItem
Fields
Name | Description |
---|---|
apple |
The price tier for the Apple Store. |
default |
The default localized description of the product. |
google |
The price for GooglePlay. |
id | The ID of the item. |
pricing |
The price template for GooglePlay. |
screenshot |
Screenshot path for Apple configuration. |
type | The |
udp |
The price for UDP. |
Properties
Name | Description |
---|---|
Has |
Property that gets whether or not a valid locale is unassigned. |
Next |
Property that gets the next avalaible locale on the list. |
Payouts | Gets the list of payouts for this product. |
all |
Gets all of the |
translated |
Property that gets the translated descriptions. |
Methods
Name | Description |
---|---|
Add |
Adds a default product description, localized to a specific locale. |
Add |
Adds a new payout to the list. |
Clone() | Creates a copy of this object. |
Get |
Gets the product description, localized to a specific locale. |
Get |
Gets the product description, localized to a specific locale, or adds a default one if it's not already set. |
Get |
Gets the store id by name. |
Remove |
Removes a product description, localized to a specific locale. |
Remove |
Removes a payout to the list. |
Set |
Assigns or adds the a store for this item by name and id. |
Set |
Assigns or modifies a collection of |