Class NSAmountClassEntity
Carrier object for AmountClassEntity.
Constructors
NSAmountClassEntity()
Initializes a new instance of the NSAmountClassEntity class.
Declaration
NSAmountClassEntity Methods
GetAmountClassId()
Declaration
Integer GetAmountClassId() Examples
NSAmountClassEntity thing;
Integer amountClassId = thing.GetAmountClassId();
Returns
| Type | Description |
| Integer | Primary key. |
GetAmountFrom()
Declaration
Float GetAmountFrom() Examples
NSAmountClassEntity thing;
Float amountFrom = thing.GetAmountFrom();
Returns
| Type | Description |
| Float | Lower limit of this amount class. |
GetAmountTo()
Declaration
Float GetAmountTo() Examples
NSAmountClassEntity thing;
Float amountTo = thing.GetAmountTo();
Returns
| Type | Description |
| Float | Upper limit of this amount class. |
GetCurrencyId()
Declaration
Integer GetCurrencyId() Examples
NSAmountClassEntity thing;
Integer currencyId = thing.GetCurrencyId();
Returns
| Type | Description |
| Integer | Currency the limits in this amount class refer to. |
GetDeleted()
Declaration
Bool GetDeleted() Examples
NSAmountClassEntity 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
NSAmountClassEntity thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | The list item. |
GetRank()
Declaration
Integer GetRank() Examples
NSAmountClassEntity thing;
Integer rank = thing.GetRank();
Returns
| Type | Description |
| Integer | Rank order. |
GetTooltip()
Declaration
String GetTooltip() Examples
NSAmountClassEntity thing;
String tooltip = thing.GetTooltip();
Returns
| Type | Description |
| String | Tooltip or other description. |
SetAmountClassId(Integer)
Declaration
Void SetAmountClassId(Integer amountClassId) Examples
NSAmountClassEntity thing;
Integer amountClassId;
thing.SetAmountClassId(amountClassId);
Parameters
| Type | Name | Description |
| Integer | amountClassId | Primary key. |
Returns
| Type | Description |
| Void |
SetAmountFrom(Float)
Declaration
Void SetAmountFrom(Float amountFrom) Examples
NSAmountClassEntity thing;
Float amountFrom;
thing.SetAmountFrom(amountFrom);
Parameters
| Type | Name | Description |
| Float | amountFrom | Lower limit of this amount class. |
Returns
| Type | Description |
| Void |
SetAmountTo(Float)
Declaration
Void SetAmountTo(Float amountTo) Examples
NSAmountClassEntity thing;
Float amountTo;
thing.SetAmountTo(amountTo);
Parameters
| Type | Name | Description |
| Float | amountTo | Upper limit of this amount class. |
Returns
| Type | Description |
| Void |
SetCurrencyId(Integer)
Declaration
Void SetCurrencyId(Integer currencyId) Examples
NSAmountClassEntity thing;
Integer currencyId;
thing.SetCurrencyId(currencyId);
Parameters
| Type | Name | Description |
| Integer | currencyId | Currency the limits in this amount class refer to. |
Returns
| Type | Description |
| Void |
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted) Examples
NSAmountClassEntity 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
NSAmountClassEntity thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | The list item. |
Returns
| Type | Description |
| Void |