Class NSCustomerServiceStartup

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.

Constructors

NSCustomerServiceStartup()

Initializes a new instance of the NSCustomerServiceStartup class.

Declaration

NSCustomerServiceStartup

Methods

GetRecaptchaSiteKey()

Declaration

String GetRecaptchaSiteKey()

Examples

NSCustomerServiceStartup thing;
String recaptchaSiteKey = thing.GetRecaptchaSiteKey();

Returns

Type Description
String A global reCAPTCHA site key, used with the google reCAPTCHA component.

GetTimezoneEnabled()

Declaration

Bool GetTimezoneEnabled()

Examples

NSCustomerServiceStartup thing;
Bool timezoneEnabled = thing.GetTimezoneEnabled();

Returns

Type Description
Bool Is timezone enabled.

GetTZOffset()

Declaration

Integer GetTZOffset()

Examples

NSCustomerServiceStartup thing;
Integer tZOffset = thing.GetTZOffset();

Returns

Type Description
Integer The offset in minutes compared with UTC, calculated for DateTime.Now.

SetRecaptchaSiteKey(String)

Declaration

Void SetRecaptchaSiteKey(String recaptchaSiteKey)

Examples

NSCustomerServiceStartup thing;
String recaptchaSiteKey;
thing.SetRecaptchaSiteKey(recaptchaSiteKey);

Parameters

Type Name Description
String recaptchaSiteKey A global reCAPTCHA site key, used with the google reCAPTCHA component.

Returns

Type Description
Void

SetTimezoneEnabled(Bool)

Declaration

Void SetTimezoneEnabled(Bool timezoneEnabled)

Examples

NSCustomerServiceStartup thing;
Bool timezoneEnabled;
thing.SetTimezoneEnabled(timezoneEnabled);

Parameters

Type Name Description
Bool timezoneEnabled Is timezone enabled.

Returns

Type Description
Void

SetTZOffset(Integer)

Declaration

Void SetTZOffset(Integer tZOffset)

Examples

NSCustomerServiceStartup thing;
Integer tZOffset;
thing.SetTZOffset(tZOffset);

Parameters

Type Name Description
Integer tZOffset The offset in minutes compared with UTC, calculated for DateTime.Now.

Returns

Type Description
Void