Class WarehousingRefundService
java.lang.Object
de.hybris.platform.refund.impl.DefaultRefundService
de.hybris.platform.warehousing.returns.service.impl.WarehousingRefundService
- All Implemented Interfaces:
RefundService
Warehousing implementation of
RefundService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(OrderModel previewOrder, ReturnRequestModel request) Based on the assigned refund entries of the 'previewOrder'RefundService.createRefundOrderPreview(OrderModel), the 'finalOrder' will be recalculated and modification entries will be written.Methods inherited from class de.hybris.platform.refund.impl.DefaultRefundService
apply, createOrderHistoryEntry, createOrderHistoryEntryDescription, createRefundOrderPreview, getCalculationService, getEntry, getFlexibleSearchService, getModelService, getModificationHandler, getOrderEntry, getOrderHistoryService, getOrderService, getRefundDao, getRefunds, setCalculationService, setFlexibleSearchService, setModelService, setModificationHandler, setOrderHistoryService, setOrderService, setRefundDao
-
Constructor Details
-
WarehousingRefundService
public WarehousingRefundService()
-
-
Method Details
-
apply
public void apply(OrderModel previewOrder, ReturnRequestModel request) throws OrderReturnRecordsHandlerException Description copied from class:DefaultRefundServiceBased on the assigned refund entries of the 'previewOrder'RefundService.createRefundOrderPreview(OrderModel), the 'finalOrder' will be recalculated and modification entries will be written.- Specified by:
applyin interfaceRefundService- Overrides:
applyin classDefaultRefundService- Parameters:
previewOrder- the order which holds the preview of refundrequest- the request which holds the order for which the refunds will be calculated AND the "refund entries" which will be logged byOrderReturnRecordHandler- Throws:
OrderReturnRecordsHandlerException- in case of DAO error
-