io.sphere.sdk.customergroups.queries.CustomerGroupQuery Maven / Gradle / Ivy
package io.sphere.sdk.customergroups.queries;
import com.fasterxml.jackson.core.type.TypeReference;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.customergroups.expansion.CustomerGroupExpansionModel;
import io.sphere.sdk.queries.PagedQueryResult;
import io.sphere.sdk.queries.MetaModelQueryDsl;
/**
{@doc.gen summary customer groups}
*/
public interface CustomerGroupQuery extends MetaModelQueryDsl> {
static TypeReference> resultTypeReference() {
return new TypeReference>(){
@Override
public String toString() {
return "TypeReference>";
}
};
}
default CustomerGroupQuery byName(final String name) {
return withPredicates(m -> m.name().is(name));
}
static CustomerGroupQuery of() {
return new CustomerGroupQueryImpl();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy