io.sphere.sdk.orders.queries.OrderQuery Maven / Gradle / Ivy
package io.sphere.sdk.orders.queries;
import com.fasterxml.jackson.core.type.TypeReference;
import io.sphere.sdk.orders.Order;
import io.sphere.sdk.queries.DefaultModelQuery;
import io.sphere.sdk.queries.PagedQueryResult;
/**
{@doc.gen summary orders}
*/
public class OrderQuery extends DefaultModelQuery {
private OrderQuery() {
super(OrdersEndpoint.ENDPOINT.endpoint(), resultTypeReference());
}
public static OrderQuery of() {
return new OrderQuery();
}
public static TypeReference> resultTypeReference() {
return new TypeReference>(){
@Override
public String toString() {
return "TypeReference>";
}
};
}
public static OrderQueryModel model() {
return OrderQueryModel.get();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy