Class ChangeCurrencyValidator

java.lang.Object
de.hybris.platform.coretravelbasewebservicescommons.validators.AbstractTravelValidator
de.hybris.platform.coreairlinecommonsocc.validators.ChangeCurrencyValidator
All Implemented Interfaces:
TravelValidator, org.springframework.validation.Validator

public class ChangeCurrencyValidator extends AbstractTravelValidator
Validates airline change currency request.
  • Constructor Details

    • ChangeCurrencyValidator

      public ChangeCurrencyValidator()
  • Method Details

    • supports

      public boolean supports(Class<?> clazz)
    • validate

      public void validate(Object target, org.springframework.validation.Errors errors)
    • validateCurrency

      protected void validateCurrency(String currencyISO, org.springframework.validation.Errors errors)
      Validate currency.
      Parameters:
      currencyISO - the currency iso
      errors - the errors
    • getBookingFacade

      protected BookingFacade getBookingFacade()
      Gets booking facade.
      Returns:
      the booking facade
    • setBookingFacade

      public void setBookingFacade(BookingFacade bookingFacade)
      Sets booking facade.
      Parameters:
      bookingFacade - the booking facade
    • getTravelCartService

      protected TravelCartService getTravelCartService()
      Gets travel cart service.
      Returns:
      the travel cart service
    • setTravelCartService

      public void setTravelCartService(TravelCartService travelCartService)
      Sets travel cart service.
      Parameters:
      travelCartService - the travel cart service
    • getStoreSessionFacade

      protected de.hybris.platform.commercefacades.storesession.StoreSessionFacade getStoreSessionFacade()
      Gets store session facade.
      Returns:
      the store session facade
    • setStoreSessionFacade

      public void setStoreSessionFacade(de.hybris.platform.commercefacades.storesession.StoreSessionFacade storeSessionFacade)
      Sets store session facade.
      Parameters:
      storeSessionFacade - the store session facade