Class OmsWarehouseResponseExecutor
java.lang.Object
de.hybris.platform.ordercancel.impl.executors.WarehouseResponseExecutor
de.hybris.platform.warehousing.cancellation.executors.OmsWarehouseResponseExecutor
- All Implemented Interfaces:
NotificationServiceAdapterDependent,PaymentServiceAdapterDependent,OrderCancelResponseExecutor
Process the cancel response from an OMS warehouse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrderCancelResponsecreateCancelResponseWithZeroQtyResponse(OrderCancelResponse orderCancelResponse) Creates the clonedOrderCancelResponse, with 0 cancelQuantity, from the givenOrderCancelResponseprotected ConsignmentCancellationServiceprotected OmsOrderCancelServicevoidprocessCancelResponse(OrderCancelResponse orderCancelResponse, OrderCancelRecordEntryModel cancelRequestRecordEntry) voidsetConsignmentCancellationService(ConsignmentCancellationService consignmentCancellationService) voidsetOmsOrderCancelService(OmsOrderCancelService omsOrderCancelService) Methods inherited from class de.hybris.platform.ordercancel.impl.executors.WarehouseResponseExecutor
finalizeCancelProcessing, getCompleteCancelStatusChangeStrategy, getModelService, getNotificationServiceAdapter, getOrderCancelRecordsHandler, getPartialCancelStatusChangeStrategy, getPaymentServiceAdapter, getWarehouseDenialStatusChangeStrategy, getWarehouseErrorStatusChangeStrategy, modifyOrderAccordingToRequest, realizeCancelAfterWarehouseResponse, setCompleteCancelStatusChangeStrategy, setModelService, setNotificationServiceAdapter, setOrderCancelRecordsHandler, setPartialCancelStatusChangeStrategy, setPaymentServiceAdapter, setWarehouseDenialStatusChangeStrategy, setWarehouseErrorStatusChangeStrategy
-
Constructor Details
-
OmsWarehouseResponseExecutor
public OmsWarehouseResponseExecutor()
-
-
Method Details
-
processCancelResponse
public void processCancelResponse(OrderCancelResponse orderCancelResponse, OrderCancelRecordEntryModel cancelRequestRecordEntry) throws OrderCancelException - Specified by:
processCancelResponsein interfaceOrderCancelResponseExecutor- Overrides:
processCancelResponsein classWarehouseResponseExecutor- Throws:
OrderCancelException
-
createCancelResponseWithZeroQtyResponse
protected OrderCancelResponse createCancelResponseWithZeroQtyResponse(OrderCancelResponse orderCancelResponse) Creates the clonedOrderCancelResponse, with 0 cancelQuantity, from the givenOrderCancelResponse- Parameters:
orderCancelResponse- the original orderCancelResponse- Returns:
- the cloned orderCancelResponse with 0 cancelQuantity requested
-
getOmsOrderCancelService
-
setOmsOrderCancelService
-
getConsignmentCancellationService
-
setConsignmentCancellationService
public void setConsignmentCancellationService(ConsignmentCancellationService consignmentCancellationService)
-