io.sphere.sdk.search.CurrencySearchModel Maven / Gradle / Ivy
package io.sphere.sdk.search;
import javax.annotation.Nullable;
import javax.money.CurrencyUnit;
public class CurrencySearchModel extends TermModelImpl implements SearchSortingModel {
public CurrencySearchModel(@Nullable final SearchModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public FilterSearchModel filtered() {
return new FilterSearchModel<>(this, null, TypeSerializer.ofCurrency());
}
@Override
public FacetSearchModel faceted() {
return new FacetSearchModel<>(this, null, TypeSerializer.ofCurrency());
}
@Override
public SearchSort sorted(S sortDirection) {
return new SphereSearchSort<>(this, sortDirection);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy