Class TmaDocumentDiscountRowPopulator
java.lang.Object
de.hybris.platform.b2ctelcofacades.discount.populators.TmaDocumentDiscountRowPopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<de.hybris.platform.solrfacetsearch.search.Document,PriceData>
public class TmaDocumentDiscountRowPopulator
extends Object
implements de.hybris.platform.converters.Populator<de.hybris.platform.solrfacetsearch.search.Document,PriceData>
Populates
PriceData attributes based on Document which contains discount row data.- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionTmaDocumentDiscountRowPopulator(Map<String, Class<TmaProductOfferingPriceData>> priceDataTypeMap, Map<String, Class<TmaPricingLogicAlgorithmData>> pricingLogicAlgorithmDataTypeMap, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.ObjectMapperprotected Map<String,Class<TmaProductOfferingPriceData>> protected Map<String,Class<TmaPricingLogicAlgorithmData>> protected <T> Tvoid
-
Constructor Details
-
TmaDocumentDiscountRowPopulator
public TmaDocumentDiscountRowPopulator(Map<String, Class<TmaProductOfferingPriceData>> priceDataTypeMap, Map<String, Class<TmaPricingLogicAlgorithmData>> pricingLogicAlgorithmDataTypeMap, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
populate
public void populate(de.hybris.platform.solrfacetsearch.search.Document source, PriceData target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException - Specified by:
populatein interfacede.hybris.platform.converters.Populator<de.hybris.platform.solrfacetsearch.search.Document,PriceData> - Throws:
de.hybris.platform.servicelayer.dto.converter.ConversionException
-
getValue
protected <T> T getValue(de.hybris.platform.solrfacetsearch.search.Document source, String propertyName) -
getPriceDataTypeMap
-
getPricingLogicAlgorithmDataTypeMap
-
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-