docs.unity3d.com
    目次を表示する/隠す

    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
    Syntax
    [Serializable]
    public class IapItem

    Fields

    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.

    Declaration
    public bool consumable
    Field Value
    Type Description
    Boolean

    id

    A unique identifier to identify the product.

    Declaration
    public string id
    Field Value
    Type Description
    String

    masterItemSlug

    The organization url stripped of all unsafe characters.

    Declaration
    public string masterItemSlug
    Field Value
    Type Description
    String

    name

    The product name.

    Declaration
    public string name
    Field Value
    Type Description
    String

    ownerId

    The organization id.

    Declaration
    public string ownerId
    Field Value
    Type Description
    String

    ownerType

    The organization type.

    Declaration
    public string ownerType
    Field Value
    Type Description
    String

    priceSets

    The product's prices with currencies.

    Declaration
    public PriceSets priceSets
    Field Value
    Type Description
    PriceSets

    properties

    The properties of the product.

    Declaration
    public Properties properties
    Field Value
    Type Description
    Properties

    slug

    The product url stripped of all unsafe characters.

    Declaration
    public string slug
    Field Value
    Type Description
    String

    status

    The product status.

    Declaration
    public string status
    Field Value
    Type Description
    String

    type

    The product type.

    Declaration
    public string type
    Field Value
    Type Description
    String

    Methods

    ValidationCheck()

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

    Declaration
    public string ValidationCheck()
    Returns
    Type Description
    String

    A string error of missing information to the IapItem.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)