Class CurrencyItem
Contains information about a currency supported by a brand. Immutable class.
Inheritance
System.Object
CurrencyItem
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class CurrencyItem : object
Constructors
CurrencyItem(String, CurrencyType)
Create CurrencyItem.
Declaration
public CurrencyItem(string currency, CurrencyType currencyType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | currency | |
| CurrencyType | currencyType |
Properties
Currency
Specifies the supported or used currency. String format (e.g. CHF, EUR, GBP, etc.).
Declaration
public string Currency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CurrencyType
Specifies the type of currency.
Declaration
public CurrencyType CurrencyType { get; set; }
Property Value
| Type | Description |
|---|---|
| CurrencyType |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
| Type | Description |
|---|---|
| String |