Class SuggestedProduct
This class represents a suggested product. Use getProductSearchHit() method to get access to the actual ProductSearchHit object.
| Property | Description |
|---|---|
productSearchHit: ProductSearchHit (read-only) | This method returns the actual ProductSearchHit object corresponding to this suggested product. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getProductSearchHit() | This method returns the actual ProductSearchHit object corresponding to this suggested product. |
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
- productSearchHit: ProductSearchHit
(read-only) This method returns the actual ProductSearchHit object corresponding to this suggested product.
- getProductSearchHit(): ProductSearchHit
This method returns the actual ProductSearchHit object corresponding to this suggested product.
Returns:
- the product search hit corresponding to this suggested product