io.sphere.sdk.orders.queries.OrderQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.orders.queries;
import io.sphere.sdk.orders.Order;
import io.sphere.sdk.queries.*;
import java.util.Optional;
public class OrderQueryModel extends DefaultModelQueryModelImpl {
private OrderQueryModel(final Optional extends QueryModel> parent, final Optional pathSegment) {
super(parent, pathSegment);
}
static OrderQueryModel get() {
return new OrderQueryModel(Optional.>empty(), Optional.empty());
}
public StringQuerySortingModel customerId() {
return stringModel("customerId");
}
public StringQuerySortingModel customerEmail() {
return stringModel("customerEmail");
}
public CountryQueryModel country() {
return new CountryQueryModel(Optional.of(this), Optional.of("country"));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy