Poq.SDK.Node

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

Category.(constructor)

Constructs a new instance of the Category class

Signature:

constructor(params: {
        id: string;
        name: string;
        parentCategoryId?: string;
        categories?: Category[];
        categoryUrl?: string;
        deepLink?: string;
        imageUrl?: string;
        customData?: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { id: string; name: string; parentCategoryId?: string; categories?: Category[]; categoryUrl?: string; deepLink?: string; imageUrl?: string; customData?: Record<string, unknown>; }