Class ProductPricePriceTypeAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaProdPriceChargeModel,ProductPrice>
de.hybris.platform.tuawebservicesresources.mappers.productprice.ProductPricePriceTypeAttributeMapper
public class ProductPricePriceTypeAttributeMapper
extends TuaAttributeMapper<TuaProdPriceChargeModel,ProductPrice>
This attribute Mapper class maps data for priceType attribute between
TuaProductPriceModel and ProductPrice- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionProductPricePriceTypeAttributeMapper(String sourceAttributeName, String targetAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(ProductPrice target, TuaProdPriceChargeModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaProdPriceChargeModel source, ProductPrice 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
-
ProductPricePriceTypeAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaProdPriceChargeModel source, ProductPrice 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<TuaProdPriceChargeModel,ProductPrice> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductPrice target, TuaProdPriceChargeModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaProdPriceChargeModel,ProductPrice> - Parameters:
target- target objectsource- source object
-