Class SapCpiOmsCancelReturnOrderConfirmationPersistenceHook

  • All Implemented Interfaces:
    PrePersistHook

    public class SapCpiOmsCancelReturnOrderConfirmationPersistenceHook
    extends java.lang.Object
    implements PrePersistHook
    • Constructor Detail

      • SapCpiOmsCancelReturnOrderConfirmationPersistenceHook

        public SapCpiOmsCancelReturnOrderConfirmationPersistenceHook()
    • Method Detail

      • execute

        public java.util.Optional<ItemModel> execute​(ItemModel item)
        Description copied from interface: PrePersistHook
        Executes this hook before persisting the given item.
        Specified by:
        execute in interface PrePersistHook
        Parameters:
        item - an item to execute this hook with.
        Returns:
        result of processing/modification of the item by this hook to be persisted. If empty, that means there is no item to persist.
      • getSapDataHubInboundReturnOrderHelper

        public DataHubInboundCancelOrderHelper getSapDataHubInboundReturnOrderHelper()
        Returns:
        the sapDataHubInboundReturnOrderHelper
      • setSapDataHubInboundReturnOrderHelper

        public void setSapDataHubInboundReturnOrderHelper​(DataHubInboundCancelOrderHelper sapDataHubInboundReturnOrderHelper)
        Parameters:
        sapDataHubInboundReturnOrderHelper - the sapDataHubInboundReturnOrderHelper to set