Show / Hide Table of Contents

Class NSSmsConfig

SMS settings for Customer Service SMS providers.

Syntax

Constructors

NSSmsConfig()

Initializes a new instance of the NSSmsConfig class.

Declaration
NSSmsConfig

Methods

GetDefaultSmsCountry()

SMS settings for Customer Service SMS providers.

Declaration
String GetDefaultSmsCountry()
Returns
Type Description
String

Phone prefix, will default to the current users HomeCountryId.

Examples
NSSmsConfig thing;
String defaultSmsCountry = thing.GetDefaultSmsCountry();

GetNetServerSmsProvider()

SMS settings for Customer Service SMS providers.

Declaration
String GetNetServerSmsProvider()
Returns
Type Description
String

Name of the selected provider, i.e. CM, Compaya SMS (cpsms.dk), Intelecom SMS, Link Mobility SMS, SMS Teknik, or TXTLocal.

Examples
NSSmsConfig thing;
String netServerSmsProvider = thing.GetNetServerSmsProvider();

GetNsPluginConfig()

SMS settings for Customer Service SMS providers.

Declaration
Map GetNsPluginConfig()
Returns
Type Description
Map

Configuration settings provided by the SMS provider. Typically contains newline-delimited settings such as username and password.

Examples
NSSmsConfig thing;
Map nsPluginConfig = thing.GetNsPluginConfig();

GetNsPluginSender()

SMS settings for Customer Service SMS providers.

Declaration
String GetNsPluginSender()
Returns
Type Description
String

The sender of the SMS messages. This text will appear on the recipient's mobile phone.

Examples
NSSmsConfig thing;
String nsPluginSender = thing.GetNsPluginSender();

SetDefaultSmsCountry(String)

SMS settings for Customer Service SMS providers.

Declaration
Void SetDefaultSmsCountry(String defaultSmsCountry)
Parameters
Type Name Description
String defaultSmsCountry

Phone prefix, will default to the current users HomeCountryId.

Returns
Type Description
Void
Examples
NSSmsConfig thing;
String defaultSmsCountry;
thing.SetDefaultSmsCountry(defaultSmsCountry);

SetNetServerSmsProvider(String)

SMS settings for Customer Service SMS providers.

Declaration
Void SetNetServerSmsProvider(String netServerSmsProvider)
Parameters
Type Name Description
String netServerSmsProvider

Name of the selected provider, i.e. CM, Compaya SMS (cpsms.dk), Intelecom SMS, Link Mobility SMS, SMS Teknik, or TXTLocal.

Returns
Type Description
Void
Examples
NSSmsConfig thing;
String netServerSmsProvider;
thing.SetNetServerSmsProvider(netServerSmsProvider);

SetNsPluginConfig(Map)

SMS settings for Customer Service SMS providers.

Declaration
Void SetNsPluginConfig(Map nsPluginConfig)
Parameters
Type Name Description
Map nsPluginConfig

Configuration settings provided by the SMS provider. Typically contains newline-delimited settings such as username and password.

Returns
Type Description
Void
Examples
NSSmsConfig thing;
Map nsPluginConfig;
thing.SetNsPluginConfig(nsPluginConfig);

SetNsPluginSender(String)

SMS settings for Customer Service SMS providers.

Declaration
Void SetNsPluginSender(String nsPluginSender)
Parameters
Type Name Description
String nsPluginSender

The sender of the SMS messages. This text will appear on the recipient's mobile phone.

Returns
Type Description
Void
Examples
NSSmsConfig thing;
String nsPluginSender;
thing.SetNsPluginSender(nsPluginSender);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top