io.sphere.sdk.reviews.queries.ReviewQuery Maven / Gradle / Ivy
package io.sphere.sdk.reviews.queries;
import com.fasterxml.jackson.core.type.TypeReference;
import io.sphere.sdk.queries.PagedQueryResult;
import io.sphere.sdk.queries.MetaModelQueryDsl;
import io.sphere.sdk.reviews.Review;
import io.sphere.sdk.reviews.expansion.ReviewExpansionModel;
/**
{@doc.gen summary reviews}
*/
public interface ReviewQuery extends MetaModelQueryDsl> {
static TypeReference> resultTypeReference() {
return new TypeReference>(){
@Override
public String toString() {
return "TypeReference>";
}
};
}
default ReviewQuery byProductId(final String productId) {
return withPredicates(m -> m.productId().is(productId));
}
static ReviewQuery of() {
return new ReviewQueryImpl();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy