Poq.SDK.Node

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

Category.(constructor)

Constructs a new instance of the Category class

Signature:

constructor(params?: {
        cAlternativeUrl?: string;
        cCatBannerID?: string;
        cCustomCSSFile?: string;
        cEnableCompare?: boolean;
        cHeaderMenuBanner?: string;
        cHeaderMenuOrientation?: CategoryCHeaderMenuOrientationEnum;
        cShowInMenu?: boolean;
        cSizeChartID?: string;
        cSlotBannerHtml?: string;
        cSlotBannerImage?: string;
        categories?: Array<Category>;
        description?: string;
        id?: string;
        image?: string;
        name?: string;
        pageDescription?: string;
        pageKeywords?: string;
        pageTitle?: string;
        parentCategoryId?: string;
        parentCategoryTree?: Array<PathRecord>;
        thumbnail?: string;
    });

Parameters

Parameter Type Description
params { cAlternativeUrl?: string; cCatBannerID?: string; cCustomCSSFile?: string; cEnableCompare?: boolean; cHeaderMenuBanner?: string; cHeaderMenuOrientation?: CategoryCHeaderMenuOrientationEnum; cShowInMenu?: boolean; cSizeChartID?: string; cSlotBannerHtml?: string; cSlotBannerImage?: string; categories?: Array<Category>; description?: string; id?: string; image?: string; name?: string; pageDescription?: string; pageKeywords?: string; pageTitle?: string; parentCategoryId?: string; parentCategoryTree?: Array<PathRecord>; thumbnail?: string; } (Optional)