Show / Hide Table of Contents

Class NSPaymentType

The built-in payment types list. Used by the SuperOffice Quote Connector in quote versions.

Syntax

Constructors

NSPaymentType()

Initializes a new instance of the NSPaymentType class.

Declaration
NSPaymentType

Methods

GetId()

Gets the primary key (ID) for the NSPaymentType

Declaration
Integer GetId()
Returns
Type Description
Integer

NSPaymentType Id.

Examples
NSPaymentType thing;
Integer id = thing.GetId();

GetTooltip()

Gets the tooltip description for the NSPaymentType list item.

Declaration
String GetTooltip()
Returns
Type Description
String

NSPaymentType tooltip description.

Examples
NSPaymentType thing;
String descr = thing.GetTooltip();

GetValue()

Gets the name of the NSPaymentType.

Declaration
String GetValue()
Returns
Type Description
String

NSPaymentType name.

Examples
NSPaymentType thing;
String name = thing.GetValue();

SetId(Integer)

Sets the primary key (ID) for the NSPaymentType

Declaration
Void SetId(Integer id)
Parameters
Type Name Description
Integer id
Returns
Type Description
Void
Examples
NSPaymentType thing;
thing.SetId(123);

SetTooltip(String)

Sets the tooltip description for the NSPaymentType list item.

Declaration
Void SetTooltip(String tooltip)
Parameters
Type Name Description
String tooltip
Returns
Type Description
Void
Examples
NSPaymentType thing;
String descr = "something new";
thing.SetTooltip(descr);

SetValue(String)

Sets the name of the NSPaymentType item.

Declaration
Void SetValue(String value)
Parameters
Type Name Description
String value
Returns
Type Description
Void
Examples
NSPaymentType thing;
thing.SetValue("frotz");
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top