Class DefaultShoppingBookingService
java.lang.Object
de.hybris.platform.travelservices.services.impl.DefaultBookingService
de.hybris.platform.shoppingservices.services.impl.DefaultShoppingBookingService
- All Implemented Interfaces:
ShoppingBookingService,BookingService
public class DefaultShoppingBookingService
extends DefaultBookingService
implements ShoppingBookingService
Shopping extension of
DefaultBookingService class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActiveEntries(OrderModel order, OrderEntryType excludedType) Returns active order entries whose type is not equal to given type to exclude.getSolutionID(String orderId, List<String> orderEntryIds) Gets solution id.Methods inherited from class de.hybris.platform.travelservices.services.impl.DefaultBookingService
addRequestToRoomStayBooking, atleastOneAdultTravellerRemaining, calculateTaxValueForEntries, calculateTotalRefund, calculateTotalRefund, calculateTotalRefundForCancelledTraveller, cancelOrder, cancelOrder, cancelPartialOrder, cancelTraveller, cancelTraveller, checkBundleAndProduct, checkBundleToAmendProduct, checkIfAnyOrderEntryByType, checkIfPartialCancelPossible, checkRoomStayReferenceNumber, checkTransportOfferings, checkTravellers, createRefundPaymentTransaction, createRefundPaymentTransaction, createRequest, getAbstractOrderEntryGroupDao, getAccommodationDetailsParameters, getAccommodationOrderEntryGroup, getAccommodationOrderEntryGroupRefs, getAccommodationOrderEntryGroups, getAllOrders, getBaseStoreService, getBookingTotalByOrderEntryType, getChangeDatesOrderTotalToPayStrategy, getCommerceCheckoutService, getCommerceStockService, getConfigurationService, getCustomerAccountService, getEntryTypeToDiscountCalculationStrategyMap, getEnumerationService, getGlobalDiscountForEntryType, getLastActiveOrderForType, getModelService, getNewAccommodationOrderEntryGroupRefs, getOldAccommodationOrderEntryGroupRefs, getOrder, getOrder, getOrderCancelService, getOrderEntries, getOrderEntriesCancelStrategiesMapping, getOrderEntry, getOrderForCurrentUser, getOrderHistoryService, getOrderModelByOriginalOrderCode, getOrderModelFromStore, getOrderService, getOrderTotalPaid, getOrderTotalPaidByEntryGroup, getOrderTotalPaidCalculationStrategy, getOrderTotalPaidForAccommodationGroupCalculationStrategy, getOrderTotalPaidForOrderEntryType, getOrderTotalPaidForOrderEntryTypeCalculationStrategy, getOrderTotalPriceByType, getOrderTotalToPayForChangeDates, getOrderUserAccountMappingDao, getOriginalOrder, getOriginalOrderEntry, getOriginalOrderEntry, getPaymentService, getProductQuantityInOrderForTransportOffering, getRequestToRoomStayBooking, getSessionService, getTaxCompensationStrategy, getTimeService, getTotalRefundAmountByEntryType, getTotalRefundCalculationStrategy, getTotalRefundCalculationStrategyMap, getTotalToRefund, getTotalToRefund, getTravelCartService, getTravelKeyGeneratorService, getTravelOrderDao, getUserService, hasCartBeenAmended, haveSelectedAccommodationsChanged, isAbstractOrderOfType, isCancelPossible, isReservationCancelled, isTransportBooking, isValidPassengerReference, linkEntriesToOldPaymentTransactions, noMoreAdultTravellers, placeCancelledOrder, removeRequestFromRoomStayBooking, saveRemarkModel, setAbstractOrderEntryGroupDao, setBaseStoreService, setChangeDatesOrderTotalToPayStrategy, setCommerceCheckoutService, setCommerceStockService, setConfigurationService, setCustomerAccountService, setEntryTypeToDiscountCalculationStrategyMap, setEnumerationService, setModelService, setOrderCancelService, setOrderEntriesCancelStrategiesMapping, setOrderHistoryService, setOrderService, setOrderTotalPaidCalculationStrategy, setOrderTotalPaidForAccommodationGroupCalculationStrategy, setOrderTotalPaidForOrderEntryTypeCalculationStrategy, setOrderUserAccountMappingDao, setPaymentService, setSessionService, setTaxCompensationStrategy, setTimeService, setTotalRefundCalculationStrategy, setTotalRefundCalculationStrategyMap, setTravelCartService, setTravelKeyGeneratorService, setTravelOrderDao, setUserService, unlinkBooking, updateOrderStatusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.travelservices.services.BookingService
addRequestToRoomStayBooking, atleastOneAdultTravellerRemaining, calculateTaxValueForEntries, calculateTotalRefundForCancelledTraveller, cancelOrder, cancelOrder, cancelPartialOrder, cancelTraveller, cancelTraveller, checkBundleToAmendProduct, checkIfAnyOrderEntryByType, checkIfPartialCancelPossible, createRefundPaymentTransaction, createRefundPaymentTransaction, getAccommodationDetailsParameters, getAccommodationOrderEntryGroup, getAccommodationOrderEntryGroupRefs, getAccommodationOrderEntryGroups, getAllOrders, getBookingTotalByOrderEntryType, getGlobalDiscountForEntryType, getLastActiveOrderForType, getNewAccommodationOrderEntryGroupRefs, getOldAccommodationOrderEntryGroupRefs, getOrder, getOrder, getOrderEntries, getOrderEntry, getOrderForCurrentUser, getOrderModelByOriginalOrderCode, getOrderModelFromStore, getOrderTotalPaid, getOrderTotalPaidByEntryGroup, getOrderTotalPaidForOrderEntryType, getOrderTotalPriceByType, getOrderTotalToPayForChangeDates, getOriginalOrder, getOriginalOrderEntry, getOriginalOrderEntry, getProductQuantityInOrderForTransportOffering, getRequestToRoomStayBooking, getTotalRefundAmountByEntryType, getTotalToRefund, getTotalToRefund, hasCartBeenAmended, isAbstractOrderOfType, isCancelPossible, isReservationCancelled, isValidPassengerReference, linkEntriesToOldPaymentTransactions, removeRequestFromRoomStayBooking, unlinkBooking, updateOrderStatus
-
Constructor Details
-
DefaultShoppingBookingService
public DefaultShoppingBookingService()
-
-
Method Details
-
getActiveEntries
public List<AbstractOrderEntryModel> getActiveEntries(OrderModel order, OrderEntryType excludedType) Description copied from interface:BookingServiceReturns active order entries whose type is not equal to given type to exclude.- Specified by:
getActiveEntriesin interfaceBookingService- Overrides:
getActiveEntriesin classDefaultBookingService- Parameters:
order- the orderexcludedType- the order entry type to exclude- Returns:
- order entries
-
getSolutionID
public Integer getSolutionID(String orderId, List<String> orderEntryIds) throws de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException Description copied from interface:ShoppingBookingServiceGets solution id.- Specified by:
getSolutionIDin interfaceShoppingBookingService- Parameters:
orderId- the order idorderEntryIds- the order entry ids- Returns:
- the solution id
- Throws:
de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException- the ambiguous identifier exception
-