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