io.sphere.sdk.reviews.search.ReviewRatingStatisticsFacetSearchModel Maven / Gradle / Ivy
package io.sphere.sdk.reviews.search;
import io.sphere.sdk.search.model.RangeTermFacetSearchModel;
import io.sphere.sdk.search.model.SearchModel;
import io.sphere.sdk.search.model.SearchModelImpl;
import java.math.BigDecimal;
public final class ReviewRatingStatisticsFacetSearchModel extends SearchModelImpl {
public ReviewRatingStatisticsFacetSearchModel(final SearchModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public RangeTermFacetSearchModel averageRating() {
return numberSearchModel("averageRating").faceted();
}
public RangeTermFacetSearchModel count() {
return numberSearchModel("count").faceted();
}
public RangeTermFacetSearchModel highestRating() {
return numberSearchModel("highestRating").faceted();
}
public RangeTermFacetSearchModel lowestRating() {
return numberSearchModel("lowestRating").faceted();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy