Script: Class dw.suggest.SuggestedProduct

Class SuggestedProduct

  • Object
    • dw.suggest.SuggestedProduct

This class represents a suggested product. Use getProductSearchHit() method to get access to the actual ProductSearchHit object.

Properties

productSearchHit : ProductSearchHit Read Only

This method returns the actual ProductSearchHit object corresponding to this suggested product.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getProductSearchHit() : ProductSearchHit

This method returns the actual ProductSearchHit object corresponding to this suggested product.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getProductSearchHit

getProductSearchHit() : ProductSearchHit

This method returns the actual ProductSearchHit object corresponding to this suggested product.

Returns:

the product search hit corresponding to this suggested product