Class PercentageDiscountValidationHandler

java.lang.Object
de.hybris.platform.staticpackagebackoffice.widgets.handler.PercentageDiscountValidationHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

public class PercentageDiscountValidationHandler extends Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
The Static Package Percentage Discount Validation Handler
  • Constructor Details

    • PercentageDiscountValidationHandler

      public PercentageDiscountValidationHandler()
  • Method Details

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter flowActionHandlerAdapter, Map<String,String> map)
      This method performs a validation of the percentage discount in a static package. Checks if the value is between 0 and 100.
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
      Parameters:
      customType - the customType
      flowActionHandlerAdapter - the flowActionHandlerAdapter
      map - the map