Show / Hide Table of Contents

Class NSProductCategory

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

Syntax

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()
Returns
Type Description
Integer

NSProductCategory Id.

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

GetTooltip()

Gets the tooltip description for the NSProductCategory list item.

Declaration
String GetTooltip()
Returns
Type Description
String

NSProductCategory tooltip description.

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

GetValue()

Gets the name of the NSProductCategory.

Declaration
String GetValue()
Returns
Type Description
String

NSProductCategory name.

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

SetId(Integer)

Sets the primary key (ID) for the NSProductCategory

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

SetTooltip(String)

Sets the tooltip description for the NSProductCategory list item.

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

SetValue(String)

Sets the name of the NSProductCategory item.

Declaration
Void SetValue(String value)
Parameters
Type Name Description
String value
Returns
Type Description
Void
Examples
NSProductCategory 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