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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildUrlParameters(CartModel cartModel) Returns the string with the url parameters required for the redirect to the fare-selection page.protected CabinClassFacadegetRedirectPath(CartModel cartModel) Returns the redirect path.protected TravellerFacadevoidsetCabinClassFacade(CabinClassFacade cabinClassFacade) voidsetTravellerFacade(TravellerFacade travellerFacade) Methods inherited from class de.hybris.platform.travelacceleratorstorefront.strategies.asm.AbstractASRedirectStrategy
getLocationName, getParentBundleTemplateIdByEntryGroup, getPassengerTypeFacade, getPassengerTypeQuantityList, getSessionService, getTransportOfferingFacade, getTravelBundleTemplateFacade, getTravellerSortStrategy, getUTCDepartureTime, setPassengerTypeFacade, setSessionService, setTransportOfferingFacade, setTravelBundleTemplateFacade, setTravellerSortStrategy
-
Constructor Details
-
ASRedirectForTransportOnlyStrategy
public ASRedirectForTransportOnlyStrategy()
-
-
Method Details
-
getRedirectPath
Description copied from interface:AssistedServiceRedirectByJourneyTypeStrategyReturns the redirect path.- Specified by:
getRedirectPathin interfaceAssistedServiceRedirectByJourneyTypeStrategy- Parameters:
cartModel- as the cart model- Returns:
- a string corresponding to the redirect path
-
buildUrlParameters
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
- Returns:
- the cabinClassFacade
-
setCabinClassFacade
- Parameters:
cabinClassFacade- the cabinClassFacade to set
-
getTravellerFacade
- Returns:
- the travellerFacade
-
setTravellerFacade
- Parameters:
travellerFacade- the travellerFacade to set
-