Class PriceDutyFreeAmountAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaComponentProdPriceModel,Price>
de.hybris.platform.tuawebservicesresources.mappers.price.PriceDutyFreeAmountAttributeMapper
public class PriceDutyFreeAmountAttributeMapper
extends TuaAttributeMapper<TuaComponentProdPriceModel,Price>
This attribute Mapper class maps data for dutyFreeAmount attribute between
TuaComponentProdPriceModel and Price- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPriceDutyFreeAmountAttributeMapper(String sourceAttributeName, String targetAttributeName) PriceDutyFreeAmountAttributeMapper(String sourceAttributeName, String targetAttributeName, de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.i18n.CommonI18NServicevoidpopulateSourceAttributeFromTarget(Price target, TuaComponentProdPriceModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaComponentProdPriceModel source, Price target, ma.glasnost.orika.MappingContext context) Populates the target attribute value obtained by processing the source object.Methods inherited from class de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper
getSourceAttributeName, getTargetAttributeName
-
Constructor Details
-
PriceDutyFreeAmountAttributeMapper
-
PriceDutyFreeAmountAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaComponentProdPriceModel source, Price target, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the target attribute value obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTuaAttributeMapper<TuaComponentProdPriceModel,Price> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(Price target, TuaComponentProdPriceModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaComponentProdPriceModel,Price> - Parameters:
target- target objectsource- source object
-
getCommonI18NService
protected de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService()
-