Class PlayerPurchaseVirtualResponseRewards
Rewards of the purchase.
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "player_purchase_virtual_response_rewards")]
[Preserve]
public class PlayerPurchaseVirtualResponseRewards
Constructors
PlayerPurchaseVirtualResponseRewards(List<CurrencyExchangeItem>, List<InventoryExchangeItem>)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerPurchaseVirtualResponseRewards(List<CurrencyExchangeItem> currency = null, List<InventoryExchangeItem> inventory = null)
Parameters
Type | Name | Description |
---|---|---|
List<Currency |
currency | Currency that was credited in the purchase.. |
List<Inventory |
inventory | Inventory that was credited in the purchase. (required). |
Properties
Currency
Currency that was credited in the purchase.
Declaration
[DataMember(Name = "currency", EmitDefaultValue = false)]
[Preserve]
public List<CurrencyExchangeItem> Currency { get; set; }
Property Value
Type | Description |
---|---|
List<Currency |
Currency that was credited in the purchase. |
Inventory
Inventory that was credited in the purchase.
Declaration
[DataMember(Name = "inventory", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public List<InventoryExchangeItem> Inventory { get; set; }
Property Value
Type | Description |
---|---|
List<Inventory |
Inventory that was credited in the purchase. |