Class CurrencyExchangeItem
Represents a currency that was part of a purchase.
Namespace: Unity.Services.Economy.Model
Syntax
public class CurrencyExchangeItem : object
Constructors
CurrencyExchangeItem(String, Int32)
Declaration
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
public int Amount
Field Value
| Type | Description |
|---|---|
| Int32 |
Id
The ID of the currency.
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| String |