Interface ProductSearchFacetCountExpression
- All Superinterfaces:
ProductSearchFacetExpression
ProductSearchFacetCountExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetCountExpression productSearchFacetCountExpression = ProductSearchFacetCountExpression.builder()
.count(countBuilder -> countBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchFacetCountExpressionbuilder
(ProductSearchFacetCountExpression template) create builder for ProductSearchFacetCountExpression instancedeepCopy
(ProductSearchFacetCountExpression template) factory method to create a deep copy of ProductSearchFacetCountExpression@NotNull @Valid ProductSearchFacetCountValue
getCount()
Definition of the count facet.of()
factory methodof
(ProductSearchFacetCountExpression template) factory method to create a shallow copy ProductSearchFacetCountExpressionvoid
Definition of the count facet.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetCountExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_search.ProductSearchFacetExpression
withProductSearchFacetExpression
-
Method Details
-
getCount
Definition of the count facet.
- Returns:
- count
-
setCount
Definition of the count facet.
- Parameters:
count
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchFacetCountExpression
-
of
factory method to create a shallow copy ProductSearchFacetCountExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchFacetCountExpression deepCopy(@Nullable ProductSearchFacetCountExpression template) factory method to create a deep copy of ProductSearchFacetCountExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchFacetCountExpression- Returns:
- builder
-
builder
create builder for ProductSearchFacetCountExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchFacetCountExpression
default <T> T withProductSearchFacetCountExpression(Function<ProductSearchFacetCountExpression, 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<ProductSearchFacetCountExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-