All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customers.queries.CustomerQueryModel Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy