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.models.Identifiable;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.types.queries.CustomQueryModel;
import io.sphere.sdk.types.queries.WithCustomQueryModel;
public interface CustomerQueryModel extends ResourceQueryModel, WithCustomQueryModel {
StringQuerySortingModel firstName();
StringQuerySortingModel lastName();
StringQuerySortingModel email();
//this is not a field in customer!
/**
* Creates a model for a query of the lowercase version of the customer's email address.
*
* {@include.example io.sphere.sdk.customers.queries.CustomerQueryIntegrationTest#lowercaseEmail()}
*
* @return model
*/
StringQuerySortingModel lowercaseEmail();
StringQuerySortingModel defaultShippingAddressId();
StringQuerySortingModel defaultBillingAddressId();
BooleanQueryModel isEmailVerified();
StringQuerySortingModel externalId();
ReferenceQueryModel customerGroup();
@Override
CustomQueryModel custom();
@Override
QueryPredicate is(Identifiable identifiable);
LocaleQueryModel locale();
static CustomerQueryModel of() {
return new CustomerQueryModelImpl(null, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy