docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PurchaseItemQuantity

    Represents an amount of currency/inventory items associated with a purchase. Each one relates to a single currency/inventory item type (for example 4 swords, 10 gold etc.).

    Inheritance
    object
    PurchaseItemQuantity
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Economy.Model
    Assembly: Unity.Services.Economy.dll
    Syntax
    [Preserve]
    public class PurchaseItemQuantity

    Constructors

    PurchaseItemQuantity()

    Declaration
    [Preserve]
    public PurchaseItemQuantity()

    Fields

    Amount

    Declaration
    [Preserve]
    [JsonRequired]
    [JsonProperty("amount")]
    public int Amount
    Field Value
    Type Description
    int

    Item

    Declaration
    [Preserve]
    [JsonRequired]
    [JsonProperty("itemId")]
    public EconomyReference Item
    Field Value
    Type Description
    EconomyReference
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)