Class PriceTaxRateAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaComponentProdPriceModel,Price>
de.hybris.platform.tuawebservicesresources.mappers.price.PriceTaxRateAttributeMapper
public class PriceTaxRateAttributeMapper
extends TuaAttributeMapper<TuaComponentProdPriceModel,Price>
This attribute Mapper class maps data for taxRate attribute between
TuaComponentProdPriceModel and Price- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPriceTaxRateAttributeMapper(String sourceAttributeName, String targetAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(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
-
PriceTaxRateAttributeMapper
-
-
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
-