Interface PROSTravelBundleTemplateService

All Superinterfaces:
de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService, TravelBundleTemplateService
All Known Implementing Classes:
DefaultPROSTravelBundleTemplateService

public interface PROSTravelBundleTemplateService extends TravelBundleTemplateService
Service that exposes the methods related to the travel bundle template services for the pros service extension
  • Method Details

    • getBundleTemplates

      List<BundleTemplateModel> getBundleTemplates(List<String> fareBucketCodes)
      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

      BundleTemplateModel getBundleTemplateByCode(String fareBucketCode)
      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

      boolean isProsOrderEntryIncludedInBundleTemplate(AbstractOrderEntryModel orderEntryModel)
      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

      boolean isBundleTemplateFoundForBundleTypeCode(String bundleTypeCode)
      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 code
      apiUser - the api user
      shoppingFareReference - the shopping fare reference
      Returns:
      a list of BundleTemplateModel