> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSProductFamily

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

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

## Constructors

### NSProductFamily()

```crmscript theme={null}
NSProductFamily
```

Initializes a new instance of the NSProductFamily class.

## Methods

## GetId()

Gets the primary key (ID) for the NSProductFamily.

```crmscript theme={null}
Integer GetId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - NSProductFamily Id.

**Example:**

```crmscript theme={null}
NSProductFamily thing;
Integer id = thing.GetId();
```

## GetTooltip()

Gets the tooltip description for the NSProductFamily list item.

```crmscript theme={null}
String GetTooltip()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - NSProductFamily tooltip description.

**Example:**

```crmscript theme={null}
NSProductFamily thing;
String descr = thing.GetTooltip();
```

## GetValue()

Gets the name of the NSProductFamily.

```crmscript theme={null}
String GetValue()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - NSProductFamily name.

**Example:**

```crmscript theme={null}
NSProductFamily thing;
String name = thing.GetValue();
```

## SetId(Integer)

Sets the primary key (ID) for the NSProductFamily

```crmscript theme={null}
Void SetId(Integer id)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProductFamily thing;
thing.SetId(123);
```

## SetTooltip(String)

Sets the tooltip description for the NSProductFamily list item.

```crmscript theme={null}
Void SetTooltip(String tooltip)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProductFamily thing;
String descr = "something new";
thing.SetTooltip(descr);
```

## SetValue(String)

Sets the name of the NSProductFamily item.

```crmscript theme={null}
Void SetValue(String value)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProductFamily thing;
thing.SetValue("frotz");
```


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [Delete Product Family](/en/api/reference/restful/rest/list_productfamily/delete-product-family.md)
- [Get Product Family](/en/api/reference/restful/rest/list_productfamily/get-product-family.md)
- [Post Product Family](/en/api/reference/restful/rest/list_productfamily/post-product-family.md)
- [Put Product Family](/en/api/reference/restful/rest/list_productfamily/put-product-family.md)
