Poq.SDK.Node

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

SearchResponse.(constructor)

Constructs a new instance of the SearchResponse class

Signature:

constructor(params: {
        listings: SearchResponseProductListing[];
        pagination: ResponsePagination;
        filters: SearchResponseFilter[];
        customData?: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { listings: SearchResponseProductListing[]; pagination: ResponsePagination; filters: SearchResponseFilter[]; customData?: Record<string, unknown>; }