Class DefaultFarePriceFacade
java.lang.Object
de.hybris.platform.shoppingfacades.facades.impl.DefaultFarePriceFacade
- All Implemented Interfaces:
FarePriceFacade
- Direct Known Subclasses:
DefaultPROSFarePriceFacade
The type Default fare price facades
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SearchResponseWrapperdoFarePrice(AddSolutionRequestData addSolutionRequestData) Performs a fareprice call to an external API using data contained in the addSolutionRequestDataabstract SearchResponseWrapperdoFarePrice(List<AddBundleToCartRequestData> addBundleToCartRequestDataList) performs a fareprice call to an external API using data contained in the addBundleRequest Dataabstract voidvalidateFares(AbstractOrderModel orderModel) Validate fare products in the cart.
-
Constructor Details
-
DefaultFarePriceFacade
public DefaultFarePriceFacade()
-
-
Method Details
-
doFarePrice
public abstract SearchResponseWrapper doFarePrice(List<AddBundleToCartRequestData> addBundleToCartRequestDataList) performs a fareprice call to an external API using data contained in the addBundleRequest Data- Specified by:
doFarePricein interfaceFarePriceFacade- Parameters:
addBundleToCartRequestDataList- the add bundle to cart request data list- Returns:
- the search response message wrapper
-
doFarePrice
public abstract SearchResponseWrapper doFarePrice(AddSolutionRequestData addSolutionRequestData) throws FarePriceException, InvalidSessionCartException Performs a fareprice call to an external API using data contained in the addSolutionRequestData- Specified by:
doFarePricein interfaceFarePriceFacade- 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
public abstract void validateFares(AbstractOrderModel orderModel) throws TravelCartValidationException Validate fare products in the cart.- Specified by:
validateFaresin interfaceFarePriceFacade- Parameters:
orderModel- the cart model- Throws:
TravelCartValidationException
-