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
public class OmsWarehouseResponseExecutor extends WarehouseResponseExecutor
Process the cancel response from an OMS warehouse
-
-
Constructor Summary
Constructors Constructor Description OmsWarehouseResponseExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OrderCancelResponsecreateCancelResponseWithZeroQtyResponse(OrderCancelResponse orderCancelResponse)Creates the clonedOrderCancelResponse, with 0 cancelQuantity, from the givenOrderCancelResponseprotected ConsignmentCancellationServicegetConsignmentCancellationService()protected OmsOrderCancelServicegetOmsOrderCancelService()voidprocessCancelResponse(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
-
-
-
-
Method Detail
-
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
protected OmsOrderCancelService getOmsOrderCancelService()
-
setOmsOrderCancelService
public void setOmsOrderCancelService(OmsOrderCancelService omsOrderCancelService)
-
getConsignmentCancellationService
protected ConsignmentCancellationService getConsignmentCancellationService()
-
setConsignmentCancellationService
public void setConsignmentCancellationService(ConsignmentCancellationService consignmentCancellationService)
-
-