Class MockConsignmentService

  • All Implemented Interfaces:
    de.hybris.platform.ordersplitting.ConsignmentService

    public class MockConsignmentService
    extends java.lang.Object
    implements de.hybris.platform.ordersplitting.ConsignmentService
    Mock to be used for spring tests
    • Constructor Detail

      • MockConsignmentService

        public MockConsignmentService()
    • Method Detail

      • createConsignment

        public ConsignmentModel createConsignment​(AbstractOrderModel arg0,
                                                  java.lang.String arg1,
                                                  java.util.List<AbstractOrderEntryModel> arg2)
                                           throws de.hybris.platform.ordersplitting.ConsignmentCreationException
        Specified by:
        createConsignment in interface de.hybris.platform.ordersplitting.ConsignmentService
        Throws:
        de.hybris.platform.ordersplitting.ConsignmentCreationException
      • getWarehouse

        public WarehouseModel getWarehouse​(java.util.List<AbstractOrderEntryModel> arg0)
        Specified by:
        getWarehouse in interface de.hybris.platform.ordersplitting.ConsignmentService