Home > @poq/sdk > SearchResponseProductListing > (constructor)
Constructs a new instance of the SearchResponseProductListing
class
Signature:
constructor(params: {
id: string;
productId: string;
name: string;
variantGroups: SearchResponseVariantGroup[];
priceRange: SearchResponseListingPrice;
brand?: string;
forms?: SearchResponseForm[];
promotions?: SearchResponsePromotions;
reviews?: SearchResponseReviews;
customData?: Record<string, unknown>;
});
Parameter | Type | Description |
---|---|---|
params | { id: string; productId: string; name: string; variantGroups: SearchResponseVariantGroup[]; priceRange: SearchResponseListingPrice; brand?: string; forms?: SearchResponseForm[]; promotions?: SearchResponsePromotions; reviews?: SearchResponseReviews; customData?: Record<string, unknown>; } |