Class DefaultShoppingTravelRestrictionFacade
java.lang.Object
de.hybris.platform.travelfacades.facades.impl.DefaultTravelRestrictionFacade
de.hybris.platform.shoppingfacades.facades.impl.DefaultShoppingTravelRestrictionFacade
- All Implemented Interfaces:
TravelRestrictionFacade
Shopping extension of the
DefaultTravelRestrictionFacade class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidevaluateRestrictionErrorsForEntry(Map<String, String> restrictionErrors, AbstractOrderEntryModel entry, List<String> travellers, List<String> transportOfferingCodes, List<CategoryModel> categories) This method performs an evaluation on the quantity against the TravelRestriction.Methods inherited from class de.hybris.platform.travelfacades.facades.impl.DefaultTravelRestrictionFacade
checkCategoryRestrictions, checkIfProductCanBeAdded, checkIfProductCanBeAdded, checkIfProductCanBeAdded, checkIfTravellerTypeRestrictionApply, getAddToCartCriteria, getAddToCartCriteria, getAddToCartCriteria, getBookingService, getCartService, getCategoryRestrictionErrors, getProductService, getTravelCategoryService, getTravelCommerceCartService, getTravelRestrictionConverter, getTravelRestrictionForCategory, getTravelRestrictionForProduct, getTravelRestrictionService, getTravelRestrictionStrategy, setBookingService, setCartService, setProductService, setTravelCategoryService, setTravelCommerceCartService, setTravelRestrictionConverter, setTravelRestrictionService, setTravelRestrictionStrategy
-
Constructor Details
-
DefaultShoppingTravelRestrictionFacade
public DefaultShoppingTravelRestrictionFacade()
-
-
Method Details
-
evaluateRestrictionErrorsForEntry
protected void evaluateRestrictionErrorsForEntry(Map<String, String> restrictionErrors, AbstractOrderEntryModel entry, List<String> travellers, List<String> transportOfferingCodes, List<CategoryModel> categories) This method performs an evaluation on the quantity against the TravelRestriction. The quantity has to fulfil the TravelRestriction.- Overrides:
evaluateRestrictionErrorsForEntryin classDefaultTravelRestrictionFacade- Parameters:
restrictionErrors- the map of restriction errorsentry- the entry to be evaluatedtravellers- the list of travellerstransportOfferingCodes- the list of transport offering codescategories- the list of categories
-