Class SuggestedProduct

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

Property Summary 

PropertyDescription
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 

MethodDescription
getProductSearchHit()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

Property Details 

productSearchHit 

productSearchHit: ProductSearchHit (read-only)

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


Method Details 

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

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!