io.sphere.sdk.customers.queries.CustomerByIdGet Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasByIdGetEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasByIdGetEndpoint.
in the source class io.sphere.sdk.customers.Customer.
To render this class the handlebars template 'queries/byFieldGetInterface.hbs' has been used.
*/
package io.sphere.sdk.customers.queries;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.models.Identifiable;
import java.util.List;
/**
* Fetches a customer by a known ID.
{@include.example io.sphere.sdk.customers.queries.CustomerByIdGetIntegrationTest#execution() }
*/
public interface CustomerByIdGet extends MetaModelGetDsl> {
static CustomerByIdGet of(final String id) {
return new CustomerByIdGetImpl(id);
}
static CustomerByIdGet of(final Identifiable resource) {
return of(resource.getId());
}
@Override
List> expansionPaths();
@Override
CustomerByIdGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
CustomerByIdGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
CustomerByIdGet withExpansionPaths(final List> expansionPaths);
}