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

# NSCurrency

> Carrier object for Currency.

Carrier object for Currency.

## Constructors

### NSCurrency()

```crmscript theme={null}
NSCurrency
```

Initializes a new instance of the NSCurrency class.

## Methods

## GetId()

Gets the primary key (ID) for the NSCurrency

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

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

**Example:**

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

## GetTooltip()

Gets the tooltip description for the NSCurrency list item.

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

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

**Example:**

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

## GetValue()

Gets the name of the NSCurrency.

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

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

**Example:**

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

## SetId(Integer)

Sets the primary key (ID) for the NSCurrency

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

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

**Example:**

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

## SetTooltip(String)

Sets the tooltip description for the NSCurrency list item.

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

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

**Example:**

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

## SetValue(String)

Sets the name of the NSCurrency item.

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

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

**Example:**

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


## Related topics

- [Currency](/en/automation/crmscript/howto/sale/currency.md)
- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [NSSaleEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSSaleEntity.md)
- [NSSale](/en/automation/crmscript/reference/CRMScript.NetServer.NSSale.md)
- [NSSaleSummaryItem](/en/automation/crmscript/reference/CRMScript.NetServer.NSSaleSummaryItem.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
