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 |
---|---|
applePriceTier | The price tier for the Apple Store. |
defaultDescription | The default localized description of the product. |
googlePrice | The price for GooglePlay. |
id | The ID of the item. |
pricingTemplateID | The price template for GooglePlay. |
screenshotPath | Screenshot path for Apple configuration. |
type | The |
udpPrice | The price for UDP. |
Properties
Name | Description |
---|---|
HasAvailableLocale | Property that gets whether or not a valid locale is unassigned. |
NextAvailableLocale | Property that gets the next avalaible locale on the list. |
Payouts | Gets the list of payouts for this product. |
allStoreIDs | Gets all of the |
translatedDescriptions | Property that gets the translated descriptions. |
Methods
Name | Description |
---|---|
AddDescription(TranslationLocale) | Adds a default product description, localized to a specific locale. |
AddPayout() | Adds a new payout to the list. |
Clone() | Creates a copy of this object. |
GetDescription(TranslationLocale) | Gets the product description, localized to a specific locale. |
GetOrCreateDescription(TranslationLocale) | Gets the product description, localized to a specific locale, or adds a default one if it's not already set. |
GetStoreID(string) | Gets the store id by name. |
RemoveDescription(TranslationLocale) | Removes a product description, localized to a specific locale. |
RemovePayout(ProductCatalogPayout) | Removes a payout to the list. |
SetStoreID(string, string) | Assigns or adds the a store for this item by name and id. |
SetStoreIDs(ICollection<StoreID>) | Assigns or modifies a collection of |