Class DefaultBookingFacade
java.lang.Object
de.hybris.platform.travelfacades.facades.impl.DefaultBookingFacade
- All Implemented Interfaces:
BookingFacade
- Direct Known Subclasses:
DefaultShoppingBookingFacade
Implementation class for managing a booking
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptOrder(String orderCode) Performs the acceptance of the order in case the user accepts the new booking suggested by the systembooleanaddRequestToRoomStayBooking(String request, int roomStayRefNumber, String bookingReference) Add an user request against a room stay bookingvoidaddSpecialRequestsForRoomStayBooking(String requestCode, int roomStayRefNumber, String orderCode) Remove an user request from a room stay bookingbooleanamendAddRoom(String orderCode) Deprecated.Deprecated since version 3.0.amendOrder(String orderCode, String guid) Creates a cart from order and attaches it to the session to start amendment processbooleanatleastOneAdultTravellerRemaining(String orderCode, String cancelledTravellerCode) Checks if after cancellation of selected traveller, there will still be at least one adult left in the bookingbooleanbeginPartialOrderCancellation(String bookingReference, OrderEntryType orderEntryType, String guid) Creates a cart from the order without entries of type orderEntryTypebooleanbeginTravellerCancellation(String orderCode, String cancelledTravellerCode, String cancelledTravellerUid, String guid) Creates a cart from order without entries related to travellerDefines a queryString needed to access accommodation details page based on selections that are currently in the cart.voidcancelAccommodationReservation(String orderId) Cancel accommodation part of the order.voidcancelBookingForCurrentUser(String orderId) Performs the cancellation of the order.booleancancelOrder(String orderCode) Performs the cancellation of the order with the given orderCodebooleancancelPartialOrder(PriceData totalToRefund, OrderEntryType orderEntryType) Proceeds with placing an order for cart after the partialCancelOrder has begunprotected voidcancelPartialOrder(OrderModel order, OrderEntryType orderEntryType) Partial cancel of the order.voidcancelTransportReservation(String orderId) Cancel transport part of the order.booleancancelTraveller(PriceData totalToPay) Deprecated.Deprecated since version 2.0.booleancancelTraveller(PriceData totalToPay, PriceData totalToRefund, TravellerData travellerData) Proceeds with placing an order for cart without removed travellerbooleancancelTraveller(PriceData totalToPay, TravellerData travellerData) Deprecated.Deprecated since version 4.0.booleanchangeDatesForAccommodationBooking(String checkInDate, String checkOutDate, AccommodationAvailabilityResponseData accommodationAvailabilityResponse, AccommodationReservationData accommodationReservationData) Methods Changes for dates for accommodation Booking in the cart, create and add RoomRateCartData for each AccommodationAddToCartForm details, and link to the original AccommodationOrderEntryGroupchangeDatesForAccommodationOrderEntryGroup(String checkInDate, String checkOutDate) Changes dates for AccommodationOrderEntryGroups in the cart and returns list of AccommodationOrderEntryGroups in the Cart.protected voidcheckBookingActionEnabled(BookingActionResponseData bookingActionResponseData, String travellerUid) This method checks if the booking actions are enabled.booleancheckBookingJourneyType(String orderCode, BookingJourneyType bookingJourneyType) Checks if the order corresponding to the given orderCode has the same BookingJourneyType attribute than the given one.protected StringcheckGuestAndReturnUid(String lastName, OrderModel orderModel, GuestData guestData) Deprecated.Deprecated since version 4.0.protected voidcheckIfPartialCancelPossible(String orderId, OrderModel order, OrderEntryType orderEntryType) Checks if the transport cancellation possible.protected StringcheckTravellerAndReturnUid(String lastName, OrderModel orderModel, TravellerData travellerData) Deprecated.Deprecated since version 4.0.protected AccommodationOrderEntryGroupModelcollectAccommodationOrderEntryGroup(AccommodationAddToCartForm form, List<AccommodationOrderEntryGroupModel> accommodationOrderEntryGroupModels) Creates a list of RoomRateCartData respective to AccommodationAddToCartFormprotected booleancontainsValidPassengerReference(OrderModel orderModel) Checks if the PASSENGER_REFERENCE is set in session and if its valid for the provided orderprotected ReservationDataconvertOrderModelToReservationData(OrderModel orderModel) protected List<AccommodationAddToCartForm>createAccommodationAddToCartForm(AccommodationAvailabilityResponseData accommodationAvailabilityResponse) protected BookingActionRequestDatacreateBookingActionRequest(String bookingReference, String userId, ActionTypeOption actionType) Builds the global booking action requestcreateRefundPaymentTransaction(PriceData totalToPay) Creates a refund payment transaction based on previous details in cart and current total to pay (which is negative in this case)protected booleanbooleanThis method updates all the RoomRate cart entries that are currently active to have quantity zero, status CHANGED and active flag to falseevaluateCancelBooking(String orderCode) Evaluates if it is possible to cancel the booking.evaluateCancelTraveller(String orderCode, String travellerId) Evaluates if it is possible to remove a traveller from an order with transport entries.protected AccommodationBookingFacadeGets accommodation booking facade.protected AccommodationCartFacadeRetrieves a map of parameters needed to access accommodation details page (accommodation offering, check in date, check out date)protected de.hybris.platform.servicelayer.dto.converter.Converter<AccommodationOrderEntryGroupModel,AccommodationOrderEntryGroupData> Gets accommodation order entry group converter.getAccommodationOrderEntryGroupFromCart(int roomStayRefNum) Gets accommodation order entry group.Returns List of room stay reference numbers of the added roomsgetAccommodationOrderEntryGroupStartingDate(int roomStayRefNumber) Returns an accommodation reservation data specific for Guest Details Page Controller.getAccommodationRoomNameMapping(List<AccommodationReservationData> accommodationReservationDatas) Gets accommodation room name mapping.protected ActionFacadeGets action facade.protected de.hybris.platform.store.services.BaseStoreServiceReturns an accommodation reservation data without room rates per dayprotected AccommodationReservationDatagetBasicAccommodationBookingFromCart(AccommodationReservationPipelineManager accommodationReservationPipelineManager) protected AccommodationReservationPipelineManagerGets basic accommodation reservation pipeline manager.protected GlobalTravelReservationPipelineManagerDeprecated.Deprecated since version 3.0.getBookerEmailID(GlobalTravelReservationData globalReservationData, String lastName, String passengerReference) Performs a validation on the booking, to check if the user is one of the travellers in the booking(only checks last name and passengerReference if additional security is enabled) and returns email id of the booker.getBookingByBookingReference(String bookingReference) Returns ReservationData object for the bookingReference.getBookingByBookingReferenceAndAmendingOrder(String bookingReference) Gets booking based on booking reference, then checks status of booking, IF status is amendment in progress, (that means this is amend order flow) , to get latest order details, it gets the booking which has original order code equal to booking reference, version id is null and status is NOT amendment in progress, i.e.protected DoublegetBookingDiscounts(AbstractOrderModel abstractOrder) Returns the value of applied global discounts, assuming fixed/percentage discounts on carts are the only occurring discountsprotected BookingListFacadeprotected BookingServicegetBookingTotal(String bookingReference) Retrieves the total price of the bookinggetBookingTotalByOrderEntryType(String bookingReference, OrderEntryType orderEntryType) Calculates the booking total amount for the orderEntryType in the abstract ordergetBookingTotals(String bookingReference) Populate aRateDatawith all the totals meant to be presented to the userprotected CancelPenaltiesCalculationServiceGets cancel penalties calculation service.protected de.hybris.platform.servicelayer.dto.converter.Converter<CancelPenaltyModel,CancelPenaltyData> getChangeDatePaymentResults(AccommodationReservationData accommodationReservationData, AccommodationAvailabilityResponseData accommodationAvailabilityResponse) getChangeDatePaymentResultsMap(AccommodationReservationData accommodationReservationData, AccommodationAvailabilityResponseData accommodationAvailabilityResponse) Provides the payment information for The change date functionality.protected de.hybris.platform.commercefacades.order.CheckoutFacadeprotected TravelCommerceCheckoutServiceGets commerce checkout service.protected de.hybris.platform.servicelayer.i18n.CommonI18NServiceprotected de.hybris.platform.servicelayer.config.ConfigurationServiceGets configuration service.Deprecated.Deprecated since version 3.0.Deprecated.Deprecated since version 3.0.Deprecated.Deprecated since version 3.0.Gets current user uid.protected TravelCustomerAccountServiceGets customer account service.protected List<OrderModel>protected StringgetCustomerUid(OrderModel orderModel) Deprecated.Deprecated since version 4.0.protected DategetDateForComparison(GlobalTravelReservationData globalTravelReservationData) Deprecated.Deprecated since version 3.0.getDisruptedReservation(String bookingReference) Gets disrupted reservation which only has the items that have been disruptedprotected de.hybris.platform.enumeration.EnumerationServiceGets the enumeration service.getFullAccommodationBooking(String bookingReference) Returns an accommodation reservation data fully populated with room rates per daygetFullAccommodationBookingForAmendOrder(String bookingReference) Returns an accommodation reservation data fully populated with room rates per day.protected AccommodationReservationPipelineManagerGets full accommodation reservation pipeline manager.getGlobalTravelReservationData(String bookingReference) Returns an global reservation data fully populatedprotected de.hybris.platform.servicelayer.dto.converter.Converter<GuaranteeModel,GuaranteeData> protected de.hybris.platform.servicelayer.dto.converter.Converter<PassengerTypeQuantityData,GuestCountModel> protected GuestCountServiceprotected AccommodationReservationPipelineManagergetGuestOccupanciesFromCart(int roomStayRefNum) Returns guest occupancies from an accommodation or the rate plan if available or returns the minimum of two if both are available using the room stay reference numberprotected de.hybris.platform.servicelayer.dto.converter.Converter<GuestOccupancyModel,GuestOccupancyData> protected de.hybris.platform.servicelayer.model.ModelServiceGets model service.Returns List of room stay reference numbers of the newly added roomsReturns only the room stays that have all associated entries with AmendStatus set to NEWReturns the next scheduled transportOffering data from current customer's active bookingsprotected List<OrderStatus>getNotRefundableAmount(String bookingReference) Returns a {@link PriceData) representing the total amount that has been paid but cannot be refundedReturns List of room stay reference numbers of the old added active roomsReturns only the room stays that have all associated ACTIVE entries with AmendStatus set to SAME.protected StringgetOrderNumberForComparison(GlobalTravelReservationData globalTravelReservationData) Deprecated.Deprecated since version 3.0.protected IntegergetOrderStatusValue(String orderStatusCode) Deprecated.Deprecated since version 3.0.Deprecated.Deprecated since version 3.0.getOrderTotalPaid(String bookingReference) Returns Total Paid for the bookinggetOrderTotalPaidForOrderEntryType(String bookingReference, OrderEntryType orderEntryType) Returns the total amount already paid for the given orderEntryType and the given bookingReferenceCalculates the total to pay for change dates for the order in cartgetOrderTotalToPayForOrderEntryType(String bookingReference, OrderEntryType orderEntryType) Returns the total amount to be paid for the given orderEntryType and the given bookingReferenceprotected de.hybris.platform.commercefacades.product.PriceDataFactoryDeprecated.Deprecated since version 3.0.Calculates the total to refund for cancelled travellergetRefundTotal(String orderCode) Returns the total amount to be refundedgetRefundTotal(String orderCode, OrderEntryType orderEntryType) Returns the total amount to refund based on the given OrderEntryTypeprotected ReservationFacadeprotected ReservationPipelineManagerDeprecated.Deprecated since version 3.0.protected RoomPreferenceServicegetRoomStayRefNumberForOrderEntry(Integer entryNumber) Gets room stay ref number for order entry.getRoomStaysGuaranteesFromCart(int roomStayRefNum) Gets guarantees applied to the given room stays in the cart.getRoomStaysPenaltiesFromCart(int roomStayRefNum) Gets cancel penalties applied to the given room stays in the cart.protected de.hybris.platform.servicelayer.session.SessionServiceprotected de.hybris.platform.servicelayer.dto.converter.Converter<SpecialRequestDetailModel,SpecialRequestDetailData> Gets special request details converter.getSpecialRequestsForRoomStayBooking(int roomStayRefNumber, String orderCode) Get an user request against a room stay bookingprotected de.hybris.platform.servicelayer.time.TimeServiceGets time service.protected PriceDatagetTotalCancelPenaltiesByEntryType(OrderModel orderModel, OrderEntryType orderEntryType) Gets the total amount of cancel penalties in the order by entry type.Converts current cart to retrieve totalToPay valueprotected TransactionCalculationStrategyGets transaction calculation strategy.protected TravelCartFacadeGets travel cart facade.protected TravelCartServiceprotected TravelCheckoutCustomerStrategyGets travel checkout customer strategy.protected TravelCommercePriceFacadeprotected GlobalTravelReservationPipelineManagerprotected TravelOrderCodeIdentificationStrategyGets travel order code identification strategy.protected de.hybris.platform.servicelayer.user.UserServiceDeprecated.Deprecated since version 3.0.Deprecated.Deprecated since version 3.0.booleanisAdditionalSecurityActive(String bookingReference) Checks whether the order has the additional security flag set to trueisAmendment(String bookingReference) Checks whether the order is a result of an amendmentbooleanisCancelPossible(String orderCode) Check if the cancel order is possible for the order with the given orderCodebooleanisCurrentCartOfType(String bookingType) Checks if is current cart of type.booleanisCurrentUserTheOwner(CustomerModel currentCustomer, OrderModel orderModel) booleanisOrderOfType(String bookingReference, String bookingType) Checks if is current cart of type.isRoomStayRefValid(int roomStayRefNumber) Is room stay ref valid boolean.isUserOrderOwner(String bookingReference) Check whether the current user is the owner of the booking referencevoidmapOrderToUserAccount(String bookingReferenceNumber) Maps an order to a user if the user is not an owner and the order hasn't been linked alreadybooleanPlace orderprotected voidplaceOrder(CartModel cart) Place order.booleanremoveRequestFromRoomStayBooking(String requestCode, int roomStayRefNumber, String bookingReference) Remove an user request from a room stay bookingvoidremoveSpecialRequestsForRoomStayBooking(String requestCode, int roomStayRefNumber, String orderCode) Remove an user request from a room stay bookingvoidsetAccommodationBookingFacade(AccommodationBookingFacade accommodationBookingFacade) Sets accommodation booking facade.voidsetAccommodationCartFacade(AccommodationCartFacade accommodationCartFacade) voidsetAccommodationOrderEntryGroupConverter(de.hybris.platform.servicelayer.dto.converter.Converter<AccommodationOrderEntryGroupModel, AccommodationOrderEntryGroupData> accommodationOrderEntryGroupConverter) Sets accommodation order entry group converter.voidsetActionFacade(ActionFacade actionFacade) Sets action facade.voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetBasicAccommodationReservationPipelineManager(AccommodationReservationPipelineManager basicAccommodationReservationPipelineManager) Sets basic accommodation reservation pipeline manager.voidsetBasicGlobalTravelReservationPipelineManager(GlobalTravelReservationPipelineManager basicGlobalTravelReservationPipelineManager) Deprecated.Deprecated since version 3.0.voidsetBookingListFacade(BookingListFacade bookingListFacade) voidsetBookingService(BookingService bookingService) voidsetCalculatePaymentTypeForChangeDatesStrategy(CalculatePaymentTypeForChangeDatesStrategy calculatePaymentTypeForChangeDatesStrategy) voidsetCancelPenaltiesCalculationService(CancelPenaltiesCalculationService cancelPenaltiesCalculationService) Sets cancel penalties calculation service.voidsetCancelPenaltiesDescriptionCreationStrategy(CancelPenaltiesDescriptionCreationStrategy cancelPenaltiesDescriptionCreationStrategy) voidsetCancelPenaltyConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CancelPenaltyModel, CancelPenaltyData> cancelPenaltyConverter) voidsetCheckoutFacade(de.hybris.platform.commercefacades.order.CheckoutFacade checkoutFacade) voidsetCommerceCheckoutService(TravelCommerceCheckoutService commerceCheckoutService) Sets commerce checkout service.voidsetCommonI18NService(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.voidsetCustomerAccountService(TravelCustomerAccountService customerAccountService) Sets customer account service.voidsetEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService) Sets the enumeration service.voidsetFullAccommodationReservationPipelineManager(AccommodationReservationPipelineManager fullAccommodationReservationPipelineManager) Sets full accommodation reservation pipeline manager.voidsetGuaranteeConverter(de.hybris.platform.servicelayer.dto.converter.Converter<GuaranteeModel, GuaranteeData> guaranteeConverter) voidsetGuestCountReverseConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PassengerTypeQuantityData, GuestCountModel> guestCountReverseConverter) voidsetGuestCountService(GuestCountService guestCountService) voidsetGuestDetailsAccommodationReservationPipelineManager(AccommodationReservationPipelineManager guestDetailsAccommodationReservationPipelineManager) voidsetGuestOccupancyConverter(de.hybris.platform.servicelayer.dto.converter.Converter<GuestOccupancyModel, GuestOccupancyData> guestOccupancyConverter) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) Sets model service.voidsetNotAllowedStatuses(List<OrderStatus> notAllowedStatuses) voidsetOrderStatusValueMap(Map<String, Integer> orderStatusValueMap) Sets order status value map.voidsetPriceDataFactory(de.hybris.platform.commercefacades.product.PriceDataFactory priceDataFactory) Deprecated.Deprecated since version 3.0.voidsetReservationFacade(ReservationFacade reservationFacade) voidsetReservationItemPipelineManager(ReservationPipelineManager reservationItemPipelineManager) Deprecated.Deprecated since version 3.0.voidsetRoomPreferenceService(RoomPreferenceService roomPreferenceService) voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) voidsetSpecialRequestDetailsConverter(de.hybris.platform.servicelayer.dto.converter.Converter<SpecialRequestDetailModel, SpecialRequestDetailData> specialRequestDetailsConverter) Sets special request details converter.voidsetTimeService(de.hybris.platform.servicelayer.time.TimeService timeService) Sets time service.voidsetTransactionCalculationStrategy(TransactionCalculationStrategy transactionCalculationStrategy) Sets transaction calculation strategy.voidsetTravelCartFacade(TravelCartFacade travelCartFacade) Sets travel cart facade.voidsetTravelCartService(TravelCartService travelCartService) voidsetTravelCheckoutCustomerStrategy(TravelCheckoutCustomerStrategy travelCheckoutCustomerStrategy) Sets travel checkout customer strategy.voidsetTravelCommercePriceFacade(TravelCommercePriceFacade travelCommercePriceFacade) voidsetTravelOfferingStatusSearchPipelineManager(GlobalTravelReservationPipelineManager travelOfferingStatusSearchPipelineManager) voidsetTravelOrderCodeIdentificationStrategy(TravelOrderCodeIdentificationStrategy travelOrderCodeIdentificationStrategy) Sets travel order code identification strategy.voidsetUserService(de.hybris.platform.servicelayer.user.UserService userService) protected List<AccommodationReservationData>sortAccommodationBookings(List<AccommodationReservationData> myBookings) Deprecated.Deprecated since version 3.0.protected List<ReservationData>sortBookings(List<ReservationData> myBookings) Deprecated.Deprecated since version 3.0.protected List<GlobalTravelReservationData>sortTravelBookings(List<GlobalTravelReservationData> myBookings) Deprecated.Deprecated since version 3.0.booleanunlinkBooking(String orderCode) Flags the booking as not visible to customer accountupdateAccommodationOrderEntryGroup(int roomStayRefNum, GuestData guestData, List<PassengerTypeQuantityData> passengerTypeQuantityData, List<String> roomPreferenceCodes, String checkInTime) Updates AccommodationOrderEntryGroup with guest detailsupdateAccommodationOrderEntryGroup(int roomStayRefNum, List<String> roomPreferenceCodes) Updates AccommodationOrderEntryGroup with guest room preferencesvoidvalidateAmendmentAction(String orderId, ActionTypeOption transportAmendmentAction, ActionTypeOption accommodationAmendmentAction, ActionTypeOption globalAmendmentAction, String travellerUId) Returns the valid actions for the given booking reference and global reservation data for the given uservalidateAndReturnBookerEmailId(String bookingReference, String lastName) Deprecated.Deprecated since version 4.0.booleanvalidateB2BUser(CustomerModel currentCustomer, OrderModel orderModel) Validate b 2 b user boolean.protected voidvalidateMaxNumberOfSpecialRequest(int roomStayRefNumber, OrderModel orderModel) Validate if max number of requests exceedsprotected voidvalidateRoomStayRefNumber(int roomStayRefNumber, OrderModel orderModel) Validate if max number of requests exceedsprotected voidvalidateServiceRequestCode(String requestCode, int roomStayRefNumber, OrderModel orderModel) Validate if max number of requests exceedsbooleanvalidateUserForBooking(String bookingReference) For a logged in user, this method validates if the supplied booking reference belongs to one of the reservations made by the customer.booleanvalidateUserForCheckout(String bookingReference) This method validates if the supplied booking reference belongs to one of the reservations made by the customer for logged-in users or if booking reference is valid for current guest user during checkout.
-
Constructor Details
-
DefaultBookingFacade
public DefaultBookingFacade()
-
-
Method Details
-
getBookingByBookingReference
Description copied from interface:BookingFacadeReturns ReservationData object for the bookingReference. Extracts the OrderModel using bookingReference and converts to ReservationData.- Specified by:
getBookingByBookingReferencein interfaceBookingFacade- Parameters:
bookingReference- a String representing bookingReference Number- Returns:
- ReservationData object.
-
getFullAccommodationBooking
Description copied from interface:BookingFacadeReturns an accommodation reservation data fully populated with room rates per day- Specified by:
getFullAccommodationBookingin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- full accommodation booking
-
getGlobalTravelReservationData
Description copied from interface:BookingFacadeReturns an global reservation data fully populated- Specified by:
getGlobalTravelReservationDatain interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- global travel reservation data
-
getBasicAccommodationBookingFromCart
Description copied from interface:BookingFacadeReturns an accommodation reservation data without room rates per day- Specified by:
getBasicAccommodationBookingFromCartin interfaceBookingFacade- Returns:
- basic accommodation booking from cart
-
getAccommodationReservationDataForGuestDetailsFromCart
Description copied from interface:BookingFacadeReturns an accommodation reservation data specific for Guest Details Page Controller.- Specified by:
getAccommodationReservationDataForGuestDetailsFromCartin interfaceBookingFacade- Returns:
- accommodation booking from cart.
-
getBasicAccommodationBookingFromCart
protected AccommodationReservationData getBasicAccommodationBookingFromCart(AccommodationReservationPipelineManager accommodationReservationPipelineManager) -
getGuestOccupanciesFromCart
Description copied from interface:BookingFacadeReturns guest occupancies from an accommodation or the rate plan if available or returns the minimum of two if both are available using the room stay reference number- Specified by:
getGuestOccupanciesFromCartin interfaceBookingFacade- Parameters:
roomStayRefNum- the room stay ref num- Returns:
- guest occupancies from cart
-
amendAddRoom
Deprecated.Deprecated since version 3.0.Description copied from interface:BookingFacadeCreates a cart from order and attaches it to the session to start add room amendment process- Specified by:
amendAddRoomin interfaceBookingFacade- Parameters:
orderCode- the order code- Returns:
-
buildAccommodationDetailsQueryFromCart
Description copied from interface:BookingFacadeDefines a queryString needed to access accommodation details page based on selections that are currently in the cart.- Specified by:
buildAccommodationDetailsQueryFromCartin interfaceBookingFacade- Returns:
- string string
-
getAccommodationDetailsParametersFromCart
Description copied from interface:BookingFacadeRetrieves a map of parameters needed to access accommodation details page (accommodation offering, check in date, check out date)- Specified by:
getAccommodationDetailsParametersFromCartin interfaceBookingFacade- Returns:
- accommodation details parameters
-
getNewReservedRoomStays
Description copied from interface:BookingFacadeReturns only the room stays that have all associated entries with AmendStatus set to NEW- Specified by:
getNewReservedRoomStaysin interfaceBookingFacade- Returns:
- new reserved room stays
-
getOldReservedRoomStays
Description copied from interface:BookingFacadeReturns only the room stays that have all associated ACTIVE entries with AmendStatus set to SAME.- Specified by:
getOldReservedRoomStaysin interfaceBookingFacade- Returns:
- old reserved room stays
-
getAccommodationOrderEntryGroupRefs
Description copied from interface:BookingFacadeReturns List of room stay reference numbers of the added rooms- Specified by:
getAccommodationOrderEntryGroupRefsin interfaceBookingFacade- Returns:
- accommodation order entry group refs
-
getNewAccommodationOrderEntryGroupRefs
Description copied from interface:BookingFacadeReturns List of room stay reference numbers of the newly added rooms- Specified by:
getNewAccommodationOrderEntryGroupRefsin interfaceBookingFacade- Returns:
- new accommodation order entry group refs
-
getOldAccommodationOrderEntryGroupRefs
Description copied from interface:BookingFacadeReturns List of room stay reference numbers of the old added active rooms- Specified by:
getOldAccommodationOrderEntryGroupRefsin interfaceBookingFacade- Returns:
- old accommodation order entry group refs
-
updateAccommodationOrderEntryGroup
public Boolean updateAccommodationOrderEntryGroup(int roomStayRefNum, GuestData guestData, List<PassengerTypeQuantityData> passengerTypeQuantityData, List<String> roomPreferenceCodes, String checkInTime) Description copied from interface:BookingFacadeUpdates AccommodationOrderEntryGroup with guest details- Specified by:
updateAccommodationOrderEntryGroupin interfaceBookingFacade- Parameters:
roomStayRefNum- the room stay ref numguestData- the guest datapassengerTypeQuantityData- the passenger type quantity dataroomPreferenceCodes- the room preference datacheckInTime- the check in time- Returns:
- boolean boolean
-
updateAccommodationOrderEntryGroup
public Boolean updateAccommodationOrderEntryGroup(int roomStayRefNum, List<String> roomPreferenceCodes) Description copied from interface:BookingFacadeUpdates AccommodationOrderEntryGroup with guest room preferences- Specified by:
updateAccommodationOrderEntryGroupin interfaceBookingFacade- Parameters:
roomStayRefNum- the room stay ref numroomPreferenceCodes- the room preference data- Returns:
- boolean true if updated
-
validateUserForBooking
Description copied from interface:BookingFacadeFor a logged in user, this method validates if the supplied booking reference belongs to one of the reservations made by the customer. For guest users it validates if the given booking reference matches with the booking reference used to login in the Manage My Booking component.- Specified by:
validateUserForBookingin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- boolean boolean
-
validateB2BUser
Description copied from interface:BookingFacadeValidate b 2 b user boolean.- Specified by:
validateB2BUserin interfaceBookingFacade- Parameters:
currentCustomer- the current customerorderModel- the order model- Returns:
- boolean validate b2b user against order to grant access
-
isUserOrderOwner
Description copied from interface:BookingFacadeCheck whether the current user is the owner of the booking reference- Specified by:
isUserOrderOwnerin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- boolean boolean
-
validateUserForCheckout
Description copied from interface:BookingFacadeThis method validates if the supplied booking reference belongs to one of the reservations made by the customer for logged-in users or if booking reference is valid for current guest user during checkout.- Specified by:
validateUserForCheckoutin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- boolean boolean
-
containsValidPassengerReference
Checks if the PASSENGER_REFERENCE is set in session and if its valid for the provided order- Parameters:
orderModel- the order model- Returns:
-
getBookingByBookingReferenceAndAmendingOrder
Description copied from interface:BookingFacadeGets booking based on booking reference, then checks status of booking, IF status is amendment in progress, (that means this is amend order flow) , to get latest order details, it gets the booking which has original order code equal to booking reference, version id is null and status is NOT amendment in progress, i.e. the clone of original order(new order). ELSE returns booking retrieved based on booking reference- Specified by:
getBookingByBookingReferenceAndAmendingOrderin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- booking by booking reference and amending order
-
getFullAccommodationBookingForAmendOrder
public AccommodationReservationData getFullAccommodationBookingForAmendOrder(String bookingReference) Description copied from interface:BookingFacadeReturns an accommodation reservation data fully populated with room rates per day. IF status is amendment in progress, (that means this is amend order flow) , to get latest order details, it gets the booking which has original order code equal to booking reference, version id is null and status is NOT amendment in progress, i.e. the clone of original order(new order). ELSE returns booking retrieved based on booking reference- Specified by:
getFullAccommodationBookingForAmendOrderin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- booking by booking reference and amending order
-
convertOrderModelToReservationData
-
validateAndReturnBookerEmailId
Deprecated.Deprecated since version 4.0. useDefaultReservationFacade.retrieveGlobalReservationData(String)andgetBookerEmailID(GlobalTravelReservationData, String, String)Description copied from interface:BookingFacadePerforms a validation on the booking, to check if the user is one of the travellers in the booking(only checks last name) and returns email id of the booker.- Specified by:
validateAndReturnBookerEmailIdin interfaceBookingFacade- Parameters:
bookingReference- a String representing bookingReference NumberlastName- a string representing lastName of the user.- Returns:
- String EmailId.
-
getBookerEmailID
public String getBookerEmailID(GlobalTravelReservationData globalReservationData, String lastName, String passengerReference) Description copied from interface:BookingFacadePerforms a validation on the booking, to check if the user is one of the travellers in the booking(only checks last name and passengerReference if additional security is enabled) and returns email id of the booker.- Specified by:
getBookerEmailIDin interfaceBookingFacade- Parameters:
globalReservationData- a GlobalTravelReservationDatalastName- a string representing lastName of the user.passengerReference- a string representing passengerReference.- Returns:
- booker email id
-
checkTravellerAndReturnUid
@Deprecated protected String checkTravellerAndReturnUid(String lastName, OrderModel orderModel, TravellerData travellerData) Deprecated.Deprecated since version 4.0. useDefaultReservationFacade.checkTraveller(String, TravellerData)Check traveller and return uid string.- Parameters:
lastName- the last nameorderModel- the order modeltravellerData- the traveller data- Returns:
- the string
-
checkGuestAndReturnUid
@Deprecated protected String checkGuestAndReturnUid(String lastName, OrderModel orderModel, GuestData guestData) Deprecated.Deprecated since version 4.0. useDefaultAccommodationBookingFacade.checkGuest(String, GuestData)Check guest and return uid string.- Parameters:
lastName- the last nameorderModel- the order modelguestData- the guest data- Returns:
- the string
-
getCustomerUid
Deprecated.Deprecated since version 4.0. useDefaultAccommodationBookingFacade.getCustomerUid(CustomerData)Gets customer uid.- Parameters:
orderModel- the order model- Returns:
- the customer uid
-
getCurrentCustomerBookings
Deprecated.Deprecated since version 3.0.Description copied from interface:BookingFacadeReturns a list of reservation data which corresponds to all the bookings of the current customer in session. In future release this method has been moved to {@link= BookingListFacade}- Specified by:
getCurrentCustomerBookingsin interfaceBookingFacade- Returns:
-
getCurrentCustomerAccommodationBookings
Deprecated.Deprecated since version 3.0.Description copied from interface:BookingFacadeReturns a list of accommodation reservation data which corresponds to all accommodation bookings of the current customer in session In future release this method has been moved to {@link= BookingListFacade}- Specified by:
getCurrentCustomerAccommodationBookingsin interfaceBookingFacade- Returns:
-
getVisibleCurrentCustomerAccommodationBookings
@Deprecated public List<AccommodationReservationData> getVisibleCurrentCustomerAccommodationBookings()Deprecated.Deprecated since version 3.0.Description copied from interface:BookingFacadeReturns only the accommodation bookings visible to the current user In future release this method has been moved to {@link= BookingListFacade}- Specified by:
getVisibleCurrentCustomerAccommodationBookingsin interfaceBookingFacade- Returns:
-
getBookingTotal
Description copied from interface:BookingFacadeRetrieves the total price of the booking- Specified by:
getBookingTotalin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- booking total
-
getCurrentCustomerTravelBookings
Deprecated.Deprecated since version 3.0.Description copied from interface:BookingFacadeReturns a list of global travel reservation data which corresponds to all travel bookings of the current customer in session In future release this method has been moved to {@link= BookingListFacade}- Specified by:
getCurrentCustomerTravelBookingsin interfaceBookingFacade- Returns:
-
getVisibleCurrentCustomerTravelBookings
Deprecated.Deprecated since version 3.0.Description copied from interface:BookingFacadeReturns only the bookings visible to the current user In future release this method has been moved to {@link= BookingListFacade}- Specified by:
getVisibleCurrentCustomerTravelBookingsin interfaceBookingFacade- Returns:
-
getCustomerOrders
-
getNextScheduledTransportOfferingData
Description copied from interface:BookingFacadeReturns the next scheduled transportOffering data from current customer's active bookings- Specified by:
getNextScheduledTransportOfferingDatain interfaceBookingFacade- Returns:
- current customer's scheduled transportOffering data
-
sortBookings
Deprecated.Deprecated since version 3.0.Sorts users booking by departure time ascending and puts active bookings first In future release this method has been moved to {@link= DefaultBookingListFacade}- Parameters:
myBookings-- Returns:
- sorted bookings list
-
sortAccommodationBookings
@Deprecated protected List<AccommodationReservationData> sortAccommodationBookings(List<AccommodationReservationData> myBookings) Deprecated.Deprecated since version 3.0.Sorts users booking by departure time ascending In future release this method has been moved to {@link= DefaultBookingListFacade}- Parameters:
myBookings-- Returns:
- sorted bookings list
-
sortTravelBookings
@Deprecated protected List<GlobalTravelReservationData> sortTravelBookings(List<GlobalTravelReservationData> myBookings) Deprecated.Deprecated since version 3.0.Sorts users booking by departure time ascending In future release this method has been moved to {@link= DefaultBookingListFacade}- Parameters:
myBookings-- Returns:
- sorted bookings list
-
getDateForComparison
@Deprecated protected Date getDateForComparison(GlobalTravelReservationData globalTravelReservationData) Deprecated.Deprecated since version 3.0.Provides date which is to be used for Sorting bookings for Travel. In future release this method has been moved to {@link= DefaultBookingListFacade}- Parameters:
globalTravelReservationData-- Returns:
- date
-
getOrderNumberForComparison
@Deprecated protected String getOrderNumberForComparison(GlobalTravelReservationData globalTravelReservationData) Deprecated.Deprecated since version 3.0.- Parameters:
globalTravelReservationData-- Returns:
-
amendOrder
Description copied from interface:BookingFacadeCreates a cart from order and attaches it to the session to start amendment process- Specified by:
amendOrderin interfaceBookingFacade- Parameters:
orderCode- - code of the order which will be amendedguid- the guid- Returns:
- true if there were no errors when starting amendment process
-
changeDatesForAccommodationBooking
public boolean changeDatesForAccommodationBooking(String checkInDate, String checkOutDate, AccommodationAvailabilityResponseData accommodationAvailabilityResponse, AccommodationReservationData accommodationReservationData) Description copied from interface:BookingFacadeMethods Changes for dates for accommodation Booking in the cart, create and add RoomRateCartData for each AccommodationAddToCartForm details, and link to the original AccommodationOrderEntryGroup- Specified by:
changeDatesForAccommodationBookingin interfaceBookingFacade- Parameters:
checkInDate- the check in datecheckOutDate- the check out dateaccommodationAvailabilityResponse- object of accommodationAvailabilityResponseaccommodationReservationData- object of accommodationReservationData- Returns:
- Success /Failure true/false
-
createAccommodationAddToCartForm
protected List<AccommodationAddToCartForm> createAccommodationAddToCartForm(AccommodationAvailabilityResponseData accommodationAvailabilityResponse) -
deleteExtraProductsFromCart
protected boolean deleteExtraProductsFromCart() -
deleteRoomRateEntries
public boolean deleteRoomRateEntries()Description copied from interface:BookingFacadeThis method updates all the RoomRate cart entries that are currently active to have quantity zero, status CHANGED and active flag to false- Specified by:
deleteRoomRateEntriesin interfaceBookingFacade- Returns:
- boolean to indicate whether update operation was successful
-
changeDatesForAccommodationOrderEntryGroup
public List<AccommodationOrderEntryGroupModel> changeDatesForAccommodationOrderEntryGroup(String checkInDate, String checkOutDate) Description copied from interface:BookingFacadeChanges dates for AccommodationOrderEntryGroups in the cart and returns list of AccommodationOrderEntryGroups in the Cart.- Specified by:
changeDatesForAccommodationOrderEntryGroupin interfaceBookingFacade- Parameters:
checkInDate- the check in datecheckOutDate- the check out date- Returns:
- accommodationOrderEntryGroupModels list of AccommodationOrderEntryGroupModel
-
createRefundPaymentTransaction
Description copied from interface:BookingFacadeCreates a refund payment transaction based on previous details in cart and current total to pay (which is negative in this case)- Specified by:
createRefundPaymentTransactionin interfaceBookingFacade- Parameters:
totalToPay- the total amount to be refunded- Returns:
- TRUE is refund was successful
-
isCancelPossible
Description copied from interface:BookingFacadeCheck if the cancel order is possible for the order with the given orderCode- Specified by:
isCancelPossiblein interfaceBookingFacade- Parameters:
orderCode- as the code of the order to be cancelled- Returns:
- true if the cancellation is possible, false otherwise
-
getRefundTotal
Description copied from interface:BookingFacadeReturns the total amount to be refunded- Specified by:
getRefundTotalin interfaceBookingFacade- Parameters:
orderCode- as the code of the order to be cancelled- Returns:
- the PriceData corresponding to the amount to be refunded
-
getRefundForCancelledTraveller
Description copied from interface:BookingFacadeCalculates the total to refund for cancelled traveller- Specified by:
getRefundForCancelledTravellerin interfaceBookingFacade- Returns:
- refund for cancelled traveller
-
getBookingTotals
Description copied from interface:BookingFacadePopulate aRateDatawith all the totals meant to be presented to the user- Specified by:
getBookingTotalsin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- booking totals
-
getBookingDiscounts
Returns the value of applied global discounts, assuming fixed/percentage discounts on carts are the only occurring discounts- Parameters:
abstractOrder-- Returns:
-
getRefundTotal
Description copied from interface:BookingFacadeReturns the total amount to refund based on the given OrderEntryType- Specified by:
getRefundTotalin interfaceBookingFacade- Parameters:
orderCode- as the code of the order to cancelorderEntryType- as the orderEntryType- Returns:
- the PriceData corresponding to the amount to refund
-
cancelOrder
Description copied from interface:BookingFacadePerforms the cancellation of the order with the given orderCode- Specified by:
cancelOrderin interfaceBookingFacade- Parameters:
orderCode- as the code of the order to be cancelled- Returns:
- true if the cancellation of the order was successful, false otherwise
-
beginTravellerCancellation
public boolean beginTravellerCancellation(String orderCode, String cancelledTravellerCode, String cancelledTravellerUid, String guid) Description copied from interface:BookingFacadeCreates a cart from order without entries related to traveller- Specified by:
beginTravellerCancellationin interfaceBookingFacade- Parameters:
orderCode- the order codecancelledTravellerCode- the cancelled traveller codecancelledTravellerUid- the cancelled traveller uidguid- the guid- Returns:
- TRUE if cart creation was correct
-
getTotalToPay
Description copied from interface:BookingFacadeConverts current cart to retrieve totalToPay value- Specified by:
getTotalToPayin interfaceBookingFacade- Returns:
- total to pay
-
getOrderTotalPaid
Description copied from interface:BookingFacadeReturns Total Paid for the booking- Specified by:
getOrderTotalPaidin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- order total paid
-
getBookingTotalByOrderEntryType
public PriceData getBookingTotalByOrderEntryType(String bookingReference, OrderEntryType orderEntryType) Description copied from interface:BookingFacadeCalculates the booking total amount for the orderEntryType in the abstract order- Specified by:
getBookingTotalByOrderEntryTypein interfaceBookingFacade- Parameters:
bookingReference- the booking referenceorderEntryType- the orderEntryType- Returns:
- totalAmount booking total by order entry type
-
checkBookingJourneyType
Description copied from interface:BookingFacadeChecks if the order corresponding to the given orderCode has the same BookingJourneyType attribute than the given one.- Specified by:
checkBookingJourneyTypein interfaceBookingFacade- Parameters:
orderCode- as the order codebookingJourneyType- as the bookingJourneyType- Returns:
- true if the order corresponding to the orderCode has the same BookingJourneyType attribute than the given bookingJourneyType, false otherwise.
-
cancelTraveller
Deprecated.Deprecated since version 2.0. UsecancelTraveller(PriceData, TravellerData)instead.Description copied from interface:BookingFacadeProceeds with placing an order for cart without removed traveller- Specified by:
cancelTravellerin interfaceBookingFacade- Parameters:
totalToPay- the total to pay- Returns:
- true if cancellation is successful and a new order is placed
-
cancelTraveller
Deprecated.Deprecated since version 4.0. UsecancelTraveller(PriceData, PriceData, TravellerData)instead.Description copied from interface:BookingFacadeProceeds with placing an order for cart without removed traveller- Specified by:
cancelTravellerin interfaceBookingFacade- Parameters:
totalToPay- the total to paytravellerData- the travellerData to cancel- Returns:
- true if cancellation is successful and a new order is placed
-
cancelTraveller
public boolean cancelTraveller(PriceData totalToPay, PriceData totalToRefund, TravellerData travellerData) Description copied from interface:BookingFacadeProceeds with placing an order for cart without removed traveller- Specified by:
cancelTravellerin interfaceBookingFacade- Parameters:
totalToPay- the total to paytotalToRefund- the total to refundtravellerData- the travellerData to cancel- Returns:
- true if cancellation is successful and a new order is placed
-
getCurrentUserUid
Description copied from interface:BookingFacadeGets current user uid.- Specified by:
getCurrentUserUidin interfaceBookingFacade- Returns:
- String current user uid
-
atleastOneAdultTravellerRemaining
Description copied from interface:BookingFacadeChecks if after cancellation of selected traveller, there will still be at least one adult left in the booking- Specified by:
atleastOneAdultTravellerRemainingin interfaceBookingFacade- Parameters:
orderCode- the order codecancelledTravellerCode- the cancelled traveller code- Returns:
- true if one adult will be on the booking after cancellation of the traveller
-
isAmendment
Description copied from interface:BookingFacadeChecks whether the order is a result of an amendment- Specified by:
isAmendmentin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- true if the order is a result of amendment
-
getDisruptedReservation
Description copied from interface:BookingFacadeGets disrupted reservation which only has the items that have been disrupted- Specified by:
getDisruptedReservationin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- disrupted reservation
-
acceptOrder
Description copied from interface:BookingFacadePerforms the acceptance of the order in case the user accepts the new booking suggested by the system- Specified by:
acceptOrderin interfaceBookingFacade- Parameters:
orderCode- the order code- Returns:
- boolean boolean
-
unlinkBooking
Description copied from interface:BookingFacadeFlags the booking as not visible to customer account- Specified by:
unlinkBookingin interfaceBookingFacade- Parameters:
orderCode- the order code- Returns:
- boolean boolean
-
getOrderStatusValue
Deprecated.Deprecated since version 3.0.- Parameters:
orderStatusCode-- Returns:
-
mapOrderToUserAccount
Description copied from interface:BookingFacadeMaps an order to a user if the user is not an owner and the order hasn't been linked already- Specified by:
mapOrderToUserAccountin interfaceBookingFacade- Parameters:
bookingReferenceNumber- the booking reference number
-
isCurrentUserTheOwner
- Parameters:
currentCustomer-orderModel-- Returns:
- returns true if the current user is the owner
-
addRequestToRoomStayBooking
public boolean addRequestToRoomStayBooking(String request, int roomStayRefNumber, String bookingReference) Description copied from interface:BookingFacadeAdd an user request against a room stay booking- Specified by:
addRequestToRoomStayBookingin interfaceBookingFacade- Parameters:
request- the requestroomStayRefNumber- the room stay ref numberbookingReference- the booking reference- Returns:
- true if the operation of adding the request is successfully performed, false otherwise
-
removeRequestFromRoomStayBooking
public boolean removeRequestFromRoomStayBooking(String requestCode, int roomStayRefNumber, String bookingReference) Description copied from interface:BookingFacadeRemove an user request from a room stay booking- Specified by:
removeRequestFromRoomStayBookingin interfaceBookingFacade- Parameters:
requestCode- the request coderoomStayRefNumber- the room stay ref numberbookingReference- the booking reference- Returns:
- true if the operation of removing the request is successfully performed, false otherwise
-
beginPartialOrderCancellation
public boolean beginPartialOrderCancellation(String bookingReference, OrderEntryType orderEntryType, String guid) Description copied from interface:BookingFacadeCreates a cart from the order without entries of type orderEntryType- Specified by:
beginPartialOrderCancellationin interfaceBookingFacade- Parameters:
bookingReference- the booking referenceorderEntryType- the order entry typeguid- the guid- Returns:
- true if cart creation was correct
-
cancelPartialOrder
Description copied from interface:BookingFacadeProceeds with placing an order for cart after the partialCancelOrder has begun- Specified by:
cancelPartialOrderin interfaceBookingFacade- Parameters:
totalToRefund- the total to refundorderEntryType- the accommodation- Returns:
- true if cancellation is successful and a new order is placed
-
isCurrentCartOfType
Description copied from interface:BookingFacadeChecks if is current cart of type.- Specified by:
isCurrentCartOfTypein interfaceBookingFacade- Parameters:
bookingType- the booking type- Returns:
- true, if current cart is of type
-
isOrderOfType
Description copied from interface:BookingFacadeChecks if is current cart of type.- Specified by:
isOrderOfTypein interfaceBookingFacade- Parameters:
bookingReference- the booking referencebookingType- the booking type- Returns:
- true, if current cart is of type
-
collectAccommodationOrderEntryGroup
protected AccommodationOrderEntryGroupModel collectAccommodationOrderEntryGroup(AccommodationAddToCartForm form, List<AccommodationOrderEntryGroupModel> accommodationOrderEntryGroupModels) Creates a list of RoomRateCartData respective to AccommodationAddToCartForm- Parameters:
form- object of AccommodationAddToCartFormaccommodationOrderEntryGroupModels- list of AccommodationOrderEntryGroupModel- Returns:
- accommodationOrderEntryGroupModel object of AccommodationOrderEntryGroupModel
-
getOrderTotalPaidForOrderEntryType
public BigDecimal getOrderTotalPaidForOrderEntryType(String bookingReference, OrderEntryType orderEntryType) Description copied from interface:BookingFacadeReturns the total amount already paid for the given orderEntryType and the given bookingReference- Specified by:
getOrderTotalPaidForOrderEntryTypein interfaceBookingFacade- Parameters:
bookingReference- the booking referenceorderEntryType- the order entry type- Returns:
- order total paid for order entry type
-
placeOrder
public boolean placeOrder()Description copied from interface:BookingFacadePlace order- Specified by:
placeOrderin interfaceBookingFacade- Returns:
- orderData representing the order
-
getOrderTotalToPayForOrderEntryType
public BigDecimal getOrderTotalToPayForOrderEntryType(String bookingReference, OrderEntryType orderEntryType) Description copied from interface:BookingFacadeReturns the total amount to be paid for the given orderEntryType and the given bookingReference- Specified by:
getOrderTotalToPayForOrderEntryTypein interfaceBookingFacade- Parameters:
bookingReference- the booking referenceorderEntryType- the order entry type- Returns:
- order total to pay for order entry type
-
getOrderTotalToPayForChangeDates
Description copied from interface:BookingFacadeCalculates the total to pay for change dates for the order in cart- Specified by:
getOrderTotalToPayForChangeDatesin interfaceBookingFacade- Returns:
- totalAmountToPay order total to pay for change dates
-
getChangeDatePaymentResultsMap
public Map<String,String> getChangeDatePaymentResultsMap(AccommodationReservationData accommodationReservationData, AccommodationAvailabilityResponseData accommodationAvailabilityResponse) Description copied from interface:BookingFacadeProvides the payment information for The change date functionality. It provides amount paid already paid for order, new amount to be paid/refund(if any) , the payment action required(REFUND,PAYABLE or SAME).- Specified by:
getChangeDatePaymentResultsMapin interfaceBookingFacade- Parameters:
accommodationReservationData- the accommodation reservation dataaccommodationAvailabilityResponse- the accommodation availability response- Returns:
- change date payment results map
-
getChangeDatePaymentResults
public ChangeDateData getChangeDatePaymentResults(AccommodationReservationData accommodationReservationData, AccommodationAvailabilityResponseData accommodationAvailabilityResponse) - Specified by:
getChangeDatePaymentResultsin interfaceBookingFacade- Parameters:
accommodationReservationData- the accommodation reservation dataaccommodationAvailabilityResponse- the accommodation availability response- Returns:
- change date payment Data
-
getNotRefundableAmount
Description copied from interface:BookingFacadeReturns a {@link PriceData) representing the total amount that has been paid but cannot be refunded- Specified by:
getNotRefundableAmountin interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- the not refundable amount
-
isAdditionalSecurityActive
Description copied from interface:BookingFacadeChecks whether the order has the additional security flag set to true- Specified by:
isAdditionalSecurityActivein interfaceBookingFacade- Parameters:
bookingReference- the booking reference- Returns:
- true if the order has the additional security flag set to true
-
isRoomStayRefValid
Description copied from interface:BookingFacadeIs room stay ref valid boolean.- Specified by:
isRoomStayRefValidin interfaceBookingFacade- Parameters:
roomStayRefNumber- the room stay ref number- Returns:
- true if the room stay reference is valid for the given session cart
-
getAccommodationOrderEntryGroupStartingDate
- Specified by:
getAccommodationOrderEntryGroupStartingDatein interfaceBookingFacade- Parameters:
roomStayRefNumber- the room stay ref number- Returns:
- the starting date of AccommodationOrderEntryGroup corresponding to given roomStayRefNumber
-
cancelBookingForCurrentUser
Description copied from interface:BookingFacadePerforms the cancellation of the order.- Specified by:
cancelBookingForCurrentUserin interfaceBookingFacade- Parameters:
orderId- the order id- Throws:
BookingCancelException- in case of errors
-
getAccommodationOrderEntryGroupFromCart
Description copied from interface:BookingFacadeGets accommodation order entry group.- Specified by:
getAccommodationOrderEntryGroupFromCartin interfaceBookingFacade- Parameters:
roomStayRefNum- the room stay ref num- Returns:
- the accommodation order entry group
-
getRoomStayRefNumberForOrderEntry
Description copied from interface:BookingFacadeGets room stay ref number for order entry.- Specified by:
getRoomStayRefNumberForOrderEntryin interfaceBookingFacade- Parameters:
entryNumber- the entry number- Returns:
- the room stay ref number for order entry
-
getRoomStaysGuaranteesFromCart
Description copied from interface:BookingFacadeGets guarantees applied to the given room stays in the cart.- Specified by:
getRoomStaysGuaranteesFromCartin interfaceBookingFacade- Parameters:
roomStayRefNum- the room stay ref num- Returns:
- the list of guarantees
-
getRoomStaysPenaltiesFromCart
Description copied from interface:BookingFacadeGets cancel penalties applied to the given room stays in the cart.- Specified by:
getRoomStaysPenaltiesFromCartin interfaceBookingFacade- Parameters:
roomStayRefNum- the room stay ref num- Returns:
- the list of cancel penalties
-
evaluateCancelBooking
public EvaluateCancelBookingData evaluateCancelBooking(String orderCode) throws BookingCancelException Description copied from interface:BookingFacadeEvaluates if it is possible to cancel the booking. Checks if 1) the order exists and the user has the rights to cancel the booking. 2) the action is allowed by validating the booking actions. 3) the cancel booking is possible by verifying the consignments, if the order has been already delivered and if there is some invalid payment.- Specified by:
evaluateCancelBookingin interfaceBookingFacade- Parameters:
orderCode- the orderCode- Returns:
- The
EvaluateCancelBookingDatacontaining all the breakdowns for the total to refund and penalties for both transport and accommodation reservation. - Throws:
BookingCancelException- if the additional security data is true in the order but the orderId is a orderGuid, or if there are invalid booking actions.
-
validateAmendmentAction
public void validateAmendmentAction(String orderId, ActionTypeOption transportAmendmentAction, ActionTypeOption accommodationAmendmentAction, ActionTypeOption globalAmendmentAction, String travellerUId) throws OrderNotFoundException, TravelOrderValidationException Description copied from interface:BookingFacadeReturns the valid actions for the given booking reference and global reservation data for the given user- Specified by:
validateAmendmentActionin interfaceBookingFacade- Parameters:
orderId- the order idtransportAmendmentAction- the transport amendment actionaccommodationAmendmentAction- the accommodation amendment actionglobalAmendmentAction- the global amendment actiontravellerUId- the uid for the specific traveller to be validated- Throws:
OrderNotFoundException- the order not found exceptionTravelOrderValidationException- the travel order validation exception
-
createBookingActionRequest
protected BookingActionRequestData createBookingActionRequest(String bookingReference, String userId, ActionTypeOption actionType) Builds the global booking action request- Parameters:
bookingReference- the booking referenceuserId- the user idactionType- the action type- Returns:
- booking action request data
-
checkBookingActionEnabled
protected void checkBookingActionEnabled(BookingActionResponseData bookingActionResponseData, String travellerUid) throws TravelOrderValidationException This method checks if the booking actions are enabled.- Parameters:
bookingActionResponseData- the booking action response data- Throws:
TravelOrderValidationException- the travel order validation exception
-
getTotalCancelPenaltiesByEntryType
protected PriceData getTotalCancelPenaltiesByEntryType(OrderModel orderModel, OrderEntryType orderEntryType) Gets the total amount of cancel penalties in the order by entry type.- Parameters:
orderModel- the order id- Returns:
- the total cancel penalties price data
-
cancelTransportReservation
Description copied from interface:BookingFacadeCancel transport part of the order.- Specified by:
cancelTransportReservationin interfaceBookingFacade- Parameters:
orderId- the order id- Throws:
BookingCancelException- in case of errors
-
cancelAccommodationReservation
Description copied from interface:BookingFacadeCancel accommodation part of the order.- Specified by:
cancelAccommodationReservationin interfaceBookingFacade- Parameters:
orderId- the order id- Throws:
BookingCancelException- in case of errors
-
cancelPartialOrder
protected void cancelPartialOrder(OrderModel order, OrderEntryType orderEntryType) throws BookingCancelException Partial cancel of the order.- Parameters:
order- the orderorderEntryType- the order entry type- Throws:
BookingCancelException- in case of errors
-
checkIfPartialCancelPossible
protected void checkIfPartialCancelPossible(String orderId, OrderModel order, OrderEntryType orderEntryType) throws BookingCancelException Checks if the transport cancellation possible.- Parameters:
orderId- the order idorder- the orderorderEntryType- the order entry type- Throws:
BookingCancelException- in case of errors
-
placeOrder
Place order.- Parameters:
cart- the cart- Throws:
BookingCancelException- in case of errors
-
evaluateCancelTraveller
public EvaluateCancelPriceInfoData evaluateCancelTraveller(String orderCode, String travellerId) throws RemoveTravellerException Description copied from interface:BookingFacadeEvaluates if it is possible to remove a traveller from an order with transport entries. Checks if 1) the order exists and the user has the rights to cancel the booking. 2) the action is allowed by validating the booking actions.- Specified by:
evaluateCancelTravellerin interfaceBookingFacade- Parameters:
orderCode- the orderCode- Returns:
- The
EvaluateCancelPriceInfoDatacontaining all the breakdowns for the total to refund and penalties for transport reservation section. - Throws:
RemoveTravellerException- if the additional security data is true in the order but the orderId is a orderGuid, or if the operation is not allowed due to some validations.
-
getSpecialRequestsForRoomStayBooking
public SpecialRequestDetailData getSpecialRequestsForRoomStayBooking(int roomStayRefNumber, String orderCode) throws SpecialRequestException Description copied from interface:BookingFacadeGet an user request against a room stay booking- Specified by:
getSpecialRequestsForRoomStayBookingin interfaceBookingFacade- Parameters:
roomStayRefNumber- the room stay ref numberorderCode- the booking reference- Returns:
- true if the operation of adding the request is successfully performed, false otherwise
- Throws:
SpecialRequestException
-
removeSpecialRequestsForRoomStayBooking
public void removeSpecialRequestsForRoomStayBooking(String requestCode, int roomStayRefNumber, String orderCode) throws SpecialRequestException Description copied from interface:BookingFacadeRemove an user request from a room stay booking- Specified by:
removeSpecialRequestsForRoomStayBookingin interfaceBookingFacade- Parameters:
requestCode- the request coderoomStayRefNumber- the room stay ref numberorderCode- the booking reference- Throws:
SpecialRequestException
-
addSpecialRequestsForRoomStayBooking
public void addSpecialRequestsForRoomStayBooking(String requestCode, int roomStayRefNumber, String orderCode) throws SpecialRequestException Description copied from interface:BookingFacadeRemove an user request from a room stay booking- Specified by:
addSpecialRequestsForRoomStayBookingin interfaceBookingFacade- Parameters:
requestCode- the request coderoomStayRefNumber- the room stay ref numberorderCode- the booking reference- Throws:
SpecialRequestException
-
getAccommodationRoomNameMapping
public Map<String,Map<String, getAccommodationRoomNameMappingInteger>> (List<AccommodationReservationData> accommodationReservationDatas) Description copied from interface:BookingFacadeGets accommodation room name mapping.- Specified by:
getAccommodationRoomNameMappingin interfaceBookingFacade- Parameters:
accommodationReservationDatas- the accommodation reservation datas- Returns:
- the accommodation room name mapping
-
validateRoomStayRefNumber
Validate if max number of requests exceeds- Parameters:
roomStayRefNumber-orderModel-- Throws:
SpecialRequestException
-
validateServiceRequestCode
protected void validateServiceRequestCode(String requestCode, int roomStayRefNumber, OrderModel orderModel) Validate if max number of requests exceeds- Parameters:
requestCode-roomStayRefNumber-orderModel-- Throws:
SpecialRequestException
-
validateMaxNumberOfSpecialRequest
protected void validateMaxNumberOfSpecialRequest(int roomStayRefNumber, OrderModel orderModel) throws SpecialRequestException Validate if max number of requests exceeds- Parameters:
roomStayRefNumber-orderModel-- Throws:
SpecialRequestException
-
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService()- Returns:
- the baseStoreService
-
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) - Parameters:
baseStoreService- the baseStoreService to set
-
getReservationFacade
- Returns:
- the reservationFacade
-
setReservationFacade
- Parameters:
reservationFacade- the reservationFacade to set
-
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService()- Returns:
- UserService
-
setUserService
public void setUserService(de.hybris.platform.servicelayer.user.UserService userService) - Parameters:
userService-
-
getTravelCartService
- Returns:
- the travelCartService
-
setTravelCartService
- Parameters:
travelCartService- the travelCartService to set
-
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
-
getCheckoutFacade
protected de.hybris.platform.commercefacades.order.CheckoutFacade getCheckoutFacade()- Returns:
- the checkoutFacade
-
setCheckoutFacade
public void setCheckoutFacade(de.hybris.platform.commercefacades.order.CheckoutFacade checkoutFacade) - Parameters:
checkoutFacade- the checkoutFacade to set
-
getAccommodationCartFacade
- Returns:
- the accommodationCartFacade
-
setAccommodationCartFacade
- Parameters:
accommodationCartFacade- the accommodationCartFacade to set
-
getPriceDataFactory
@Deprecated protected de.hybris.platform.commercefacades.product.PriceDataFactory getPriceDataFactory()Deprecated.Deprecated since version 3.0.- Returns:
- the priceDataFactory
-
setPriceDataFactory
@Deprecated public void setPriceDataFactory(de.hybris.platform.commercefacades.product.PriceDataFactory priceDataFactory) Deprecated.Deprecated since version 3.0.- Parameters:
priceDataFactory- the priceDataFactory to set
-
getTravelCheckoutCustomerStrategy
Gets travel checkout customer strategy.- Returns:
- the travel checkout customer strategy
-
setTravelCheckoutCustomerStrategy
public void setTravelCheckoutCustomerStrategy(TravelCheckoutCustomerStrategy travelCheckoutCustomerStrategy) Sets travel checkout customer strategy.- Parameters:
travelCheckoutCustomerStrategy- the travel checkout customer strategy
-
getOrderStatusValueMap
Deprecated.Deprecated since version 3.0.Gets order status value map.- Returns:
- the order status value map
-
setOrderStatusValueMap
Sets order status value map.- Parameters:
orderStatusValueMap- the order status value map
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Gets model service.- Returns:
- the model service
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) Sets model service.- Parameters:
modelService- the model service
-
getCustomerAccountService
Gets customer account service.- Returns:
- the customer account service
-
setCustomerAccountService
Sets customer account service.- Parameters:
customerAccountService- the customer account service
-
getBasicAccommodationReservationPipelineManager
Gets basic accommodation reservation pipeline manager.- Returns:
- the basic accommodation reservation pipeline manager
-
setBasicAccommodationReservationPipelineManager
public void setBasicAccommodationReservationPipelineManager(AccommodationReservationPipelineManager basicAccommodationReservationPipelineManager) Sets basic accommodation reservation pipeline manager.- Parameters:
basicAccommodationReservationPipelineManager- the basic accommodation reservation pipeline manager
-
getFullAccommodationReservationPipelineManager
Gets full accommodation reservation pipeline manager.- Returns:
- the full accommodation reservation pipeline manager
-
setFullAccommodationReservationPipelineManager
public void setFullAccommodationReservationPipelineManager(AccommodationReservationPipelineManager fullAccommodationReservationPipelineManager) Sets full accommodation reservation pipeline manager.- Parameters:
fullAccommodationReservationPipelineManager- the full accommodation reservation pipeline manager
-
getGuestCountReverseConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<PassengerTypeQuantityData,GuestCountModel> getGuestCountReverseConverter()- Returns:
- the guestCountReverseConverter
-
setGuestCountReverseConverter
public void setGuestCountReverseConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PassengerTypeQuantityData, GuestCountModel> guestCountReverseConverter) - Parameters:
guestCountReverseConverter- the guestCountReverseConverter to set
-
getGuestOccupancyConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<GuestOccupancyModel,GuestOccupancyData> getGuestOccupancyConverter()- Returns:
- the guestOccupancyConverter
-
setGuestOccupancyConverter
public void setGuestOccupancyConverter(de.hybris.platform.servicelayer.dto.converter.Converter<GuestOccupancyModel, GuestOccupancyData> guestOccupancyConverter) - Parameters:
guestOccupancyConverter- the guestOccupancyConverter to set
-
getRoomPreferenceService
- Returns:
- the roomPreferenceService
-
setRoomPreferenceService
- Parameters:
roomPreferenceService- the roomPreferenceService to set
-
getCommonI18NService
protected de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService()- Returns:
- the commonI18NService
-
setCommonI18NService
public void setCommonI18NService(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService) - Parameters:
commonI18NService- the commonI18NService to set
-
getEnumerationService
protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()Gets the enumeration service.- Returns:
- the enumeration service
-
setEnumerationService
public void setEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService) Sets the enumeration service.- Parameters:
enumerationService- the new enumeration service
-
getTimeService
protected de.hybris.platform.servicelayer.time.TimeService getTimeService()Gets time service.- Returns:
- the time service
-
setTimeService
public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService) Sets time service.- Parameters:
timeService- the time service
-
getCalculatePaymentTypeForChangeDatesStrategy
protected CalculatePaymentTypeForChangeDatesStrategy getCalculatePaymentTypeForChangeDatesStrategy()- Returns:
- the calculatePaymentTypeForChangeDatesStrategy
-
setCalculatePaymentTypeForChangeDatesStrategy
public void setCalculatePaymentTypeForChangeDatesStrategy(CalculatePaymentTypeForChangeDatesStrategy calculatePaymentTypeForChangeDatesStrategy) - Parameters:
calculatePaymentTypeForChangeDatesStrategy- the calculatePaymentTypeForChangeDatesStrategy to set
-
getNotAllowedStatuses
- Returns:
- notAllowedStatuses
-
setNotAllowedStatuses
- Parameters:
notAllowedStatuses- the notAllowedStatuses to set
-
getTravelOfferingStatusSearchPipelineManager
- Returns:
- the travelOfferingStatusSearchPipelineManager
-
setTravelOfferingStatusSearchPipelineManager
public void setTravelOfferingStatusSearchPipelineManager(GlobalTravelReservationPipelineManager travelOfferingStatusSearchPipelineManager) - Parameters:
travelOfferingStatusSearchPipelineManager- the travelOfferingStatusSearchPipelineManager to set
-
getGuestDetailsAccommodationReservationPipelineManager
protected AccommodationReservationPipelineManager getGuestDetailsAccommodationReservationPipelineManager()- Returns:
- the guestDetailsAccommodationReservationPipelineManager
-
setGuestDetailsAccommodationReservationPipelineManager
public void setGuestDetailsAccommodationReservationPipelineManager(AccommodationReservationPipelineManager guestDetailsAccommodationReservationPipelineManager) - Parameters:
guestDetailsAccommodationReservationPipelineManager- the guestDetailsAccommodationReservationPipelineManager to set
-
getBasicGlobalTravelReservationPipelineManager
@Deprecated protected GlobalTravelReservationPipelineManager getBasicGlobalTravelReservationPipelineManager()Deprecated.Deprecated since version 3.0.- Returns:
- the basicGlobalTravelReservationPipelineManager
-
setBasicGlobalTravelReservationPipelineManager
@Deprecated public void setBasicGlobalTravelReservationPipelineManager(GlobalTravelReservationPipelineManager basicGlobalTravelReservationPipelineManager) Deprecated.Deprecated since version 3.0.- Parameters:
basicGlobalTravelReservationPipelineManager- the basicGlobalTravelReservationPipelineManager to set
-
getReservationItemPipelineManager
Deprecated.Deprecated since version 3.0.- Returns:
- Converter
-
setReservationItemPipelineManager
@Deprecated public void setReservationItemPipelineManager(ReservationPipelineManager reservationItemPipelineManager) Deprecated.Deprecated since version 3.0.- Parameters:
reservationItemPipelineManager- the reservationItemPipelineManager to set
-
getBookingListFacade
- Returns:
- the bookingListFacade
-
setBookingListFacade
- Parameters:
bookingListFacade- the bookingListFacade to set
-
getGuestCountService
- Returns:
- the guestCountService
-
setGuestCountService
- Parameters:
guestCountService- the guestCountService to set
-
getTravelCommercePriceFacade
- Returns:
- the travelCommercePriceFacade
-
setTravelCommercePriceFacade
- Parameters:
travelCommercePriceFacade- the travelCommercePriceFacade to set
-
getAccommodationBookingFacade
Gets accommodation booking facade.- Returns:
- the accommodation booking facade
-
setAccommodationBookingFacade
Sets accommodation booking facade.- Parameters:
accommodationBookingFacade- the accommodation booking facade
-
getAccommodationOrderEntryGroupConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<AccommodationOrderEntryGroupModel,AccommodationOrderEntryGroupData> getAccommodationOrderEntryGroupConverter()Gets accommodation order entry group converter.- Returns:
- the accommodation order entry group converter
-
setAccommodationOrderEntryGroupConverter
public void setAccommodationOrderEntryGroupConverter(de.hybris.platform.servicelayer.dto.converter.Converter<AccommodationOrderEntryGroupModel, AccommodationOrderEntryGroupData> accommodationOrderEntryGroupConverter) Sets accommodation order entry group converter.- Parameters:
accommodationOrderEntryGroupConverter- the accommodation order entry group converter
-
getGuaranteeConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<GuaranteeModel,GuaranteeData> getGuaranteeConverter()- Returns:
- the guaranteeConverter
-
setGuaranteeConverter
public void setGuaranteeConverter(de.hybris.platform.servicelayer.dto.converter.Converter<GuaranteeModel, GuaranteeData> guaranteeConverter) - Parameters:
guaranteeConverter- the guaranteeConverter to set
-
getCancelPenaltyConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<CancelPenaltyModel,CancelPenaltyData> getCancelPenaltyConverter()- Returns:
- the cancelPenaltyConverter
-
setCancelPenaltyConverter
public void setCancelPenaltyConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CancelPenaltyModel, CancelPenaltyData> cancelPenaltyConverter) - Parameters:
cancelPenaltyConverter- the cancelPenaltyConverter to set
-
getCancelPenaltiesDescriptionCreationStrategy
protected CancelPenaltiesDescriptionCreationStrategy getCancelPenaltiesDescriptionCreationStrategy()- Returns:
- the cancelPenaltiesDescriptionCreationStrategy
-
setCancelPenaltiesDescriptionCreationStrategy
public void setCancelPenaltiesDescriptionCreationStrategy(CancelPenaltiesDescriptionCreationStrategy cancelPenaltiesDescriptionCreationStrategy) - Parameters:
cancelPenaltiesDescriptionCreationStrategy- the cancelPenaltiesDescriptionCreationStrategy to set
-
getTransactionCalculationStrategy
Gets transaction calculation strategy.- Returns:
- the transaction calculation strategy
-
setTransactionCalculationStrategy
public void setTransactionCalculationStrategy(TransactionCalculationStrategy transactionCalculationStrategy) Sets transaction calculation strategy.- Parameters:
transactionCalculationStrategy- the transaction calculation strategy
-
getCancelPenaltiesCalculationService
Gets cancel penalties calculation service.- Returns:
- the cancel penalties calculation service
-
setCancelPenaltiesCalculationService
public void setCancelPenaltiesCalculationService(CancelPenaltiesCalculationService cancelPenaltiesCalculationService) Sets cancel penalties calculation service.- Parameters:
cancelPenaltiesCalculationService- the cancel penalties calculation service
-
getActionFacade
Gets action facade.- Returns:
- the action facade
-
setActionFacade
Sets action facade.- Parameters:
actionFacade- the action facade
-
getTravelCartFacade
Gets travel cart facade.- Returns:
- the travel cart facade
-
setTravelCartFacade
Sets travel cart facade.- Parameters:
travelCartFacade- the travel cart facade
-
getTravelOrderCodeIdentificationStrategy
Gets travel order code identification strategy.- Returns:
- the travel order code identification strategy
-
setTravelOrderCodeIdentificationStrategy
public void setTravelOrderCodeIdentificationStrategy(TravelOrderCodeIdentificationStrategy travelOrderCodeIdentificationStrategy) Sets travel order code identification strategy.- Parameters:
travelOrderCodeIdentificationStrategy- the travel order code identification strategy
-
getCommerceCheckoutService
Gets commerce checkout service.- Returns:
- the commerce checkout service
-
setCommerceCheckoutService
Sets commerce checkout service.- Parameters:
commerceCheckoutService- the commerce checkout service
-
getSpecialRequestDetailsConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<SpecialRequestDetailModel,SpecialRequestDetailData> getSpecialRequestDetailsConverter()Gets special request details converter.- Returns:
- the specialRequestDetailsConverter
-
setSpecialRequestDetailsConverter
public void setSpecialRequestDetailsConverter(de.hybris.platform.servicelayer.dto.converter.Converter<SpecialRequestDetailModel, SpecialRequestDetailData> specialRequestDetailsConverter) Sets special request details converter.- Parameters:
specialRequestDetailsConverter- the specialRequestDetailsConverter to set
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets configuration service.- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.- Parameters:
configurationService- the configurationService to set
-