Interface ReturnableCheck
-
- All Known Implementing Classes:
DefaultConsignmentBasedReturnableCheck
,DefaultReturnEntryBasedReturnableCheck
,WarehousingOrderEntryBasedReturnableCheck
public interface ReturnableCheck
This interface is used byDefaultReturnService
to provide information, if the specified product is returnable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
perform(OrderModel order, AbstractOrderEntryModel entry, long returnQuantity)
Determines if the product is 'returnable'
-
-
-
Method Detail
-
perform
boolean perform(OrderModel order, AbstractOrderEntryModel entry, long returnQuantity)
Determines if the product is 'returnable'- Parameters:
order
- the related original orderentry
- the ordered product which will be returnedreturnQuantity
- the quantity of entries to be returned- Returns:
- true if product is 'returnable'
-
-