io.sphere.sdk.customers.queries.CustomerQueryModelImpl 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.CustomResourceQueryModelImpl;
final class CustomerQueryModelImpl extends CustomResourceQueryModelImpl implements CustomerQueryModel {
CustomerQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public StringQuerySortingModel firstName() {
return stringModel("firstName");
}
@Override
public StringQuerySortingModel lastName() {
return stringModel("lastName");
}
@Override
public StringQuerySortingModel email() {
return stringModel("email");
}
@Override
public StringQuerySortingModel defaultShippingAddressId() {
return stringModel("defaultShippingAddressId");
}
@Override
public StringQuerySortingModel defaultBillingAddressId() {
return stringModel("defaultBillingAddressId");
}
@Override
public BooleanQueryModel isEmailVerified() {
return booleanModel("isEmailVerified");
}
@Override
public StringQuerySortingModel externalId() {
return stringModel("externalId");
}
@Override
public ReferenceQueryModel customerGroup() {
return referenceModel("customerGroup");
}
@Override
public CustomQueryModel custom() {
return super.custom();
}
@Override
public QueryPredicate is(final Identifiable identifiable) {
return super.is(identifiable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy