Class DealIntelliPricerMessagePopulator
java.lang.Object
de.hybris.platform.prosfacades.converters.populator.IntelliPricerMessagePopulator
de.hybris.platform.prosfacades.converters.populator.DealIntelliPricerMessagePopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<List<AddBundleToCartRequestData>,IntelliPricerMessage>
Intelli pricer message populator for Deals
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetNextFareRestrictionId(IntelliPricerRequest intelliPricer) Gets next fare restriction id.protected voidpopulateFareRestrictions(ShoppingFareData shoppingFareData, OriginDestinationGroup originDestinationGroup, IntelliPricerRequest intelliPricerRequest) Populate fare restrictions.protected voidpopulateFlights(ShoppingFareData shoppingFareData, AddBundleToCartData addBundleToCartData, OriginDestinationGroup originDestinationGroup, int flightNumber) Populate flights.protected voidpopulateOriginDestinationGroups(List<AddBundleToCartRequestData> source, IntelliPricerRequest intelliPricer) Populate origin destination groups.protected StringpopulateRBDs(TransportOfferingModel transportOffering, ShoppingFareData shoppingFareData) Populate rb ds string.Methods inherited from class de.hybris.platform.prosfacades.converters.populator.IntelliPricerMessagePopulator
getConfigurationService, getPassengerCodeToPaxTypeMapping, getProsTransportOfferingService, getStoreSessionFacade, populate, populateFareRestrictions, populateFlights, populateIntelliPricer, populatePassengerGroups, populatePassengerTypes, populatePreferences, populateRBDs, populateSellers, setConfigurationService, setPassengerCodeToPaxTypeMapping, setProsTransportOfferingService, setStoreSessionFacade
-
Constructor Details
-
DealIntelliPricerMessagePopulator
public DealIntelliPricerMessagePopulator()
-
-
Method Details
-
populateOriginDestinationGroups
protected void populateOriginDestinationGroups(List<AddBundleToCartRequestData> source, IntelliPricerRequest intelliPricer) Populate origin destination groups.- Overrides:
populateOriginDestinationGroupsin classIntelliPricerMessagePopulator- Parameters:
source- the sourceintelliPricer- the intelli pricer
-
populateFareRestrictions
protected void populateFareRestrictions(ShoppingFareData shoppingFareData, OriginDestinationGroup originDestinationGroup, IntelliPricerRequest intelliPricerRequest) Populate fare restrictions.- Parameters:
shoppingFareData- the shopping fare dataoriginDestinationGroup- the origin destination groupintelliPricerRequest- the intelli pricer request
-
getNextFareRestrictionId
Gets next fare restriction id.- Overrides:
getNextFareRestrictionIdin classIntelliPricerMessagePopulator- Parameters:
intelliPricer- the intelli pricer- Returns:
- the next fare restriction id
-
populateFlights
protected void populateFlights(ShoppingFareData shoppingFareData, AddBundleToCartData addBundleToCartData, OriginDestinationGroup originDestinationGroup, int flightNumber) Populate flights.- Parameters:
shoppingFareData- the shopping fare dataaddBundleToCartData- the add bundle to cart dataoriginDestinationGroup- the origin destination groupflightNumber- the flight number
-
populateRBDs
protected String populateRBDs(TransportOfferingModel transportOffering, ShoppingFareData shoppingFareData) Populate rb ds string.- Parameters:
transportOffering- the transport offeringshoppingFareData- the shopping fare data- Returns:
- the string
-