Class DefaultTaxInvoiceDTOValidator

java.lang.Object
de.hybris.platform.chinesetaxinvoiceocc.validator.DefaultTaxInvoiceDTOValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class DefaultTaxInvoiceDTOValidator extends Object implements org.springframework.validation.Validator
Implementation of Validator that validate instances of TaxInvoiceWsDTO. Validates the fields for TaxInvoiceWsDTO
  • Constructor Details

    • DefaultTaxInvoiceDTOValidator

      public DefaultTaxInvoiceDTOValidator(org.springframework.validation.Validator taxInvoiceUnitValidator, org.springframework.validation.Validator taxInvoiceTypeValidator, TaxInvoiceCheckoutFacade taxInvoiceFacade)
  • Method Details

    • supports

      public boolean supports(Class clazz)
      Specified by:
      supports in interface org.springframework.validation.Validator
    • validate

      public void validate(Object target, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface org.springframework.validation.Validator
    • getTaxInvoiceUnitValidator

      public org.springframework.validation.Validator getTaxInvoiceUnitValidator()
    • getTaxInvoiceTypeValidator

      public org.springframework.validation.Validator getTaxInvoiceTypeValidator()
    • getTaxInvoiceCheckoutFacade

      public TaxInvoiceCheckoutFacade getTaxInvoiceCheckoutFacade()