Poq.SDK.Node

Home > @poq/sdk-sfcc > Site > (constructor)

Site.(constructor)

Constructs a new instance of the Site class

Signature:

constructor(params?: {
        allowedCurrencies?: Array<string>;
        allowedLocales?: Array<Locale>;
        defaultCurrency?: string;
        defaultLocale?: string;
        httpDisBaseUrl?: string;
        httpHostname?: string;
        httpLibraryContentUrl?: string;
        httpSiteContentUrl?: string;
        httpsDisBaseUrl?: string;
        httpsHostname?: string;
        httpsLibraryContentUrl?: string;
        httpsSiteContentUrl?: string;
        id?: string;
        name?: string;
        status?: SiteStatusEnum;
        timezone?: string;
        timezoneOffset?: number;
    });

Parameters

Parameter Type Description
params { allowedCurrencies?: Array<string>; allowedLocales?: Array<Locale>; defaultCurrency?: string; defaultLocale?: string; httpDisBaseUrl?: string; httpHostname?: string; httpLibraryContentUrl?: string; httpSiteContentUrl?: string; httpsDisBaseUrl?: string; httpsHostname?: string; httpsLibraryContentUrl?: string; httpsSiteContentUrl?: string; id?: string; name?: string; status?: SiteStatusEnum; timezone?: string; timezoneOffset?: number; } (Optional)