Interface ProductSearchFacetResult

All Known Subinterfaces:
ProductSearchFacetResultBucket, ProductSearchFacetResultCount

public interface ProductSearchFacetResult
ProductSearchFacetResult
Example to create an instance using the builder pattern

     ProductSearchFacetResult productSearchFacetResult = ProductSearchFacetResult.builder()
             .name("{name}")
             .build()
 
  • Method Details

    • getName

      @NotNull @NotNull String getName()

      Name of the facet.

      Returns:
      name
    • setName

      void setName(String name)

      Name of the facet.

      Parameters:
      name - value to be set
    • of

      factory method
      Returns:
      instance of ProductSearchFacetResult
    • of

      factory method to create a shallow copy ProductSearchFacetResult
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ProductSearchFacetResult
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ProductSearchFacetResult
      Returns:
      builder
    • builder

      create builder for ProductSearchFacetResult instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductSearchFacetResult

      default <T> T withProductSearchFacetResult(Function<ProductSearchFacetResult,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetResult> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference