Class DefaultRevenueCloudAllocationService
- java.lang.Object
-
- de.hybris.platform.warehousing.allocation.impl.DefaultAllocationService
-
- de.hybris.platform.sap.saprevenuecloudorder.service.impl.DefaultRevenueCloudAllocationService
-
- All Implemented Interfaces:
AllocationService
public class DefaultRevenueCloudAllocationService extends DefaultAllocationService
Service to create consignments for physical products and skipping subscription products . This implementation assumes physical and subscriptions products are assigned to different warehouses.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOGGER-
Fields inherited from class de.hybris.platform.warehousing.allocation.impl.DefaultAllocationService
PICKUP_CODE, REALLOCATE_COMMENT_SUBJECT
-
-
Constructor Summary
Constructors Constructor Description DefaultRevenueCloudAllocationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsignmentModelcreateConsignment(AbstractOrderModel order, java.lang.String code, SourcingResult result)This implementation assumes that all order entries in SourcingResult have the same delivery POS.-
Methods inherited from class de.hybris.platform.warehousing.allocation.impl.DefaultAllocationService
autoReallocate, consolidateConsignmentEntries, createConsignmentEntry, createConsignments, declineConsignmentEntry, getConsignmentEntryCommentService, getDeliveryModeService, getGuidKeyGenerator, getInventoryEventService, getModelService, getNumDeclines, getQuantityToDecline, getShippingDateStrategy, getStockLevelDao, getWarehousingConsignmentWorkflowService, getWarehousingFulfillmentConfigDao, manualReallocate, reallocateAllocationEvent, setConsignmentEntryCommentService, setDeliveryModeService, setGuidKeyGenerator, setInventoryEventService, setModelService, setShippingDateStrategy, setStockLevelDao, setWarehousingConsignmentWorkflowService, setWarehousingFulfillmentConfigDao, useQuantityPending
-
-
-
-
Method Detail
-
createConsignment
public ConsignmentModel createConsignment(AbstractOrderModel order, java.lang.String code, SourcingResult result)
This implementation assumes that all order entries in SourcingResult have the same delivery POS.- Specified by:
createConsignmentin interfaceAllocationService- Overrides:
createConsignmentin classDefaultAllocationService- Parameters:
order- - the order to create consignments forcode- - the consignment code; never nullresult- - the sourcing results collected from the sourcing strategies; never null- Returns:
- a
ConsignmentModel; never null
-
-