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

# NSCustomerCenterConfig

> Contains configuration when displaying the Customer Center. Carrier object for CustomerCenterConfig.

Contains configuration when displaying the Customer Center. Carrier object for CustomerCenterConfig.

## Constructors

### NSCustomerCenterConfig()

```crmscript theme={null}
NSCustomerCenterConfig
```

Initializes a new instance of the NSCustomerCenterConfig class.

## Methods

## GetConfig()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - A JSON-formatted config.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
String config = thing.GetConfig();
```

## GetCustConfigId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Primary key.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer custConfigId = thing.GetCustConfigId();
```

## GetCustLangId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The customer language which this config belongs to. 0 indicates that the config is global.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer custLangId = thing.GetCustLangId();
```

## GetRegistered()

```crmscript theme={null}
DateTime GetRegistered()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Registered when.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
DateTime registered = thing.GetRegistered();
```

## GetRegisteredAssociateId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Registered by whom.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
```

## GetType()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - What kind of data is in this row. What kind of data is in this row. See \<xref href="CRMScript.NetServer.ConfigType" data-throw-if-not-resolved="false">\</xref>

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer type = thing.GetType();
```

## GetUpdated()

```crmscript theme={null}
DateTime GetUpdated()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Last updated when.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
DateTime updated = thing.GetUpdated();
```

## GetUpdatedAssociateId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Last updated by whom.

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();
```

## SetConfig(String)

```crmscript theme={null}
Void SetConfig(String config)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
String config;
thing.SetConfig(config);
```

## SetCustConfigId(Integer)

```crmscript theme={null}
Void SetCustConfigId(Integer custConfigId)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer custConfigId;
thing.SetCustConfigId(custConfigId);
```

## SetCustLangId(Integer)

```crmscript theme={null}
Void SetCustLangId(Integer custLangId)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer custLangId;
thing.SetCustLangId(custLangId);
```

## SetRegistered(DateTime)

```crmscript theme={null}
Void SetRegistered(DateTime registered)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
DateTime registered;
thing.SetRegistered(registered);
```

## SetRegisteredAssociateId(Integer)

```crmscript theme={null}
Void SetRegisteredAssociateId(Integer registeredAssociateId)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);
```

## SetType(Integer)

```crmscript theme={null}
Void SetType(Integer type)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer type;
thing.SetType(type);
```

## SetRegiSetUpdated(DateTime)

```crmscript theme={null}
Void SetUpdated(DateTime updated)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
DateTime updated;
thing.SetUpdated(updated);
```

## SetUpdatedAssociateId(Integer)

```crmscript theme={null}
Void SetUpdatedAssociateId(Integer updatedAssociateId)
```

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

**Example:**

```crmscript theme={null}
NSCustomerCenterConfig thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
```


## Related topics

- [NSCustomerServiceAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSCustomerServiceAgent.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [Delete Customer Center Config](/en/api/reference/restful/agent/customerservice_agent/delete-customer-center-config.md)
- [Save Customer Center Config](/en/api/reference/restful/agent/customerservice_agent/save-customer-center-config.md)
- [Get Customer Center Config](/en/api/reference/restful/agent/customerservice_agent/get-customer-center-config.md)
- [Get All Customer Center Configs](/en/api/reference/restful/agent/customerservice_agent/get-all-customer-center-configs.md)
