docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerPurchaseVirtualRequest

    PlayerPurchaseVirtualRequest

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

    Constructors

    PlayerPurchaseVirtualRequest(string, List<string>)

    Initializes a new instance of the PlayerPurchaseVirtualRequest class.

    Declaration
    [Preserve]
    public PlayerPurchaseVirtualRequest(string id = null, List<string> playersInventoryItemIds = null)
    Parameters
    Type Name Description
    string id

    ID of the purchase. (required).

    List<string> playersInventoryItemIds

    IDs of the player's inventory items that should be used for any item costs associated with the purchase..

    Properties

    Id

    ID of the purchase.

    Declaration
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    ID of the purchase.

    PlayersInventoryItemIds

    IDs of the player's inventory items that should be used for any item costs associated with the purchase.

    Declaration
    [Preserve]
    public List<string> PlayersInventoryItemIds { get; set; }
    Property Value
    Type Description
    List<string>

    IDs of the player's inventory items that should be used for any item costs associated with the purchase.

    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)