> ## 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.

# NSPaymentTerm

> The built-in payment terms list. Used by the SuperOffice Quote Connector to categorize quote versions.

The built-in payment terms list. Used by the SuperOffice Quote Connector to categorize quote versions.

## Constructors

### NSPaymentTerm()

```crmscript theme={null}
NSPaymentTerm
```

Initializes a new instance of the NSPaymentTerm class.

## Methods

## GetId()

Gets the primary key (ID) for the NSPaymentTerm

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

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

**Example:**

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

## GetTooltip()

Gets the tooltip description for the NSPaymentTerm list item.

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

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

**Example:**

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

## GetValue()

Gets the name of the NSPaymentTerm.

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

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

**Example:**

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

## SetId(Integer)

Sets the primary key (ID) for the NSPaymentTerm

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

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

**Example:**

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

## SetTooltip(String)

Sets the tooltip description for the NSPaymentTerm list item.

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

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

**Example:**

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

## SetValue(String)

Sets the name of the NSPaymentTerm item.

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

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

**Example:**

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


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [Delete Payment Term](/en/api/reference/restful/rest/list_paymentterms/delete-payment-term.md)
- [Get Payment Term](/en/api/reference/restful/rest/list_paymentterms/get-payment-term.md)
- [Post Payment Term](/en/api/reference/restful/rest/list_paymentterms/post-payment-term.md)
- [Put Payment Term](/en/api/reference/restful/rest/list_paymentterms/put-payment-term.md)
