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