public class DefaultPickupConsignmentService extends DefaultConsignmentService
DefaultConsignmentService with functionality for pickup entries| Constructor and Description |
|---|
DefaultPickupConsignmentService() |
| Modifier and Type | Method and Description |
|---|---|
ConsignmentModel |
createConsignment(AbstractOrderModel order,
java.lang.String code,
java.util.List<AbstractOrderEntryModel> orderEntries)
Creates the consignment.
|
protected ConsignmentStatus |
getInitialConsignmentStatus() |
protected ModelService |
getModelService() |
void |
setInitialConsignmentStatus(ConsignmentStatus initialConsignmentStatus) |
void |
setModelService(ModelService modelService) |
getWarehouse, setWarehouseServicepublic ConsignmentModel createConsignment(AbstractOrderModel order, java.lang.String code, java.util.List<AbstractOrderEntryModel> orderEntries) throws ConsignmentCreationException
ConsignmentServicecreateConsignment in interface ConsignmentServicecreateConsignment in class DefaultConsignmentServiceorder - the order. If Order is instance of OrderModel type then it is taken to relation to created consignmentcode - the codeorderEntries - the order entriesConsignmentCreationException - in the case of any inconsistency (e.g. warehouses not found)protected ModelService getModelService()
public void setModelService(ModelService modelService)
setModelService in class DefaultConsignmentServiceprotected ConsignmentStatus getInitialConsignmentStatus()
public void setInitialConsignmentStatus(ConsignmentStatus initialConsignmentStatus)
Copyright © 2018 SAP SE. All Rights Reserved.