docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    ProductCatalogItem
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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 ProductType of the item.

    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 StoreIds associated with this item.

    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 StoreIDs associated with this item.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023