Home > @poq/sdk > 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>;
});
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>; } |