Class DefaultTravelCheckoutCustomerStrategy
java.lang.Object
de.hybris.platform.commerceservices.strategies.impl.DefaultCheckoutCustomerStrategy
de.hybris.platform.travelservices.strategies.impl.DefaultTravelCheckoutCustomerStrategy
- All Implemented Interfaces:
de.hybris.platform.commerceservices.strategies.CheckoutCustomerStrategy,TravelCheckoutCustomerStrategy
public class DefaultTravelCheckoutCustomerStrategy
extends de.hybris.platform.commerceservices.strategies.impl.DefaultCheckoutCustomerStrategy
implements TravelCheckoutCustomerStrategy
The type Default travel checkout customer strategy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BookingServiceprotected de.hybris.platform.servicelayer.session.SessionServicebooleanisValidBookingForCurrentGuestUser(String bookingReference) Checks if the given booking reference is valid booking for the current guest uservoidsetBookingService(BookingService bookingService) voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) Methods inherited from class de.hybris.platform.commerceservices.strategies.impl.DefaultCheckoutCustomerStrategy
getCartService, getCurrentUserForCheckout, getUserService, isAnonymousCheckout, setCartService, setUserServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.commerceservices.strategies.CheckoutCustomerStrategy
getCurrentUserForCheckout, isAnonymousCheckout
-
Constructor Details
-
DefaultTravelCheckoutCustomerStrategy
public DefaultTravelCheckoutCustomerStrategy()
-
-
Method Details
-
isValidBookingForCurrentGuestUser
Description copied from interface:TravelCheckoutCustomerStrategyChecks if the given booking reference is valid booking for the current guest user- Specified by:
isValidBookingForCurrentGuestUserin interfaceTravelCheckoutCustomerStrategy- Parameters:
bookingReference- the booking reference- Returns:
- boolean boolean
-
getBookingService
- Returns:
- the bookingService
-
setBookingService
- Parameters:
bookingService- the bookingService to set
-
getSessionService
protected de.hybris.platform.servicelayer.session.SessionService getSessionService()- Returns:
- the sessionService
-
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) - Parameters:
sessionService- the sessionService to set
-