v3.1.2
2020.3+
Class CurrencyExchangeItem
Represents a currency that was part of a purchase.
Namespace: Unity.Services.Economy.Model
Syntax
[Preserve]
public class CurrencyExchangeItem
Constructors
CurrencyExchangeItem(String, Int32)
Declaration
[Preserve]
public CurrencyExchangeItem(string id, int amount)
Parameters
Type | Name | Description |
---|---|---|
String | id | |
Int32 | amount |
Fields
Amount
The amount of this currency that was used/rewarded in the purchase.
Declaration
[Preserve]
public int Amount
Field Value
Type | Description |
---|---|
Int32 |
Id
The ID of the currency.
Declaration
[Preserve]
public string Id
Field Value
Type | Description |
---|---|
String |