docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IapItem

    IapItem is the representation of a purchasable product from the UDP store

    Inheritance
    object
    IapItem
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Purchasing
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class IapItem

    Fields

    Name Description
    consumable

    Is product a consumable type. If set to false it is a subscriptions. Consumables may be purchased more than once. Subscriptions have a finite window of validity.

    id

    A unique identifier to identify the product.

    masterItemSlug

    The organization url stripped of all unsafe characters.

    name

    The product name.

    ownerId

    The organization id.

    ownerType

    The organization type.

    priceSets

    The product's prices with currencies.

    properties

    The properties of the product.

    slug

    The product url stripped of all unsafe characters.

    status

    The product status.

    type

    The product type.

    Methods

    Name Description
    ValidationCheck()

    Validates that the IapItem has at least the minimum amount of information set.

    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