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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperform(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.
-
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:
performin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowActionHandler- Parameters:
customType- the customTypeflowActionHandlerAdapter- the flowActionHandlerAdaptermap- the map
-