public class ProductPriceProcessor<PSR> extends Object implements PostSearchMetaProcessor<ProductModel,PSR>
CommercePriceService and
attaches it as meta data. Creates MetaProductPriceValue meta data for the products. Use this
PostSearchMetaProcessor if your search implementation cannot provide you with product prices.| Constructor and Description |
|---|
ProductPriceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected CommercePriceService |
getCommercePriceService() |
void |
populateMetaData(List<DataObject<ProductModel>> metaItems,
PSR providerSearchResult)
Populate the results meta data with some additional data related to the result items.
|
void |
setCommercePriceService(CommercePriceService priceService) |
protected CommercePriceService getCommercePriceService()
public void setCommercePriceService(CommercePriceService priceService)
public void populateMetaData(List<DataObject<ProductModel>> metaItems, PSR providerSearchResult)
PostSearchMetaProcessorpopulateMetaData in interface PostSearchMetaProcessor<ProductModel,PSR>metaItems - The result items and their meta dataproviderSearchResult - the search service specific results objectCopyright © 2017 SAP SE. All Rights Reserved.