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

io.sphere.sdk.search.model.LocalizedStringFacetedSearchSearchModel Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.search.model;

import javax.annotation.Nullable;
import java.util.Locale;

public final class LocalizedStringFacetedSearchSearchModel extends SearchModelImpl {

    LocalizedStringFacetedSearchSearchModel(@Nullable final SearchModel parent, @Nullable final String pathSegment) {
        super(parent, pathSegment);
    }

    public TermFacetedSearchSearchModel locale(final Locale locale) {
        return new StringSearchModel<>(this, locale.toLanguageTag()).facetedAndFiltered();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy