Class DefaultPickupConsignmentService
java.lang.Object
de.hybris.platform.ordersplitting.impl.DefaultConsignmentService
de.hybris.platform.acceleratorservices.ordersplitting.impl.DefaultPickupConsignmentService
- All Implemented Interfaces:
ConsignmentService
Extends the
DefaultConsignmentService with functionality for pickup entries-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConsignment(AbstractOrderModel order, String code, List<AbstractOrderEntryModel> orderEntries) Creates the consignment.protected ConsignmentStatusprotected ModelServicevoidsetInitialConsignmentStatus(ConsignmentStatus initialConsignmentStatus) voidsetModelService(ModelService modelService) Methods inherited from class de.hybris.platform.ordersplitting.impl.DefaultConsignmentService
getWarehouse, setWarehouseService
-
Constructor Details
-
DefaultPickupConsignmentService
public DefaultPickupConsignmentService()
-
-
Method Details
-
createConsignment
public ConsignmentModel createConsignment(AbstractOrderModel order, String code, List<AbstractOrderEntryModel> orderEntries) throws ConsignmentCreationException Description copied from interface:ConsignmentServiceCreates the consignment.- Specified by:
createConsignmentin interfaceConsignmentService- Overrides:
createConsignmentin classDefaultConsignmentService- Parameters:
order- the order. If Order is instance of OrderModel type then it is taken to relation to created consignmentcode- the codeorderEntries- the order entries- Returns:
- the consignment model
- Throws:
ConsignmentCreationException- in the case of any inconsistency (e.g. warehouses not found)
-
getModelService
-
setModelService
- Overrides:
setModelServicein classDefaultConsignmentService
-
getInitialConsignmentStatus
-
setInitialConsignmentStatus
-