Class DefaultFarePriceService

java.lang.Object
de.hybris.platform.shoppingservices.services.impl.DefaultFarePriceService
All Implemented Interfaces:
FarePriceService
Direct Known Subclasses:
DefaultIntelliPricerService

public class DefaultFarePriceService extends Object implements FarePriceService
The type default fareprice service
  • Constructor Details

    • DefaultFarePriceService

      public DefaultFarePriceService()
  • Method Details

    • doFarePriceFromSessionCart

      public void doFarePriceFromSessionCart()
      Description copied from interface: FarePriceService
      Do fare price search from session cart
      Specified by:
      doFarePriceFromSessionCart in interface FarePriceService
    • doFarePrice

      public SearchResponseWrapper doFarePrice(FarePriceMessage farePriceMessage)
      Description copied from interface: FarePriceService
      Do fare price search response wrapper.
      Specified by:
      doFarePrice in interface FarePriceService
      Parameters:
      farePriceMessage - the fare price message
      Returns:
      the search response wrapper
    • createSearchResponseWrapper

      protected void createSearchResponseWrapper(SearchResponseWrapper searchResponseWrapper, SearchResponseMessage searchResponseMessage)
      Create search response wrapper search response wrapper. SHOPPING-INTEGRATION: override this method to populate the passengerTypeMap in the SearchResponseWrapper. This can be used to retrieve the passenger reference used in the response in case the reference data from the request are not present.
      Parameters:
      searchResponseWrapper - the search response wrapper
      searchResponseMessage - the search response message
    • createRequestData

      protected void createRequestData(RestRequestInfo restRequestInfo, FarePriceMessage farePriceMessage)
      Create request data.
      Parameters:
      restRequestInfo - the rest request info
      farePriceMessage - the intelli pricer message
    • getCartToFarePriceMessageConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<AbstractOrderModel,FarePriceMessage> getCartToFarePriceMessageConverter()
      get CartToFarePriceMessageConverter
      Returns:
      get cart to fare price message converter
    • setCartToFarePriceMessageConverter

      public void setCartToFarePriceMessageConverter(de.hybris.platform.servicelayer.dto.converter.Converter<AbstractOrderModel,FarePriceMessage> cartToFarePriceMessageConverter)
      set CartToFarePriceMessageConverter
      Parameters:
      cartToFarePriceMessageConverter - the cart to fare price message converter
    • getTravelCartService

      protected TravelCartService getTravelCartService()
      get cart service
      Returns:
      getTravelCartService travel cart service
    • setTravelCartService

      public void setTravelCartService(TravelCartService travelCartService)
      et TravelCartServices
      Parameters:
      travelCartService - the travel cart service
    • getRestSender

      protected RestSender getRestSender()
      Get RestSender
      Returns:
      RestSender rest sender
    • setRestSender

      public void setRestSender(RestSender restSender)
      set RestSender
      Parameters:
      restSender - the rest sender
    • getConfigurationService

      protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      get ConfigurationService
      Returns:
      ConfigurationService configuration service
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      set ConfigurationService
      Parameters:
      configurationService - the configuration service
    • getShoppingObjectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper getShoppingObjectMapper()
      get ShoppingObjectMapper
      Returns:
      ShoppingObjectMapper shopping object mapper
    • setShoppingObjectMapper

      public void setShoppingObjectMapper(com.fasterxml.jackson.databind.ObjectMapper shoppingObjectMapper)
      set ShoppingObjectMapper
      Parameters:
      shoppingObjectMapper - the shopping object mapper
    • getSearchResponseService

      protected SearchResponseService getSearchResponseService()
      get the SearchResponseService
      Returns:
      SearchResponseService search response service
    • setSearchResponseService

      public void setSearchResponseService(SearchResponseService searchResponseService)
      set SearchResponseService
      Parameters:
      searchResponseService - the search response service