Interface ProductSearchFacetStatsExpression
- All Superinterfaces:
ProductSearchFacetExpression
ProductSearchFacetStatsExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetStatsExpression productSearchFacetStatsExpression = ProductSearchFacetStatsExpression.builder()
.stats(statsBuilder -> statsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchFacetStatsExpressionbuilder
(ProductSearchFacetStatsExpression template) create builder for ProductSearchFacetStatsExpression instancecopyDeep()
deepCopy
(ProductSearchFacetStatsExpression template) factory method to create a deep copy of ProductSearchFacetStatsExpression@NotNull @Valid ProductSearchFacetStatsValue
getStats()
Definition of the stats facet.of()
factory methodof
(ProductSearchFacetStatsExpression template) factory method to create a shallow copy ProductSearchFacetStatsExpressionvoid
Definition of the stats facet.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetStatsExpression>
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
-
getStats
Definition of the stats facet.
- Returns:
- stats
-
setStats
Definition of the stats facet.
- Parameters:
stats
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchFacetStatsExpression
-
of
factory method to create a shallow copy ProductSearchFacetStatsExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductSearchFacetStatsExpression copyDeep()- Specified by:
copyDeep
in interfaceProductSearchFacetExpression
-
deepCopy
@Nullable static ProductSearchFacetStatsExpression deepCopy(@Nullable ProductSearchFacetStatsExpression template) factory method to create a deep copy of ProductSearchFacetStatsExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchFacetStatsExpression- Returns:
- builder
-
builder
create builder for ProductSearchFacetStatsExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchFacetStatsExpression
default <T> T withProductSearchFacetStatsExpression(Function<ProductSearchFacetStatsExpression, 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<ProductSearchFacetStatsExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-