Interface ListingFacet.Builder

  • Method Details

    • value

      The internal value used for filtering when passed back in a search filter.

      Parameters:
      value - The internal value used for filtering when passed back in a search filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      ListingFacet.Builder displayName(String displayName)

      The human-readable name of the facet value, suitable for display in a user interface.

      Parameters:
      displayName - The human-readable name of the facet value, suitable for display in a user interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parent

      ListingFacet.Builder parent(String parent)

      The parent facet value for hierarchical facets, such as subcategories.

      Parameters:
      parent - The parent facet value for hierarchical facets, such as subcategories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • count

      ListingFacet.Builder count(Long count)

      The number of listings matching this facet value.

      Parameters:
      count - The number of listings matching this facet value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.