Class NSSmsConfig

SMS settings for Customer Service SMS providers.

Constructors

NSSmsConfig()

Initializes a new instance of the NSSmsConfig class.

Declaration

NSSmsConfig

Methods

GetDefaultSmsCountry()

Declaration

String GetDefaultSmsCountry()

Examples

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

Returns

Type Description
String Phone prefix, will default to the current users HomeCountryId.

GetNetServerSmsProvider()

Declaration

String GetNetServerSmsProvider()

Examples

NSSmsConfig thing;
String netServerSmsProvider = thing.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.

GetNsPluginConfig()

Declaration

Map GetNsPluginConfig()

Examples

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

Returns

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

GetNsPluginSender()

Declaration

String GetNsPluginSender()

Examples

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

Returns

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

SetDefaultSmsCountry(String)

Declaration

Void SetDefaultSmsCountry(String defaultSmsCountry)

Examples

NSSmsConfig thing;
String defaultSmsCountry;
thing.SetDefaultSmsCountry(defaultSmsCountry);

Parameters

Type Name Description
String defaultSmsCountry Phone prefix, will default to the current users HomeCountryId.

Returns

Type Description
Void

SetNetServerSmsProvider(String)

Declaration

Void SetNetServerSmsProvider(String netServerSmsProvider)

Examples

NSSmsConfig thing;
String netServerSmsProvider;
thing.SetNetServerSmsProvider(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

SetNsPluginConfig(Map)

Declaration

Void SetNsPluginConfig(Map nsPluginConfig)

Examples

NSSmsConfig thing;
Map nsPluginConfig;
thing.SetNsPluginConfig(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

SetNsPluginSender(String)

Declaration

Void SetNsPluginSender(String nsPluginSender)

Examples

NSSmsConfig thing;
String nsPluginSender;
thing.SetNsPluginSender(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