Class CreateTaxItemValidator

java.lang.Object
com.skava.tax.validate.CreateTaxItemValidator
All Implemented Interfaces:
com.skava.core.EcommComponent, com.skava.core.validation.ValidatorComponent

@Component public class CreateTaxItemValidator extends Object implements com.skava.core.validation.ValidatorComponent
The Class CreateCartValidator.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CreateTaxItemValidator(org.springframework.context.MessageSource messageSource, TaxCalculationHelper taxHelper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    preProcess(com.skava.core.validation.InputModel inputModel)
    preProcess

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.skava.core.EcommComponent

    destroy, init, onEvent

    Methods inherited from interface com.skava.core.validation.ValidatorComponent

    postProcess, preProcess
  • Constructor Details

    • CreateTaxItemValidator

      public CreateTaxItemValidator(org.springframework.context.MessageSource messageSource, TaxCalculationHelper taxHelper)
  • Method Details

    • preProcess

      public void preProcess(com.skava.core.validation.InputModel inputModel)

      preProcess

      .
      Specified by:
      preProcess in interface com.skava.core.validation.ValidatorComponent
      Parameters:
      inputModel - the input model
      Throws:
      com.skava.core.validation.ValidateException - the validate exception
      See Also:
      • ValidatorComponent.preProcess(com.skava.core.validation.InputModel)