Class AppliedPaymentAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyPaymentItemModel,AppliedPayment>
de.hybris.platform.tuawebservicesresources.mappers.appliedpayment.AppliedPaymentAttributeMapper
public class AppliedPaymentAttributeMapper
extends TuaAttributeMapper<TuaPartyPaymentItemModel,AppliedPayment>
This attribute Mapper class maps data for payment attribute between
TuaPartyPaymentItemModel and AppliedPayment- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionAppliedPaymentAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<PaymentRef, TuaPartyPaymentModel> tuaPaymentEntityResourceNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(AppliedPayment target, TuaPartyPaymentItemModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaPartyPaymentItemModel source, AppliedPayment 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
-
AppliedPaymentAttributeMapper
public AppliedPaymentAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<PaymentRef, TuaPartyPaymentModel> tuaPaymentEntityResourceNormalizer)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaPartyPaymentItemModel source, AppliedPayment 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<TuaPartyPaymentItemModel,AppliedPayment> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(AppliedPayment target, TuaPartyPaymentItemModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaPartyPaymentItemModel,AppliedPayment> - Parameters:
target- target objectsource- source object
-
getMapperFacade
public ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaPaymentEntityResourceNormalizer
protected TuaEntityResourceNormalizer<PaymentRef,TuaPartyPaymentModel> getTuaPaymentEntityResourceNormalizer()
-