Class TmaPriceBundledPopMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<PriceData,ProductOfferingPriceWsDTO>
de.hybris.platform.b2ctelcocommercewebservicescommons.mappers.price.TmaPriceBundledPopMapper
public class TmaPriceBundledPopMapper
extends TmaAttributeMapper<PriceData,ProductOfferingPriceWsDTO>
This attribute mapper maps data for bundled POP price attribute between
PriceData and
ProductOfferingPriceWsDTO. This mapper exposes the composite prices configured as
PriceRowModel.getProductOfferingPrice()- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaPriceBundledPopMapper(ma.glasnost.orika.MapperFacade mapperFacade, Map<String, Class<ProductOfferingPriceWsDTO>> priceTypeDtoMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeprotected Map<String,Class<ProductOfferingPriceWsDTO>> protected voidpopulateDiscountValue(PriceData source, ProductOfferingPriceWsDTO target, ma.glasnost.orika.MappingContext context) protected voidpopulatePriceValue(PriceData source, ProductOfferingPriceWsDTO target) voidpopulateTargetAttributeFromSource(PriceData source, ProductOfferingPriceWsDTO target, ma.glasnost.orika.MappingContext context) Populates the target attribute value by obtained by processing the source object.Methods inherited from class de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper
getSourceAttributeName, getTargetAttributeName, populateSourceAttributeFromTarget, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
TmaPriceBundledPopMapper
public TmaPriceBundledPopMapper(ma.glasnost.orika.MapperFacade mapperFacade, Map<String, Class<ProductOfferingPriceWsDTO>> priceTypeDtoMap)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(PriceData source, ProductOfferingPriceWsDTO target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the target attribute value by obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTmaAttributeMapper<PriceData,ProductOfferingPriceWsDTO> - Parameters:
source- source objecttarget- target object
-
populatePriceValue
-
populateDiscountValue
protected void populateDiscountValue(PriceData source, ProductOfferingPriceWsDTO target, ma.glasnost.orika.MappingContext context) -
getPriceTypeDtoMap
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-