Class OrderRetrieveOrderFieldValidator

java.lang.Object
de.hybris.platform.ndc182webservices.validators.impl.AbstractOrderValidator
de.hybris.platform.ndc182webservices.validators.impl.OrderRetrieveOrderFieldValidator
All Implemented Interfaces:
NDCFieldValidator<IATAOrderRetrieveRQ,List<ErrorType>>

public class OrderRetrieveOrderFieldValidator extends AbstractOrderValidator implements NDCFieldValidator<IATAOrderRetrieveRQ,List<ErrorType>>
validator to validate the order fields in the order retrieve request
  • Constructor Details

    • OrderRetrieveOrderFieldValidator

      public OrderRetrieveOrderFieldValidator()
  • Method Details

    • validate

      public void validate(IATAOrderRetrieveRQ request, List<ErrorType> errors)
      Description copied from interface: NDCFieldValidator
      Validate.
      Specified by:
      validate in interface NDCFieldValidator<IATAOrderRetrieveRQ,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