Class SeatAvailabilityOfferFieldValidator

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

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

    • SeatAvailabilityOfferFieldValidator

      public SeatAvailabilityOfferFieldValidator()
  • 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(OfferType offer)
      Checks the owner code against a property since the concept of global marketing carrier is not present
      Parameters:
      offer -
      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