Show / Hide Table of Contents

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

Constructors

NSCustomerServiceStartup()

Initializes a new instance of the NSCustomerServiceStartup class.

Declaration
NSCustomerServiceStartup

Methods

GetRecaptchaSiteKey()

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.
Declaration
String GetRecaptchaSiteKey()
Returns
Type Description
String

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

Remarks

This value is taken from the web.config file

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

GetTimezoneEnabled()

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.
Declaration
Bool GetTimezoneEnabled()
Returns
Type Description
Bool

Is timezone enabled.

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

GetTZOffset()

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.
Declaration
Integer GetTZOffset()
Returns
Type Description
Integer

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

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

SetRecaptchaSiteKey(String)

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.
Declaration
Void SetRecaptchaSiteKey(String recaptchaSiteKey)
Parameters
Type Name Description
String recaptchaSiteKey

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

Returns
Type Description
Void
Remarks

This value is taken from the web.config file

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

SetTimezoneEnabled(Bool)

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.
Declaration
Void SetTimezoneEnabled(Bool timezoneEnabled)
Parameters
Type Name Description
Bool timezoneEnabled

Is timezone enabled.

Returns
Type Description
Void
Examples
NSCustomerServiceStartup thing;
Bool timezoneEnabled;
thing.SetTimezoneEnabled(timezoneEnabled);

SetTZOffset(Integer)

Contains various data needed by Service for startup.

Do not use this API, as it is for internal use and might change without notice.
Declaration
Void SetTZOffset(Integer tZOffset)
Parameters
Type Name Description
Integer tZOffset

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

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