Interface ProductSearchFacetDistinctExpression
- All Superinterfaces:
ProductSearchFacetExpression
ProductSearchFacetDistinctExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetDistinctExpression productSearchFacetDistinctExpression = ProductSearchFacetDistinctExpression.builder()
.distinct(distinctBuilder -> distinctBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchFacetDistinctExpressionbuilder
(ProductSearchFacetDistinctExpression template) create builder for ProductSearchFacetDistinctExpression instancedeepCopy
(ProductSearchFacetDistinctExpression template) factory method to create a deep copy of ProductSearchFacetDistinctExpression@NotNull @Valid ProductSearchFacetDistinctValue
Definition of the distinct facet.of()
factory methodof
(ProductSearchFacetDistinctExpression template) factory method to create a shallow copy ProductSearchFacetDistinctExpressionvoid
setDistinct
(ProductSearchFacetDistinctValue distinct) Definition of the distinct facet.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetDistinctExpression>
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
-
getDistinct
Definition of the distinct facet.
- Returns:
- distinct
-
setDistinct
Definition of the distinct facet.
- Parameters:
distinct
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchFacetDistinctExpression
-
of
factory method to create a shallow copy ProductSearchFacetDistinctExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchFacetDistinctExpression deepCopy(@Nullable ProductSearchFacetDistinctExpression template) factory method to create a deep copy of ProductSearchFacetDistinctExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchFacetDistinctExpression- Returns:
- builder
-
builder
static ProductSearchFacetDistinctExpressionBuilder builder(ProductSearchFacetDistinctExpression template) create builder for ProductSearchFacetDistinctExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchFacetDistinctExpression
default <T> T withProductSearchFacetDistinctExpression(Function<ProductSearchFacetDistinctExpression, 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<ProductSearchFacetDistinctExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-