Class CurrencyExchangeItem
CurrencyExchangeItem
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: solution.dll
Syntax
[Preserve]
public class CurrencyExchangeItem
Constructors
CurrencyExchangeItem(string, long)
Initializes a new instance of the CurrencyExchangeItem class.
Declaration
[Preserve]
public CurrencyExchangeItem(string id = null, long amount = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | ID of the currency. (required). |
| long | amount | Amount of currency added or deducted. (required). |
Properties
Amount
Amount of currency added or deducted.
Declaration
[Preserve]
public long Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| long | Amount of currency added or deducted. |
Id
ID of the currency.
Declaration
[Preserve]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | ID of the currency. |