Class ManualPaymentReauthAction

java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
de.hybris.platform.omsbackoffice.actions.order.ManualPaymentReauthAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

public class ManualPaymentReauthAction extends com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware implements com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
This action specifies that the payment reauth operation has been handled manually. It proceeds with the regular order fulfillment flow in the business process.
  • Field Details

  • Constructor Details

    • ManualPaymentReauthAction

      public ManualPaymentReauthAction()
  • Method Details

    • perform

      public com.hybris.cockpitng.actions.ActionResult<OrderModel> perform(com.hybris.cockpitng.actions.ActionContext<OrderModel> actionContext)
      Specified by:
      perform in interface com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
    • canPerform

      public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)
      Specified by:
      canPerform in interface com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
    • needsConfirmation

      public boolean needsConfirmation(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)
      Specified by:
      needsConfirmation in interface com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
    • getConfirmationMessage

      public String getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)
      Specified by:
      getConfirmationMessage in interface com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
    • executeManualPaymentAuthOperation

      protected void executeManualPaymentAuthOperation(OrderModel order)
      Executes the manual payment reauth release operation by calling the BusinessProcessService.
      Parameters:
      order - the OrderModel to be released
    • getBusinessProcessService

      protected BusinessProcessService getBusinessProcessService()
    • getModelService

      protected ModelService getModelService()
    • getNotificationService

      protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()