io.sphere.sdk.customers.queries.CustomerQuery Maven / Gradle / Ivy
package io.sphere.sdk.customers.queries;
import com.fasterxml.jackson.core.type.TypeReference;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.queries.DefaultModelQuery;
import io.sphere.sdk.queries.PagedQueryResult;
public class CustomerQuery extends DefaultModelQuery {
private CustomerQuery() {
super(CustomersEndpoint.ENDPOINT.endpoint(), resultTypeReference());
}
public static TypeReference> resultTypeReference() {
return new TypeReference>(){
@Override
public String toString() {
return "TypeReference>";
}
};
}
public static CustomerQueryModel model() {
return CustomerQueryModel.get();
}
public static CustomerQuery of() {
return new CustomerQuery();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy