Class OrderReturnPopulator
- java.lang.Object
-
- de.hybris.platform.ordermanagementfacades.order.converters.populator.OrderReturnPopulator
-
- All Implemented Interfaces:
Populator<OrderModel,OrderData>
public class OrderReturnPopulator extends java.lang.Object implements Populator<OrderModel,OrderData>
Order Return Populator is responsible of populating Returnable flag
-
-
Constructor Summary
Constructors Constructor Description OrderReturnPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ReturnServicegetReturnService()protected booleanisMultidimensionalEntry(OrderEntryData orderEntry)Confirms if the givenOrderEntryDatais for multidimensional productvoidpopulate(OrderModel source, OrderData target)Populate the target instance with values from the source instance.voidsetReturnService(ReturnService returnService)
-
-
-
Method Detail
-
populate
public void populate(OrderModel source, OrderData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<OrderModel,OrderData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
isMultidimensionalEntry
protected boolean isMultidimensionalEntry(OrderEntryData orderEntry)
Confirms if the givenOrderEntryDatais for multidimensional product- Parameters:
orderEntry- the givenOrderEntryData- Returns:
- true, if the given
OrderEntryDatais for multidimensional product
-
getReturnService
protected ReturnService getReturnService()
-
setReturnService
public void setReturnService(ReturnService returnService)
-
-