io.sphere.sdk.customers.queries.CustomerQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.customers.queries;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.queries.*;
public final class CustomerQueryModel extends ResourceQueryModelImpl {
public static CustomerQueryModel of() {
return new CustomerQueryModel(null, null);
}
private CustomerQueryModel(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public StringQuerySortingModel firstName() {
return stringModel("firstName");
}
public StringQuerySortingModel lastName() {
return stringModel("lastName");
}
public StringQuerySortingModel email() {
return stringModel("email");
}
public StringQuerySortingModel defaultShippingAddressId() {
return stringModel("defaultShippingAddressId");
}
public StringQuerySortingModel defaultBillingAddressId() {
return stringModel("defaultBillingAddressId");
}
public BooleanQueryModel isEmailVerified() {
return booleanModel("isEmailVerified");
}
public StringQuerySortingModel externalId() {
return stringModel("externalId");
}
public ReferenceQueryModel customerGroup() {
return referenceModel("customerGroup");
}
}