Class AccBalanceAmountAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaAccountBalanceModel,AccountBalance>
de.hybris.platform.tuawebservicesresources.mappers.accountbalance.AccBalanceAmountAttributeMapper
public class AccBalanceAmountAttributeMapper
extends TuaAttributeMapper<TuaAccountBalanceModel,AccountBalance>
This attribute Mapper class maps data for amount attribute between
TuaAccountBalanceModel and AccountBalance- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionAccBalanceAmountAttributeMapper(String sourceAttributeName, String targetAttributeName, de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.i18n.CommonI18NServicevoidpopulateSourceAttributeFromTarget(AccountBalance target, TuaAccountBalanceModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaAccountBalanceModel source, AccountBalance 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
-
AccBalanceAmountAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaAccountBalanceModel source, AccountBalance 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<TuaAccountBalanceModel,AccountBalance> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(AccountBalance target, TuaAccountBalanceModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaAccountBalanceModel,AccountBalance> - Parameters:
target- target objectsource- source object
-
getCommonI18NService
protected de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService()
-