class SuggestConverterImpl extends java.lang.Object implements SuggestConverter
Modifier and Type | Field and Description |
---|---|
private ProductLinkService |
linkService |
Constructor and Description |
---|
SuggestConverterImpl(ProductLinkService linkService) |
Modifier and Type | Method and Description |
---|---|
SuggestResponse |
convert(ShopRequestContext context,
SuggestionsResponse response) |
private ProductSuggestion |
getSuggestion(ShopRequestContext context,
ProductResult result) |
private final ProductLinkService linkService
@Inject public SuggestConverterImpl(ProductLinkService linkService)
public SuggestResponse convert(ShopRequestContext context, SuggestionsResponse response)
convert
in interface SuggestConverter
private ProductSuggestion getSuggestion(ShopRequestContext context, ProductResult result)