Class PaymentCaptureManualReleaseButtonCellRenderer

java.lang.Object
de.hybris.platform.omsbackoffice.renderers.ReleaseButtonCellRenderer
de.hybris.platform.omsbackoffice.renderers.PaymentCaptureManualReleaseButtonCellRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.Listcell,com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn,ConsignmentModel>

public class PaymentCaptureManualReleaseButtonCellRenderer extends ReleaseButtonCellRenderer implements com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.Listcell,com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn,ConsignmentModel>
This cell renderer displays a button to release a ConsignmentModel from a waiting step following a failed partial capture.
  • Field Details

  • Constructor Details

    • PaymentCaptureManualReleaseButtonCellRenderer

      public PaymentCaptureManualReleaseButtonCellRenderer()
  • Method Details

    • render

      public void render(org.zkoss.zul.Listcell parent, com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn listColumn, ConsignmentModel consignmentModel, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      Specified by:
      render in interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.Listcell,com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn,ConsignmentModel>
    • executeManualRelease

      protected void executeManualRelease(ConsignmentModel consignmentModel)
      Performs the manual payment capture release if the ConsignmentModel can be released
      Parameters:
      consignmentModel - the ConsignmentModel to check and release
    • getWidgetInstanceManager

      protected com.hybris.cockpitng.engine.WidgetInstanceManager getWidgetInstanceManager()
    • setWidgetInstanceManager

      public void setWidgetInstanceManager(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)