Interface TravelBundleTemplateService

All Superinterfaces:
de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService
All Known Subinterfaces:
PROSTravelBundleTemplateService
All Known Implementing Classes:
DefaultPROSTravelBundleTemplateService, DefaultStaticPackageBundleTemplateService, DefaultTravelBundleTemplateService

public interface TravelBundleTemplateService extends de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService
Override the BundleTemplateService to get the BundleTemplates for Travel Itineraries.
  • Method Details

    • getBundleTemplates

      List<BundleTemplateModel> getBundleTemplates(TravelRouteModel travelRouteModel, CabinClassModel cabinClassModel)
      Retrieves List of BundleTemplates for a given TravelRoute and requested cabin class.
      Parameters:
      travelRouteModel - the travel route model
      cabinClassModel - the cabin class model
      Returns:
      List of BundleTemplates
    • getBundleTemplates

      List<BundleTemplateModel> getBundleTemplates(TravelSectorModel travelSectorModel, CabinClassModel cabinClassModel)
      Retrieves List of BundleTemplates for a given TravelSector and requested cabin class.
      Parameters:
      travelSectorModel - the travel sector model
      cabinClassModel - the cabin class model
      Returns:
      List of BundleTemplates
    • getBundleTemplates

      List<BundleTemplateModel> getBundleTemplates(TransportOfferingModel transportOfferingModel, CabinClassModel cabinClassModel)
      Retrieves List of BundleTemplates for a given TravelSector and requested cabin class.
      Parameters:
      transportOfferingModel - the transport offering model
      cabinClassModel - the cabin class model
      Returns:
      List of BundleTemplates
    • getDefaultBundleTemplates

      List<BundleTemplateModel> getDefaultBundleTemplates(CabinClassModel cabinClassModel)
      Retrieves default BundleTemplates for requested cabin class.
      Parameters:
      cabinClassModel - the cabin class model
      Returns:
      List of default BundleTemplates
    • getBundleTemplateIdFromOrder

      String getBundleTemplateIdFromOrder(AbstractOrderModel abstractOrder, int originDestinationRefNumber)
      Returns the bundle template id for in the order against the originDestinationRefNumber
      Parameters:
      abstractOrder - abstractOrder
      originDestinationRefNumber - originDestinationRefNumber
      Returns:
      bundle template id.
    • getBundleTemplateByCodeAndCatalogVersion

      BundleTemplateModel getBundleTemplateByCodeAndCatalogVersion(String bundleId, String catalogId) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException
      This method returns the BundleTemplateModel corresponding to the bundleID
      Parameters:
      bundleId -
      catalogId -
      Returns:
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException
    • getBundleTemplateModelByEntryGroup

      BundleTemplateModel getBundleTemplateModelByEntryGroup(AbstractOrderEntryModel abstractOrderEntry)
      Gets the bundle template by entry group -> externalReferenceId
      Parameters:
      abstractOrderEntry - the order entry
      Returns:
      the bundle template