Class ProductOrderShoppingCartAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<OrderData,ProductOrder>
de.hybris.platform.b2ctelcotmfwebservices.v3.mappers.productorder.ProductOrderShoppingCartAttributeMapper
public class ProductOrderShoppingCartAttributeMapper
extends TmaAttributeMapper<OrderData,ProductOrder>
This attribute Mapper class maps data for attype attribute between
OrderData and ProductOrder- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionProductOrderShoppingCartAttributeMapper(ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(ProductOrder target, OrderData source, ma.glasnost.orika.MappingContext context) Populates the source attribute value by obtained by processing the target object.voidpopulateTargetAttributeFromSource(OrderData source, ProductOrder 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
-
ProductOrderShoppingCartAttributeMapper
public ProductOrderShoppingCartAttributeMapper(ma.glasnost.orika.MapperFacade mapperFacade)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(OrderData source, ProductOrder 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<OrderData,ProductOrder> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductOrder target, OrderData source, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the source attribute value by obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTmaAttributeMapper<OrderData,ProductOrder> - Parameters:
target- target objectsource- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-