Class BaCreateBillPresentationMediaValidator

java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.validators.BaCreateBillPresentationMediaValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class BaCreateBillPresentationMediaValidator extends Object implements org.springframework.validation.Validator
Validator for POST /billPresentationMedia API.
Since:
2302.
  • Constructor Details

    • BaCreateBillPresentationMediaValidator

      public BaCreateBillPresentationMediaValidator(TuaGenericService tuaGenericService)
  • Method Details

    • supports

      public boolean supports(Class<?> aClass)
      Specified by:
      supports in interface org.springframework.validation.Validator
    • validate

      public void validate(Object o, org.springframework.validation.Errors errors)
      Checks that the BillPresentationMedia has valid name
      Specified by:
      validate in interface org.springframework.validation.Validator
      Parameters:
      o - the bill presentation media
      errors - the errors
    • getTuaGenericService

      protected TuaGenericService getTuaGenericService()