Class SuggestedCategory

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

Property Summary 

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

Constructor Summary 

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

Method Summary 

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

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 

category 

category: Category (read-only)

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


Method Details 

getCategory() 

getCategory(): Category

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

Returns:

  • the category object corresponding to this suggested category

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