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.).
Inherited Members
Namespace: Unity.Services.Economy.Model
Assembly: Unity.Services.Economy.dll
Syntax
[Preserve]
public class PurchaseItemQuantity
Constructors
PurchaseItemQuantity()
Creates an instance of PurchaseItemQuantity
Declaration
[Preserve]
public PurchaseItemQuantity()
Fields
Amount
The amount of the purchase
Declaration
[Preserve]
[JsonRequired]
[JsonProperty("amount")]
public int Amount
Field Value
Type | Description |
---|---|
int |
Item
Reference to the item
Declaration
[Preserve]
[JsonRequired]
[JsonProperty("itemId")]
public EconomyReference Item
Field Value
Type | Description |
---|---|
EconomyReference |