Home > @poq/sdk-sfcc > ProductSearchHit > (constructor)
Constructs a new instance of the ProductSearchHit
class
Signature:
constructor(params?: {
currency?: string;
hitType?: string;
image?: Image;
link?: string;
orderable?: boolean;
price?: number;
priceMax?: number;
pricePerUnit?: number;
pricePerUnitMax?: number;
prices?: {
[key: string]: number;
};
productId?: string;
productName?: string;
productType?: ProductType;
representedProduct?: ProductRef;
representedProducts?: Array<ProductRef>;
variationAttributes?: Array<VariationAttribute>;
});
Parameter | Type | Description |
---|---|---|
params | { currency?: string; hitType?: string; image?: Image; link?: string; orderable?: boolean; price?: number; priceMax?: number; pricePerUnit?: number; pricePerUnitMax?: number; prices?: { [key: string]: number; }; productId?: string; productName?: string; productType?: ProductType; representedProduct?: ProductRef; representedProducts?: Array<ProductRef>; variationAttributes?: Array<VariationAttribute>; } | (Optional) |