Class NSPaymentTerm
The built-in payment terms list. Used by the SuperOffice Quote Connector to categorize quote versions.
Syntax
Constructors
NSPaymentTerm()
Initializes a new instance of the NSPaymentTerm class.
Declaration
NSPaymentTerm
Methods
GetId()
Gets the primary key (ID) for the NSPaymentTerm
Declaration
Integer GetId()
Returns
Type | Description |
---|---|
Integer | NSPaymentTerm Id. |
Examples
NSPaymentTerm thing;
Integer id = thing.GetId();
GetTooltip()
Gets the tooltip description for the NSPaymentTerm list item.
Declaration
String GetTooltip()
Returns
Type | Description |
---|---|
String | NSPaymentTerm tooltip description. |
Examples
NSPaymentTerm thing;
String descr = thing.GetTooltip();
GetValue()
Gets the name of the NSPaymentTerm.
Declaration
String GetValue()
Returns
Type | Description |
---|---|
String | NSPaymentTerm name. |
Examples
NSPaymentTerm thing;
String name = thing.GetValue();
SetId(Integer)
Sets the primary key (ID) for the NSPaymentTerm
Declaration
Void SetId(Integer id)
Parameters
Type | Name | Description |
---|---|---|
Integer | id |
Returns
Type | Description |
---|---|
Void |
Examples
NSPaymentTerm thing;
thing.SetId(123);
SetTooltip(String)
Sets the tooltip description for the NSPaymentTerm list item.
Declaration
Void SetTooltip(String tooltip)
Parameters
Type | Name | Description |
---|---|---|
String | tooltip |
Returns
Type | Description |
---|---|
Void |
Examples
NSPaymentTerm thing;
String descr = "something new";
thing.SetTooltip(descr);
SetValue(String)
Sets the name of the NSPaymentTerm item.
Declaration
Void SetValue(String value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
Void |
Examples
NSPaymentTerm thing;
thing.SetValue("frotz");