Interface NDCTravelCommercePriceFacade
- All Known Implementing Classes:
DefaultNDCTravelCommercePriceFacade
public interface NDCTravelCommercePriceFacade
The ndc 18.2 PriceFacade interface.
-
Method Summary
Modifier and TypeMethodDescriptioncalculateTaxSummaries(List<ProductModel> fareProducts, List<BundleTemplateModel> includedAncillaries, int ptcQty, Map<String, Double> productCodeBaseFareMap, List<String> transportOfferings) Calculates tax summaries.voidpopulatePricesForMultiSectorBundle(List<ProductModel> fareProducts, List<BundleTemplateModel> includedAncillaries, String routeCode, Map<String, Double> productCodeBaseFareMap) Populates prices for multi sector bundle.voidpopulatePricesForPointToPointBundle(List<ProductModel> fareProducts, List<BundleTemplateModel> ancillaryBundle, String routeCode, List<String> transportOfferings, Map<String, Double> productCodeBaseFareMap) Populates prices for point to point bundle.voidsetTaxSearchCriteria(List<String> transportOfferingCodes, String ptc) Sets tax search criteria.
-
Method Details
-
populatePricesForMultiSectorBundle
void populatePricesForMultiSectorBundle(List<ProductModel> fareProducts, List<BundleTemplateModel> includedAncillaries, String routeCode, Map<String, Double> productCodeBaseFareMap) Populates prices for multi sector bundle.- Parameters:
fareProducts- the fare productsincludedAncillaries- the included ancillariesrouteCode- the route codeproductCodeBaseFareMap- the productCodeBaseFareMap
-
populatePricesForPointToPointBundle
void populatePricesForPointToPointBundle(List<ProductModel> fareProducts, List<BundleTemplateModel> ancillaryBundle, String routeCode, List<String> transportOfferings, Map<String, Double> productCodeBaseFareMap) Populates prices for point to point bundle.- Parameters:
fareProducts- the fare productsancillaryBundle- the ancillary bundlerouteCode- the route codetransportOfferings- the transportOfferingsproductCodeBaseFareMap-
-
calculateTaxSummaries
List<TaxData> calculateTaxSummaries(List<ProductModel> fareProducts, List<BundleTemplateModel> includedAncillaries, int ptcQty, Map<String, Double> productCodeBaseFareMap, List<String> transportOfferings) Calculates tax summaries.- Parameters:
fareProducts- the fare productsincludedAncillaries- the included ancillariesptcQty- the ptc qtyproductCodeBaseFareMap- the productCodeBaseFareMaptransportOfferings- the transportOfferings- Returns:
- the list
-
setTaxSearchCriteria
Sets tax search criteria.- Parameters:
transportOfferingCodes- the transport offering codesptc- the ptc
-