Class ASRedirectForTransportOnlyStrategy

java.lang.Object
de.hybris.platform.travelacceleratorstorefront.strategies.asm.AbstractASRedirectStrategy
de.hybris.platform.travelacceleratorstorefront.strategies.asm.ASRedirectForTransportOnlyStrategy
All Implemented Interfaces:
AssistedServiceRedirectByJourneyTypeStrategy
Direct Known Subclasses:
ShoppingASRedirectForTransportOnlyStrategy

public class ASRedirectForTransportOnlyStrategy extends AbstractASRedirectStrategy implements AssistedServiceRedirectByJourneyTypeStrategy
Redirect strategy for transport only journey responsible for building the required url parameters and redirect to the fare selection page.
  • Constructor Details

    • ASRedirectForTransportOnlyStrategy

      public ASRedirectForTransportOnlyStrategy()
  • Method Details

    • getRedirectPath

      public String getRedirectPath(CartModel cartModel)
      Description copied from interface: AssistedServiceRedirectByJourneyTypeStrategy
      Returns the redirect path.
      Specified by:
      getRedirectPath in interface AssistedServiceRedirectByJourneyTypeStrategy
      Parameters:
      cartModel - as the cart model
      Returns:
      a string corresponding to the redirect path
    • buildUrlParameters

      protected String buildUrlParameters(CartModel cartModel)
      Returns the string with the url parameters required for the redirect to the fare-selection page.
      Parameters:
      cartModel - as the cart model
      Returns:
      the string of the url parameters
    • getCabinClassFacade

      protected CabinClassFacade getCabinClassFacade()
      Returns:
      the cabinClassFacade
    • setCabinClassFacade

      public void setCabinClassFacade(CabinClassFacade cabinClassFacade)
      Parameters:
      cabinClassFacade - the cabinClassFacade to set
    • getTravellerFacade

      protected TravellerFacade getTravellerFacade()
      Returns:
      the travellerFacade
    • setTravellerFacade

      public void setTravellerFacade(TravellerFacade travellerFacade)
      Parameters:
      travellerFacade - the travellerFacade to set