Interface TravelBundleTemplateFacade

All Known Subinterfaces:
ShoppingTravelBundleTemplateFacade
All Known Implementing Classes:
DefaultShoppingTravelBundleTemplateFacade, DefaultTravelBundleTemplateFacade

public interface TravelBundleTemplateFacade
Facade for upgrade bundle section
  • Method Details

    • getSelectedItineraryPricingInfoData

      ItineraryPricingInfoData getSelectedItineraryPricingInfoData(PricedItineraryData pricedItineraryData)
      finds the selected itinerary pricing info data from the list using the selected attribute
      Parameters:
      pricedItineraryData - the priced itinerary data
      Returns:
      selected itinerary pricing info data
    • getSequenceNumber

      int getSequenceNumber(String bundleType)
      used to find out the sequence number of any bundle
      Parameters:
      bundleType - the bundle type
      Returns:
      sequence number
    • createUpgradeItineraryPricingInfoTotalPriceData

      void createUpgradeItineraryPricingInfoTotalPriceData(BigDecimal selectedItineraryPricingInfoData, ItineraryPricingInfoData availableUpgradeItineraryPricingInfoData)
      Method to update only the total price for the ItineraryPricingInfo respective to selected ItineraryPricingInfo.
      Parameters:
      selectedItineraryPricingInfoData - the ItineraryPricingInfo
      availableUpgradeItineraryPricingInfoData - availableUpgradeItineraryPricingInfoData
    • getMasterBundleTemplateId

      String getMasterBundleTemplateId(String bundleTemplateId)
      Returns the master bundle template id of the specified template id
      Parameters:
      bundleTemplateId - the bundle template id
      Returns:
      master bundle template id
    • getBundleTemplateByCodeAndCatalogVersion

      TravelBundleTemplateData getBundleTemplateByCodeAndCatalogVersion(String bundleTemplateId, String catalogId) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException
      Returns the bundle template for a given bundle id and catalog
      Parameters:
      bundleTemplateId - the bundle template id
      catalogId - the catalog id
      Returns:
      bundle template by code and catalog version
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
      de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException - the ambiguous identifier exception
    • getBundleEntryGroup

      EntryGroupData getBundleEntryGroup(AbstractOrderEntryModel entry)
      Gets the entry group from an entry model
      Parameters:
      entry - the entry model
      Returns:
      the entryGroup Model
    • getBundleTemplateByExternalReferenceId

      TravelBundleTemplateData getBundleTemplateByExternalReferenceId(String externalReferenceId)
      Gets the bundle template from entrygroup#ExternalReferenceId
      Parameters:
      externalReferenceId - the external Reference Id
      Returns:
      the bundle template model
    • getParentBundleTemplateIdByExternalReferenceId

      String getParentBundleTemplateIdByExternalReferenceId(String externalReferenceId)
      Gets the parent bundle template from entrygroup -> ExternalReferenceId
      Parameters:
      externalReferenceId - the external Reference Id
      Returns:
      the parent bundle template model
    • getTransportBundleById

      TravelBundleTemplateData getTransportBundleById(String bundleTemplateId, String catalogId) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException, de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException
      Returns the transport bundle template for a given bundle id and catalog.
      Parameters:
      bundleTemplateId - the bundle template id
      catalogId - the catalog id
      Returns:
      bundle template by code and catalog version
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
      de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException - the ambiguous identifier exception