Class DefaultIntelliPricerService
java.lang.Object
de.hybris.platform.shoppingservices.services.impl.DefaultFarePriceService
de.hybris.platform.prosservices.services.impl.DefaultIntelliPricerService
- All Implemented Interfaces:
FarePriceService
The type Default intelli pricer service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateRequestData(RestRequestInfo restRequestInfo, FarePriceMessage farePriceMessage) Create request data.protected voidcreateSearchResponseWrapper(SearchResponseWrapper searchResponseWrapper, IntelliPricerMessage intelliPricerMessage, SearchResponseMessage searchResponseMessage) Create search response wrapper search response wrapper.doFarePrice(FarePriceMessage farePriceMessage) Do fare price search response wrapper.voidDo fare price search from session cartGets pax to passenger code type mapping.voidsetPaxToPassengerCodeTypeMapping(Map<String, String> paxToPassengerCodeTypeMapping) Sets pax to passenger code type mapping.Methods inherited from class de.hybris.platform.shoppingservices.services.impl.DefaultFarePriceService
createSearchResponseWrapper, getCartToFarePriceMessageConverter, getConfigurationService, getRestSender, getSearchResponseService, getShoppingObjectMapper, getTravelCartService, setCartToFarePriceMessageConverter, setConfigurationService, setRestSender, setSearchResponseService, setShoppingObjectMapper, setTravelCartService
-
Constructor Details
-
DefaultIntelliPricerService
public DefaultIntelliPricerService()
-
-
Method Details
-
doFarePriceFromSessionCart
public void doFarePriceFromSessionCart()Description copied from interface:FarePriceServiceDo fare price search from session cart- Specified by:
doFarePriceFromSessionCartin interfaceFarePriceService- Overrides:
doFarePriceFromSessionCartin classDefaultFarePriceService
-
doFarePrice
Do fare price search response wrapper.- Specified by:
doFarePricein interfaceFarePriceService- Overrides:
doFarePricein classDefaultFarePriceService- Parameters:
farePriceMessage- the fare Price Message- Returns:
- the search response wrapper
-
createSearchResponseWrapper
protected void createSearchResponseWrapper(SearchResponseWrapper searchResponseWrapper, IntelliPricerMessage intelliPricerMessage, SearchResponseMessage searchResponseMessage) Create search response wrapper search response wrapper.- Parameters:
searchResponseWrapper- the search response wrapperintelliPricerMessage- the intelli pricer messagesearchResponseMessage- the search response message
-
createRequestData
protected void createRequestData(RestRequestInfo restRequestInfo, FarePriceMessage farePriceMessage) Create request data.- Overrides:
createRequestDatain classDefaultFarePriceService- Parameters:
restRequestInfo- the rest request infofarePriceMessage- the intelli pricer message
-
getPaxToPassengerCodeTypeMapping
Gets pax to passenger code type mapping.- Returns:
- the pax to passenger code type mapping
-
setPaxToPassengerCodeTypeMapping
Sets pax to passenger code type mapping.- Parameters:
paxToPassengerCodeTypeMapping- the pax to passenger code type mapping
-