public class MockConsignmentService extends java.lang.Object implements ConsignmentService
| Constructor and Description |
|---|
MockConsignmentService() |
| Modifier and Type | Method and Description |
|---|---|
ConsignmentModel |
createConsignment(AbstractOrderModel arg0,
java.lang.String arg1,
java.util.List<AbstractOrderEntryModel> arg2)
Creates the consignment.
|
WarehouseModel |
getWarehouse(java.util.List<AbstractOrderEntryModel> arg0)
Gets the warehouse.
|
public ConsignmentModel createConsignment(AbstractOrderModel arg0, java.lang.String arg1, java.util.List<AbstractOrderEntryModel> arg2) throws ConsignmentCreationException
ConsignmentServicecreateConsignment in interface ConsignmentServicearg0 - the order. If Order is instance of OrderModel type then it is taken to relation to created consignmentarg1 - the codearg2 - the order entriesConsignmentCreationException - in the case of any inconsistency (e.g. warehouses not found)public WarehouseModel getWarehouse(java.util.List<AbstractOrderEntryModel> arg0)
ConsignmentServicegetWarehouse in interface ConsignmentServicearg0 - the order entriesCopyright © 2018 SAP SE. All Rights Reserved.