Poq.SDK.Node

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

Product.(constructor)

Constructs a new instance of the Product class

Signature:

constructor(params: {
        id: string;
        appIdentifier: string;
        details: ProductDetails;
        variants: Map<string, ProductVariant>;
        categoryIds?: string[];
        forms?: Form[];
        meta?: ProductMeta;
        promotion?: Promotion;
        review?: CatalogueReview;
        customData?: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { id: string; appIdentifier: string; details: ProductDetails; variants: Map<string, ProductVariant>; categoryIds?: string[]; forms?: Form[]; meta?: ProductMeta; promotion?: Promotion; review?: CatalogueReview; customData?: Record<string, unknown>; }