Class ValidationEngine
java.lang.Object
org.bhn.promotion.voucherify.engine.ValidationEngine
ValidationEngine implementation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method allows you to validate if promotions that are part of the cart can be applied
-
Field Details
-
VALIDATION_FLOW_ERROR
- See Also:
-
-
Constructor Details
-
ValidationEngine
-
-
Method Details
-
evaluatePromotion
This method allows you to validate if promotions that are part of the cart can be applied
- Parameters:
input- EvaluationRequest containing cart for which we want to validate and apply promotions and apply them.- Returns:
EvaluationResponseModelEvaluation Response Model containing validated and applied promos
-