Class NSProductCategory

The built-in product category list. Used by the SuperOffice Quote Connector to categorize products.

Constructors

NSProductCategory()

Initializes a new instance of the NSProductCategory class.

Declaration

NSProductCategory

Methods

GetId()

Gets the primary key (ID) for the NSProductCategory

Declaration

Integer GetId()

Examples

NSProductCategory thing;
Integer id = thing.GetId();

Returns

Type Description
Integer NSProductCategory Id.

GetTooltip()

Gets the tooltip description for the NSProductCategory list item.

Declaration

String GetTooltip()

Examples

NSProductCategory thing;
String descr = thing.GetTooltip();

Returns

Type Description
String NSProductCategory tooltip description.

GetValue()

Gets the name of the NSProductCategory.

Declaration

String GetValue()

Examples

NSProductCategory thing;
String name = thing.GetValue();

Returns

Type Description
String NSProductCategory name.

SetId(Integer)

Sets the primary key (ID) for the NSProductCategory

Declaration

Void SetId(Integer id)

Examples

NSProductCategory thing;
thing.SetId(123);

Parameters

Type Name Description
Integer id

Returns

Type Description
Void

SetTooltip(String)

Sets the tooltip description for the NSProductCategory list item.

Declaration

Void SetTooltip(String tooltip)

Examples

NSProductCategory thing;
String descr = "something new";
thing.SetTooltip(descr);

Parameters

Type Name Description
String tooltip

Returns

Type Description
Void

SetValue(String)

Sets the name of the NSProductCategory item.

Declaration

Void SetValue(String value)

Examples

NSProductCategory thing;
thing.SetValue("frotz");

Parameters

Type Name Description
String value

Returns

Type Description
Void