Class DefaultEvaluateSolutionCancelResponsePopulationHandler
java.lang.Object
de.hybris.platform.prosfacades.repricer.handler.impl.DefaultEvaluateSolutionCancelResponsePopulationHandler
- All Implemented Interfaces:
EvaluateSolutionCancelResponsePopulationHandler
public class DefaultEvaluateSolutionCancelResponsePopulationHandler
extends Object
implements EvaluateSolutionCancelResponsePopulationHandler
This class populates repricing information to the
EvaluateCancelSolutionResponseData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRefundedTaxesBreakdown(List<Tax> source, PassengerCancelInfoData target, String currency) Populate taxes.protected TravelCommercePriceFacadeGets travel commerce price facade.voidhandle(Map<String, String> passengerMapping, RepricerResponse repricerResponse, EvaluateCancelSolutionResponseData evaluateCancelSolutionResponse) PopulatesEvaluateCancelSolutionResponseDatausing data from order and repricer response.voidsetTravelCommercePriceFacade(TravelCommercePriceFacade travelCommercePriceFacade) Sets travel commerce price facade.
-
Constructor Details
-
DefaultEvaluateSolutionCancelResponsePopulationHandler
public DefaultEvaluateSolutionCancelResponsePopulationHandler()
-
-
Method Details
-
handle
public void handle(Map<String, String> passengerMapping, RepricerResponse repricerResponse, EvaluateCancelSolutionResponseData evaluateCancelSolutionResponse) Description copied from interface:EvaluateSolutionCancelResponsePopulationHandlerPopulatesEvaluateCancelSolutionResponseDatausing data from order and repricer response.- Specified by:
handlein interfaceEvaluateSolutionCancelResponsePopulationHandler- Parameters:
passengerMapping- the passenger mappingrepricerResponse- the repricer responseevaluateCancelSolutionResponse- the evaluate cancel solution response
-
addRefundedTaxesBreakdown
protected void addRefundedTaxesBreakdown(List<Tax> source, PassengerCancelInfoData target, String currency) Populate taxes.- Parameters:
source- the sourcetarget- the targetcurrency- the currency ISO code
-
getTravelCommercePriceFacade
Gets travel commerce price facade.- Returns:
- the travel commerce price facade
-
setTravelCommercePriceFacade
Sets travel commerce price facade.- Parameters:
travelCommercePriceFacade- the travel commerce price facade
-