Class NSCurrencyEntity
Carrier object for CurrencyEntity.
Constructors
NSCurrencyEntity()
Initializes a new instance of the NSCurrencyEntity class.
Declaration
NSCurrencyEntity Methods
GetCurrencyId()
Declaration
Integer GetCurrencyId() Examples
NSCurrencyEntity thing;
Integer currencyId = thing.GetCurrencyId();
Returns
| Type | Description |
| Integer | Primary key. |
GetDeleted()
Declaration
Bool GetDeleted() Examples
NSCurrencyEntity thing;
Bool deleted = thing.GetDeleted();
Returns
| Type | Description |
| Bool | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists. |
GetName()
Declaration
String GetName() Examples
NSCurrencyEntity thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | The list item. |
GetRank()
Declaration
Integer GetRank() Examples
NSCurrencyEntity thing;
Integer rank = thing.GetRank();
Returns
| Type | Description |
| Integer | Rank order. |
GetRate()
Declaration
Float GetRate() Examples
NSCurrencyEntity thing;
Float rate = thing.GetRate();
Returns
| Type | Description |
| Float | Exchange rate. |
GetTooltip()
Declaration
String GetTooltip() Examples
NSCurrencyEntity thing;
String tooltip = thing.GetTooltip();
Returns
| Type | Description |
| String | Tooltip or other description. |
GetUnits()
Declaration
Float GetUnits() Examples
NSCurrencyEntity thing;
Float units = thing.GetUnits();
Returns
| Type | Description |
| Float | Exchange unit scale (0.01, 0.1, 1, 10, 100 etc). |
SetCurrencyId(Integer)
Declaration
Void SetCurrencyId(Integer currencyId) Examples
NSCurrencyEntity thing;
Integer currencyId;
thing.SetCurrencyId(currencyId);
Parameters
| Type | Name | Description |
| Integer | currencyId | Primary key. |
Returns
| Type | Description |
| Void |
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted) Examples
NSCurrencyEntity thing;
Bool deleted;
thing.SetDeleted(deleted);
Parameters
| Type | Name | Description |
| Bool | deleted | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists. |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSCurrencyEntity thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | The list item. |
Returns
| Type | Description |
| Void |
SetRank(Integer)
Declaration
Void SetRank(Integer rank) Examples
NSCurrencyEntity thing;
Integer rank;
thing.SetRank(rank);
Parameters
| Type | Name | Description |
| Integer | rank | Rank order. |
Returns
| Type | Description |
| Void |
SetRate(Float)
Declaration
Void SetRate(Float rate) Examples
NSCurrencyEntity thing;
Float rate;
thing.SetRate(rate);
Parameters
| Type | Name | Description |
| Float | rate | Exchange rate. |
Returns
| Type | Description |
| Void |