io.sphere.sdk.carts.queries.CartLikeQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.carts.queries;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.queries.*;
public abstract class CartLikeQueryModel extends ResourceQueryModelImpl {
protected CartLikeQueryModel(QueryModel parent, String pathSegment) {
super(parent, pathSegment);
}
public StringQuerySortingModel customerId() {
return stringModel("customerId");
}
public StringQuerySortingModel customerEmail() {
return stringModel("customerEmail");
}
public MoneyQueryModel totalPrice() {
return moneyModel("totalPrice");
}
public TaxedPriceOptionalQueryModel taxedPrice() {
return new TaxedPriceOptionalQueryModelImpl<>(this, "taxedPrice");
}
public CountryQueryModel country() {
return countryQueryModel("country");
}
public ReferenceOptionalQueryModel customerGroup() {
return referenceOptionalModel("customerGroup");
}
public LineItemCollectionQueryModel lineItems() {
return new LineItemCollectionQueryModelImpl<>(this, "lineItems");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy