Class DefaultPROSTransportCartFacade
java.lang.Object
de.hybris.platform.commercefacades.order.impl.DefaultCartFacade
de.hybris.platform.travelfacades.order.impl.DefaultTravelCartFacade
de.hybris.platform.travelfacades.order.impl.DefaultTransportCartFacade
de.hybris.platform.shoppingfacades.facades.impl.DefaultShoppingTransportCartFacade
de.hybris.platform.prosfacades.facades.impl.DefaultPROSTransportCartFacade
- All Implemented Interfaces:
de.hybris.platform.commercefacades.order.CartFacade,ShoppingTransportCartFacade,TransportCartFacade,TravelCartFacade
The Pros extension of
DefaultShoppingTransportCartFacade class.-
Field Summary
Fields inherited from class de.hybris.platform.travelfacades.order.impl.DefaultTravelCartFacade
MINIMUM_PRODUCT_QUANTITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartModificationDataaddProductToCart(String productCode, List<String> transportOfferingCodes, TravellerModel travellerModel, long quantity, int originDestinationRefNumber) Add product to cart.protected voidaddPropertiesToCartEntry(TravellerModel travellerModel, int originDestinationRefNo, List<String> transportOfferingCodes, Boolean active, AmendStatus amendStatus, CartModificationData cartModification) Add properties to cart entry.protected voidaddPropertiesToCartEntry(String productCode, int entryNo, List<String> transportOfferingCodes, int originDestinationRefNumber, TravellerModel travellerModel, Boolean active, AmendStatus amendStatus, String addToCartCriteriaType) Add properties to cart entry.addShoppingAncillaryToCart(AncillaryEntryRequestData ancillaryEntryRQData) Add Shopping/Commerce ancillary product to the current cart.Methods inherited from class de.hybris.platform.shoppingfacades.facades.impl.DefaultShoppingTransportCartFacade
getMerchandisingFacade, removeAncillaryEntry, removeBaggageCartEntry, setMerchandisingFacade, updateBaggageCartEntry, updateCartEntryMethods inherited from class de.hybris.platform.travelfacades.order.impl.DefaultTransportCartFacade
addAncillaryToCart, addBundleToCart, addProductToCart, addPropertiesToCartEntry, addSeatEntry, addTransportBundleToCart, addTravellersToCart, changeCurrency, getAddTransportBundleToCartValidationStrategyList, getAddTravellerToCartValidationStrategyList, getAncillaryCartValidationStrategyList, getBoundIdForEntryNumber, getCheckInFacade, getEnrichAncillaryEntryDataStrategyMap, getRemoveBaggageCartEntryValidationStrategies, getRemoveCartEntryValidationStrategyList, getRemoveTravellerFromCartValidationStrategyList, getReservationFacade, getSeatCartEntry, getSelectedAccommodationStrategyList, getSelectedSeatConverter, getStoreSessionFacade, getTravellerDataConverter, getTravelOrderEntryInfoForPassenger, getTravelOrderEntryInfoForPassengersAndTransportOffering, getTravelOrderEntryInfoForTransportOffering, getTravelRestrictionFacade, getUpdateBaggageCartEntryValidationStrategyList, getUpdateCartEntryValidationStrategyList, isOrderEntryPartOfBundle, isTravellerInEntryEligibleForAmendment, normalizeOrderEntryNumbers, removeAncillaryCartEntry, removeSeatEntry, removeTravellerFromCart, setAddTransportBundleToCartValidationStrategyList, setAddTravellerToCartValidationStrategyList, setAncillaryCartValidationStrategyList, setCheckInFacade, setEnrichAncillaryEntryDataStrategyMap, setRemoveBaggageCartEntryValidationStrategies, setRemoveCartEntryValidationStrategyList, setRemoveTravellerFromCartValidationStrategyList, setReservationFacade, setSelectedAccommodationStrategyList, setSelectedSeatConverter, setStoreSessionFacade, setTravellerDataConverter, setTravelRestrictionFacade, setUpdateBaggageCartEntryValidationStrategyList, setUpdateCartEntryValidationStrategyList, updateAncillaryCartEntry, validateAndRemoveTraveller, validateIfAccommodationIsAvailableForBooking, validateIfFareProductForSeatExistInCart, validateIfTransportOfferingExistsInCart, validateIfTravellerEligibleForAmendment, validateIfTravellerHasSeat, validateTravellerForCartMethods inherited from class de.hybris.platform.travelfacades.order.impl.DefaultTravelCartFacade
addBundleToCart, addPerLegBundleProductToCart, addProduct, addPropertiesToCartEntry, addPropertiesToCartEntry, addSelectedAccommodationToCart, addToCart, applyVoucher, assignAnonymousCartToCurrentUser, cleanUpCartForMinOriginDestinationRefNumber, createCartFromOrder, createCartFromOrderGuid, deleteCurrentCart, evaluateCart, getAccommodationMapService, getBaseStoreService, getBookingDueAmount, getBookingFacade, getBookingService, getBookingTotal, getBundleCartFacade, getCartCode, getCartCode, getCartEntry, getCartTotal, getCommonI18NService, getCurrentCartCode, getCustomerAccountService, getDiscountsToDisplay, getGlobalDiscountForEntryType, getNextBundleNumberToUse, getNotAllowedStatusesForCreateAmendCart, getOrderEntry, getOrderEntry, getOrderEntryConverter, getOriginalOrderCode, getPartialPaymentAmount, getPaymentOptionConverter, getPaymentOptionList, getPaymentOptions, getPaymentOptions, getPopulateCartEntryPropertyStrategyMap, getProductPriceLevels, getQuantityToOffer, getSelectedAccommodationValidationStrategyList, getSessionService, getTotalsForReservation, getTotalToPayPrice, getTotalToPayPriceAfterChangeDates, getTransportOfferingService, getTravelBundleCommerceCartFacade, getTravelCartService, getTravelCartValidationStrategyList, getTravelCommerceCartService, getTravelCommercePriceFacade, getTravellerData, getTravellerFacade, getTravellerService, getTravellerVersionIdFromCart, getTravelPromotionsFacade, getTravelRouteService, getTravelRulesService, getVoucherFacade, hasCartBeenAmended, isAdditionalSecurityActive, isAmendmentCart, isAnonymousUserCart, isCurrentCartValid, isNetPrice, isProductAvailable, isSameTransaction, isSelectedOption, isValidPaymentOption, populatePropertiesMap, populateRateDataFromCart, recalculateCart, removeBoundFromCart, removeCart, removeDeliveryAddress, removeEntriesForOriginDestinationRefNumber, removeInternalItems, removeSelectedAccommodationFromCart, removeSpecialServiceRequest, removeTravelOrderEntryInfo, removeVoucher, setAccommodationMapService, setAdditionalSecurity, setAddToCartParametersInContext, setBaseStoreService, setBookingFacade, setBookingService, setBundleCartFacade, setCommonI18NService, setCustomerAccountService, setNotAllowedStatusesForCreateAmendCart, setOrderEntryConverter, setOrderEntryType, setPaymentOptionConverter, setPopulateCartEntryPropertyStrategyMap, setSelectedAccommodationValidationStrategyList, setSessionService, setTransportOfferingService, setTravelBundleCommerceCartFacade, setTravelCartService, setTravelCartValidationStrategyList, setTravelCommerceCartService, setTravelCommercePriceFacade, setTravellerFacade, setTravellerService, setTravelPromotionsFacade, setTravelRouteService, setTravelRulesService, setVoucherFacade, updateBundleEntriesWithBundleNumber, validateCart, validateCart, validateOrderForAmendment, validateOriginDestinationRefNumbersInCart, validateSeatSelectionMethods inherited from class de.hybris.platform.commercefacades.order.impl.DefaultCartFacade
addToCart, addToCart, configurationInfoToProductConfiguration, configureCartEntry, createCommerceCartParameter, createEmptyCart, deleteGroupedOrderEntriesMultiD, estimateExternalTaxes, filterConfigurationsByConfigurator, getBaseSiteService, getCartConverter, getCartModificationConverter, getCartRestorationConverter, getCartService, getCartsForCurrentUser, getCommerceCartParameterConverter, getCommerceCartService, getCountryConverter, getDeliveryCountries, getDeliveryService, getGroupCartModificationListConverter, getMiniCart, getMiniCartConverter, getModelService, getMostRecentCartGuidForUser, getOrderEntryNumberForMultiD, getPointOfServiceService, getPriceDataFactory, getProductConfigurationMergeStrategies, getProductFacade, getProductService, getSessionCart, getSessionCartGuid, getSessionCartWithEntryOrdering, getUserService, hasEntries, hasEntryGroups, hasSessionCart, mergeOrderEntryWithModelConfiguration, removeEntryGroup, removeSessionCart, removeStaleCarts, restoreAnonymousCartAndMerge, restoreAnonymousCartAndTakeOwnership, restoreCartAndMerge, restoreSavedCart, setBaseSiteService, setCartConverter, setCartModificationConverter, setCartRestorationConverter, setCartService, setCommerceCartParameterConverter, setCommerceCartService, setCountryConverter, setDeliveryService, setGroupCartModificationListConverter, setMiniCartConverter, setModelService, setPointOfServiceService, setPriceDataFactory, setProductConfigurationMergeStrategies, setProductFacade, setProductService, setUserService, updateCartEntry, updateCartEntry, updateCartEntry, updateCartMetadata, validateCartDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.commercefacades.order.CartFacade
addToCart, addToCart, estimateExternalTaxes, getCartsForCurrentUser, getDeliveryCountries, getMiniCart, getMostRecentCartGuidForUser, getSessionCart, getSessionCartGuid, getSessionCartWithEntryOrdering, hasEntries, hasSessionCart, removeEntryGroup, removeSessionCart, removeStaleCarts, restoreAnonymousCartAndMerge, restoreAnonymousCartAndTakeOwnership, restoreCartAndMerge, restoreSavedCart, updateCartEntry, updateCartEntry, updateCartEntry, updateCartMetadata, validateCartDataMethods inherited from interface de.hybris.platform.travelfacades.order.TransportCartFacade
addAncillaryToCart, addSeatEntry, addTransportBundleToCart, addTravellersToCart, changeCurrency, getBoundIdForEntryNumber, getSeatCartEntry, isOrderEntryPartOfBundle, isTravellerInEntryEligibleForAmendment, removeAncillaryCartEntry, removeSeatEntry, removeTravellerFromCart, updateAncillaryCartEntry
-
Constructor Details
-
DefaultPROSTransportCartFacade
public DefaultPROSTransportCartFacade()
-
-
Method Details
-
addShoppingAncillaryToCart
public CartModificationData addShoppingAncillaryToCart(AncillaryEntryRequestData ancillaryEntryRQData) throws InvalidSessionCartException Description copied from interface:ShoppingTransportCartFacadeAdd Shopping/Commerce ancillary product to the current cart.- Specified by:
addShoppingAncillaryToCartin interfaceShoppingTransportCartFacade- Specified by:
addShoppingAncillaryToCartin classDefaultShoppingTransportCartFacade- Parameters:
ancillaryEntryRQData- the ancillary entry request data- Returns:
- the cart modification data
- Throws:
InvalidSessionCartException- The session cart is not found
-
addProductToCart
protected CartModificationData addProductToCart(String productCode, List<String> transportOfferingCodes, TravellerModel travellerModel, long quantity, int originDestinationRefNumber) Add product to cart.- Parameters:
productCode- the product codetransportOfferingCodes- the transport offering codestravellerModel- the travellerquantity- the quantityoriginDestinationRefNumber- the origin destination ref number- Returns:
- the cart modification data
-
addPropertiesToCartEntry
protected void addPropertiesToCartEntry(TravellerModel travellerModel, int originDestinationRefNo, List<String> transportOfferingCodes, Boolean active, AmendStatus amendStatus, CartModificationData cartModification) Add properties to cart entry.- Parameters:
travellerModel- theroriginDestinationRefNo- the origin destination ref notransportOfferingCodes- the transport offering codesactive- the activeamendStatus- the amend statuscartModification- the cart modification
-
addPropertiesToCartEntry
protected void addPropertiesToCartEntry(String productCode, int entryNo, List<String> transportOfferingCodes, int originDestinationRefNumber, TravellerModel travellerModel, Boolean active, AmendStatus amendStatus, String addToCartCriteriaType) Add properties to cart entry.- Parameters:
productCode- the product codeentryNo- the entry notransportOfferingCodes- the transport offering codesoriginDestinationRefNumber- the origin destination ref numbertravellerModel- the traveller modelactive- the activeamendStatus- the amend statusaddToCartCriteriaType- the add to cart criteria type
-