Class BaCreateBillingCycleSpecificationValidator

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

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

    • BaCreateBillingCycleSpecificationValidator

      public BaCreateBillingCycleSpecificationValidator(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 BillingAccount has valid relatedParty
      Specified by:
      validate in interface org.springframework.validation.Validator
      Parameters:
      o - the billing cycle specification
      errors - the errors
    • getTuaGenericService

      protected TuaGenericService getTuaGenericService()