Class SeatAvailabilityOrderFieldValidator

java.lang.Object
de.hybris.platform.ndc182webservices.validators.impl.AbstractSeatAvailabilityValidator
de.hybris.platform.ndc182webservices.validators.impl.SeatAvailabilityOrderFieldValidator
All Implemented Interfaces:
NDCFieldValidator<IATASeatAvailRQ,List<ErrorType>>

public class SeatAvailabilityOrderFieldValidator extends AbstractSeatAvailabilityValidator implements NDCFieldValidator<IATASeatAvailRQ,List<ErrorType>>
The Ndc seat availability order field validator.
  • Constructor Details

    • SeatAvailabilityOrderFieldValidator

      public SeatAvailabilityOrderFieldValidator()
  • Method Details

    • validate

      public void validate(IATASeatAvailRQ request, List<ErrorType> errors)
      Description copied from interface: NDCFieldValidator
      Validate.
      Specified by:
      validate in interface NDCFieldValidator<IATASeatAvailRQ,List<ErrorType>>
      Parameters:
      request - the request
      errors - the errors
    • isValidOwnerCode

      protected boolean isValidOwnerCode(OrderType order)
      Checks the owner code against a property since the concept of global marketing carrier is not present
      Parameters:
      order -
      Returns:
      trueif the owner code against the offer is valid
    • getConfigurationService

      protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Gets the configurationService
      Returns:
      the configurationService
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Sets the configurationService
      Parameters:
      configurationService - the configurationService to set