Interface PROSTravelBundleTemplateService
- All Superinterfaces:
de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService,TravelBundleTemplateService
- All Known Implementing Classes:
DefaultPROSTravelBundleTemplateService
Service that exposes the methods related to the travel bundle template services for the pros service extension
-
Method Summary
Modifier and TypeMethodDescriptiongetBundleTemplateByCode(String fareBucketCode) Returns the bundle template for the given fare bucket codegetBundleTemplates(List<String> fareBucketCodes) Returns the list of available bundle template for the given fare bucket codesgetBundleTemplatesByTypeAndAPIUserAndShoppingReference(String bundleTypeCode, String apiUser, String shoppingFareReference) Gets all the bundle templates having the same bundle type code and fare product with same shoppingReference and apiUserbooleanisBundleTemplateFoundForBundleTypeCode(String bundleTypeCode) Check if the BundleTemplate model found for given bundleTypeCode.booleanisProsOrderEntryIncludedInBundleTemplate(AbstractOrderEntryModel orderEntryModel) Checks if the pros order entry is included in a bundle template.Methods inherited from interface de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService
createBundleTree, getAllApprovedRootBundleTemplates, getAllRootBundleTemplates, getBundleEntryGroup, getBundleEntryGroup, getBundleTemplateForCode, getBundleTemplateForCode, getBundleTemplateName, getBundleTemplatesByProduct, getLeafComponents, getPositionInParent, getPreviousBundleTemplate, getRelativeBundleTemplate, getRootBundleTemplate, getSubsequentBundleTemplate, isAutoPickComponent, isBundleTemplateUsedMethods inherited from interface de.hybris.platform.travelservices.bundle.TravelBundleTemplateService
getBundleTemplateByCodeAndCatalogVersion, getBundleTemplateIdFromOrder, getBundleTemplateModelByEntryGroup, getBundleTemplates, getBundleTemplates, getBundleTemplates, getDefaultBundleTemplates
-
Method Details
-
getBundleTemplates
Returns the list of available bundle template for the given fare bucket codes- Parameters:
fareBucketCodes- as a list of fare bucket codes to be use to retrieve the list of the bundle templates- Returns:
- a list of BundleTemplate representing the list of bundle templates that contain the Pros fare product with the given fareBucketCodes
-
getBundleTemplateByCode
Returns the bundle template for the given fare bucket code- Parameters:
fareBucketCode- a fare bucket code to be use to retrieve the bundle template- Returns:
- a BundleTemplate representing the bundle template that contain the Pros fare product with the given fareBucketCode
-
isProsOrderEntryIncludedInBundleTemplate
Checks if the pros order entry is included in a bundle template.- Parameters:
orderEntryModel- the order entry- Returns:
- true if the product belongs to a pros bundle template.
-
isBundleTemplateFoundForBundleTypeCode
Check if the BundleTemplate model found for given bundleTypeCode.- Parameters:
bundleTypeCode- the bundleTypeCode- Returns:
- true if bundle template found for given bundleTypeCode
-
getBundleTemplatesByTypeAndAPIUserAndShoppingReference
List<BundleTemplateModel> getBundleTemplatesByTypeAndAPIUserAndShoppingReference(String bundleTypeCode, String apiUser, String shoppingFareReference) Gets all the bundle templates having the same bundle type code and fare product with same shoppingReference and apiUser- Parameters:
bundleTypeCode- the bundle type codeapiUser- the api usershoppingFareReference- the shopping fare reference- Returns:
- a list of
BundleTemplateModel
-