Class AbstractAirShoppingValidator

java.lang.Object
de.hybris.platform.ndc182shoppingwebservices.validators.impl.AbstractAirShoppingValidator
Direct Known Subclasses:
AirShoppingOriginDestFieldValidator, AirShoppingPaxFieldValidator, AirShoppingRequestFieldValidator

public abstract class AbstractAirShoppingValidator extends Object
Class containing common elements to validate AirShopping Messages
  • Constructor Details

    • AbstractAirShoppingValidator

      public AbstractAirShoppingValidator()
  • Method Details

    • addError

      protected void addError(List<ErrorType> errors, String errorMessage)
      Creates an error with the passed message and add it to the error list
      Parameters:
      errors - the list
      errorMessage - the message