Uses of Class
de.hybris.platform.travelfacades.errors.exceptions.AddTravellerToCartException
Packages that use AddTravellerToCartException
Package
Description
-
Uses of AddTravellerToCartException in de.hybris.platform.travelfacades.order
Methods in de.hybris.platform.travelfacades.order that throw AddTravellerToCartExceptionModifier and TypeMethodDescriptionvoidTransportCartFacade.addTravellersToCart(TravellerQuantityListData travellerQuantityListData) Adds travellers to the cart. -
Uses of AddTravellerToCartException in de.hybris.platform.travelfacades.order.impl
Methods in de.hybris.platform.travelfacades.order.impl that throw AddTravellerToCartExceptionModifier and TypeMethodDescriptionvoidDefaultTransportCartFacade.addTravellersToCart(TravellerQuantityListData travellerQuantityListData) Adds travellers to the cart. -
Uses of AddTravellerToCartException in de.hybris.platform.travelfacades.strategies
Methods in de.hybris.platform.travelfacades.strategies that throw AddTravellerToCartExceptionModifier and TypeMethodDescriptionvoidAddTravellerToCartValidationStrategy.validate(TravellerQuantityListData travellerQuantityListData) Validates the travellers before adding them to the cart. -
Uses of AddTravellerToCartException in de.hybris.platform.travelfacades.strategies.impl
Methods in de.hybris.platform.travelfacades.strategies.impl that throw AddTravellerToCartExceptionModifier and TypeMethodDescriptionvoidDefaultTravellerCartQuantityValidationStrategy.validate(TravellerQuantityListData travellerQuantityListData) Validates if 1) the cart is empty 2) the sum of the new quantity and the number of the travellers already present in the cart is equal or less than 20 (maximum number of passengers).voidDefaultTravellerPtcCodeValidationStrategy.validate(TravellerQuantityListData travellerQuantityListData) Validates if 1) the ptcCodes are unique in the list; 2) the ptcCode of the travellers exists in the system.voidDefaultTravellerValidationStrategy.validate(TravellerQuantityListData travellerQuantityListData) Validates if 1) in case of non adult in the list, there is at least one adult either in the cart or in the list of the travellers.