Interface ReturnableCheck
-
- All Known Implementing Classes:
DefaultConsignmentBasedReturnableCheck,DefaultReturnEntryBasedReturnableCheck,WarehousingOrderEntryBasedReturnableCheck
public interface ReturnableCheckThis interface is used byDefaultReturnServiceto provide information, if the specified product is returnable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanperform(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'
-
-