Class PlayerPurchaseVirtualRequest
PlayerPurchaseVirtualRequest
Inherited Members
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. |