Interface OrderSplittingService
-
- All Known Implementing Classes:
DefaultOrderSplittingService
public interface OrderSplittingServiceThe OrderSplittingService provides methods for splitting order entries for consignments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ConsignmentModel>splitOrderForConsignment(AbstractOrderModel order, java.util.List<AbstractOrderEntryModel> orderEntryList)Split order entries for consignments.java.util.List<ConsignmentModel>splitOrderForConsignmentNotPersist(AbstractOrderModel order, java.util.List<AbstractOrderEntryModel> orderEntryList)Split order entries for consignments w/o persisting changes
-
-
-
Method Detail
-
splitOrderForConsignment
java.util.List<ConsignmentModel> splitOrderForConsignment(AbstractOrderModel order, java.util.List<AbstractOrderEntryModel> orderEntryList) throws ConsignmentCreationException
Split order entries for consignments.- Parameters:
order- order to splitorderEntryList- the order entry list- Returns:
- the list of consignments
- Throws:
ConsignmentCreationException- if the consignment was not created correctly
-
splitOrderForConsignmentNotPersist
java.util.List<ConsignmentModel> splitOrderForConsignmentNotPersist(AbstractOrderModel order, java.util.List<AbstractOrderEntryModel> orderEntryList) throws ConsignmentCreationException
Split order entries for consignments w/o persisting changes- Parameters:
order- order to splitorderEntryList- list of order entries- Returns:
- list of consignments
- Throws:
ConsignmentCreationException- if the consignment was not created correctly
-
-