Interface FarePriceFacade
- All Known Implementing Classes:
DefaultFarePriceFacade,DefaultPROSFarePriceFacade
public interface FarePriceFacade
The interface fare price facade
-
Method Summary
Modifier and TypeMethodDescriptiondoFarePrice(AddSolutionRequestData addSolutionRequestData) Performs a fareprice call to an external API using data contained in the addSolutionRequestDatadoFarePrice(List<AddBundleToCartRequestData> addBundleToCartRequestDataList) performs a fareprice call to an external API using data contained in the addBundleRequest DatavoidvalidateFares(AbstractOrderModel orderModel) Validate fare products in the cart.
-
Method Details
-
doFarePrice
performs a fareprice call to an external API using data contained in the addBundleRequest Data- Parameters:
addBundleToCartRequestDataList- the add bundle to cart request data list- Returns:
- the search response message wrapper
-
doFarePrice
SearchResponseWrapper doFarePrice(AddSolutionRequestData addSolutionRequestData) throws FarePriceException, InvalidSessionCartException Performs a fareprice call to an external API using data contained in the addSolutionRequestData- Parameters:
addSolutionRequestData- the add solution request data- Returns:
- the search response message wrapper
- Throws:
FarePriceException- the fare price exceptionInvalidSessionCartException- the invalid session cart exception
-
validateFares
Validate fare products in the cart.- Parameters:
orderModel- the cart model- Throws:
TravelCartValidationException
-