Class VoucherValueAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<TmaVoucherData,VoucherType>
de.hybris.platform.b2ctelcotmfwebservices.mappers.voucher.VoucherValueAttributeMapper
This attribute Mapper class maps data for value attribute between
TmaVoucherData and VoucherType- Since:
- 2302
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(VoucherType source, TmaVoucherData target, ma.glasnost.orika.MappingContext context) Populates the source attribute value by obtained by processing the target object.voidpopulateTargetAttributeFromSource(TmaVoucherData source, VoucherType target, ma.glasnost.orika.MappingContext context) Populates the target attribute value by obtained by processing the source object.Methods inherited from class de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper
getSourceAttributeName, getTargetAttributeName, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
VoucherValueAttributeMapper
public VoucherValueAttributeMapper()
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TmaVoucherData source, VoucherType target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the target attribute value by obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTmaAttributeMapper<TmaVoucherData,VoucherType> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(VoucherType source, TmaVoucherData target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the source attribute value by obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTmaAttributeMapper<TmaVoucherData,VoucherType> - Parameters:
source- target objecttarget- source object
-