Interface AddTransportBundleToCartValidationStrategy
- All Known Implementing Classes:
DefaultBundleTemplateFareProductValidationStrategy,DefaultCartTravellersValidationStrategy,DefaultOriginDestinationRefNumberCartValidationStrategy,DefaultTravelRouteTransportOfferingsValidationStrategy
public interface AddTransportBundleToCartValidationStrategy
Interface for validating the addBundleToCartData before using it in order to add a transport bundle to the cart.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(AddBundleToCartData addBundleToCartData) Validates the addBundleToCartData before adding the bundle to the cart.
-
Method Details
-
validate
void validate(AddBundleToCartData addBundleToCartData) throws AddTransportBundleToCartException, InvalidSessionCartException Validates the addBundleToCartData before adding the bundle to the cart.- Parameters:
addBundleToCartData- the addBundleToCartData- Throws:
AddTransportBundleToCartExceptionInvalidSessionCartException
-