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