io.sphere.sdk.customers.queries.CustomerByTokenGet Maven / Gradle / Ivy
package io.sphere.sdk.customers.queries;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.customers.CustomerToken;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import java.util.List;
import java.util.function.Function;
/**
* DEPRECATED class.
*
*/
public interface CustomerByTokenGet extends MetaModelGetDsl> {
/**
* @deprecated use {@link CustomerByPasswordTokenGet#of(String)}
* @param token token value belonging to the customer
* @return CustomerByTokenGet
*/
@Deprecated
static CustomerByTokenGet of(final String token) {
return new CustomerByTokenGetImpl(token);
}
/**
* @deprecated use {@link CustomerByPasswordTokenGet#of(CustomerToken)}
* @param token the token belonging to the customer
* @return CustomerByTokenGet
*/
@Deprecated
static CustomerByTokenGet of(final CustomerToken token) {
return new CustomerByTokenGetImpl(token.getValue());
}
@Override
CustomerByTokenGet plusExpansionPaths(final Function, ExpansionPath> m);
@Override
CustomerByTokenGet withExpansionPaths(final Function, ExpansionPath> m);
@Override
List> expansionPaths();
@Override
CustomerByTokenGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
CustomerByTokenGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
CustomerByTokenGet withExpansionPaths(final List> expansionPaths);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy