SearchProductsFacetRepresentation Class

Represents a search facet that provides filtering and categorization options for product search results, such as categories, attributes, or other product characteristics.

runtime_industries_cpq

Learn more about the properties available with the SearchProductsFacetRepresentation class.

The SearchProductsFacetRepresentation class includes these properties.

  • attributeType

    Get or set the type of attribute this facet represents, such as “Picklist” or “Text”.

  • displayName

    Get or set the display name of the search facet.

  • displayRank

    Get or set the display rank that determines the order in which this facet appears in search results.

  • nameOrId

    Get or set the name or identifier of the attribute or category that this facet represents.

  • values

    Get or set the list of facet values available for filtering, each representing a distinct option within this facet.

Get or set the type of attribute this facet represents, such as “Picklist” or “Text”.

public String attributeType {get; set;}

Type: String

Get or set the display name of the search facet.

public String displayName {get; set;}

Type: String

Get or set the display rank that determines the order in which this facet appears in search results.

public Integer displayRank {get; set;}

Type: Integer

Get or set the name or identifier of the attribute or category that this facet represents.

public String nameOrId {get; set;}

Type: String

Get or set the list of facet values available for filtering, each representing a distinct option within this facet.

public List<runtime_industries_cpq.FacetValueRepresentation> values {get; set;}

Type: List<runtime_industries_cpq.FacetValueRepresentation>