Poq.SDK.Node

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

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>;
    });

Parameters

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>; }