Class ProductSearchFacetDistinctBucketSortExpressionBuilder

java.lang.Object
com.commercetools.api.models.product_search.ProductSearchFacetDistinctBucketSortExpressionBuilder
All Implemented Interfaces:
Builder<ProductSearchFacetDistinctBucketSortExpression>

public class ProductSearchFacetDistinctBucketSortExpressionBuilder extends Object implements Builder<ProductSearchFacetDistinctBucketSortExpression>
ProductSearchFacetDistinctBucketSortExpressionBuilder
Example to create an instance using the builder pattern

     ProductSearchFacetDistinctBucketSortExpression productSearchFacetDistinctBucketSortExpression = ProductSearchFacetDistinctBucketSortExpression.builder()
             .by(ProductSearchFacetDistinctBucketSortBy.COUNT)
             .order(SearchSortOrder.ASC)
             .build()