Class 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 Detail

      • CONSIGNMENT_ACTION_EVENT_NAME

        protected static final java.lang.String CONSIGNMENT_ACTION_EVENT_NAME
        See Also:
        Constant Field Values
      • HANDLE_MANUAL_PAYMENT_CAPTURE_CHOICE

        protected static final java.lang.String HANDLE_MANUAL_PAYMENT_CAPTURE_CHOICE
        See Also:
        Constant Field Values
    • Constructor Detail

      • PaymentCaptureManualReleaseButtonCellRenderer

        public PaymentCaptureManualReleaseButtonCellRenderer()
    • Method Detail

      • 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)