Class SuggestedCategory

This class represents a suggested catalog category. Use getCategory() method to get access to the actual Category object.

PropertyDescription
category: Category (read-only)This method returns the actual Category object corresponding to this suggested category.

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

MethodDescription
getCategory()This method returns the actual Category object corresponding to this suggested category.

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

category: Category (read-only)

This method returns the actual Category object corresponding to this suggested category.


getCategory(): Category

This method returns the actual Category object corresponding to this suggested category.

Returns:

  • the category object corresponding to this suggested category