Package com.hybris.yprofile.populators
Class ReturnEventPopulator
java.lang.Object
com.hybris.yprofile.populators.ReturnEventPopulator
- All Implemented Interfaces:
Populator<ReturnRequestModel,Order>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetReturnEventType(List<AbstractOrderEntryModel> orderEntries, List<ReturnEntryModel> returnEntries) voidpopulate(ReturnRequestModel returnRequestModel, Order order) Populate the target instance with values from the source instance.voidsetProfileOrderLineItemConverter(Converter<AbstractOrderEntryModel, OrderLineItem> profileOrderLineItemConverter)
-
Constructor Details
-
ReturnEventPopulator
public ReturnEventPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ReturnRequestModel,Order> - Parameters:
returnRequestModel- the source objectorder- the target to fill- Throws:
ConversionException- if an error occurs
-
getReturnEventType
protected String getReturnEventType(List<AbstractOrderEntryModel> orderEntries, List<ReturnEntryModel> returnEntries) -
getProfileOrderLineItemConverter
-
setProfileOrderLineItemConverter
public void setProfileOrderLineItemConverter(Converter<AbstractOrderEntryModel, OrderLineItem> profileOrderLineItemConverter)
-