Class TaxItemTaxAmountAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaAppliedPartyBillingTaxRateModel,TaxItem>
de.hybris.platform.tuawebservicesresources.mappers.taxitem.TaxItemTaxAmountAttributeMapper
public class TaxItemTaxAmountAttributeMapper
extends TuaAttributeMapper<TuaAppliedPartyBillingTaxRateModel,TaxItem>
This attribute Mapper class maps data for taxAmount attribute between
TuaAppliedPartyBillingTaxRateModel and TaxItem- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionTaxItemTaxAmountAttributeMapper(String sourceAttributeName, String targetAttributeName, TuaGenericService tuaGenericService, TuaCustomerBillManagementService tuaCustomerBillManagementService) -
Method Summary
Modifier and TypeMethodDescriptionprotected TuaGenericServicevoidpopulateSourceAttributeFromTarget(TaxItem target, TuaAppliedPartyBillingTaxRateModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaAppliedPartyBillingTaxRateModel source, TaxItem 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
-
TaxItemTaxAmountAttributeMapper
public TaxItemTaxAmountAttributeMapper(String sourceAttributeName, String targetAttributeName, TuaGenericService tuaGenericService, TuaCustomerBillManagementService tuaCustomerBillManagementService)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaAppliedPartyBillingTaxRateModel source, TaxItem 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<TuaAppliedPartyBillingTaxRateModel,TaxItem> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(TaxItem target, TuaAppliedPartyBillingTaxRateModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaAppliedPartyBillingTaxRateModel,TaxItem> - Parameters:
target- target objectsource- source object
-
getTuaGenericService
-
getTuaCustomerBillManagementService
-