Interface PROSTravelAncillaryService

All Known Implementing Classes:
DefaultPROSTravelAncillaryService

public interface PROSTravelAncillaryService
The interface Pros travel ancillary service.
  • Method Details

    • getAncillaryProducts

      List<AncillaryProductModel> getAncillaryProducts(List<String> transportOfferingCodes)
      Gets a list of ancillary products that have stock in hybris for the given transport offering codes.
      Parameters:
      transportOfferingCodes - the transport offering codes
      Returns:
      the ancillary products
    • getPROSAncillaryProducts

      List<ShoppingAncillaryProductModel> getPROSAncillaryProducts(List<String> prosReferences)
      Gets a list ancillary products of type PROSAncillaryProductModel for the given pros references.
      Parameters:
      prosReferences - the pros references
      Returns:
      the pros ancillary products
    • getPROSBaggageProducts

      List<ShoppingBaggageProductModel> getPROSBaggageProducts(List<String> prosReferences)
      Gets a list ancillary products of type PROSBaggageProductModel for the given pros references.
      Parameters:
      prosReferences - the pros references
      Returns:
      the pros baggage products
    • getATPCOAncillaryProductsByCatalogVersion

      List<ATPCOAncillaryProductModel> getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion)
      Gets all the ATPCO services from the system having the specific catalog version.
      Parameters:
      catalogVersion - the catalogVersion
      Returns:
      the list of ATPCO ancillary products
    • getCarryOnAllowanceProducts

      List<CarryOnAllowanceProductModel> getCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel)
      Gets all the carryOn products having the specific catalog version
      Parameters:
      catalogVersionModel - the catalog version
      Returns:
      the list of carryOn products
    • getBaggageProductsByCatalogVersion

      List<ShoppingBaggageProductModel> getBaggageProductsByCatalogVersion(CatalogVersionModel catalogVersionModel)
      Gets a list ancillary products of type ShoppingBaggageProductModel for the given catalog version.
      Parameters:
      catalogVersionModel - the catalog version
      Returns:
      the lis of baggage products
    • getNonATPCOAncillaryProductByCatalogVersionAndServiceKey

      NonATPCOAncillaryProductModel getNonATPCOAncillaryProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersion, String serviceKey)
      Gets all the available NonATPCO ancillary product for the given catalog version and service key.
      Parameters:
      catalogVersion - the catalogVersion
      serviceKey - the service key
      Returns:
      the Non ATPCO ancillary product
    • getCarryOnAllowanceProductByCatalogVersionAndServiceKey

      CarryOnAllowanceProductModel getCarryOnAllowanceProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey)
      Gets all the carryOn product for the given catalog version and service key
      Parameters:
      catalogVersionModel - the catalog version
      serviceKey - the service key
      Returns:
      the carryOn product
    • getBaggageProductByCatalogVersionAndServiceKey

      ShoppingBaggageProductModel getBaggageProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey)
      Gets a list ancillary product of type ShoppingBaggageProductModel for the given catalog version and service key.
      Parameters:
      catalogVersionModel - the catalog version
      serviceKey - the service key
      Returns:
      the baggage product
    • getPROSBaggageProductsByNames

      List<ShoppingBaggageProductModel> getPROSBaggageProductsByNames(List<String> names)
      Gets a list ancillary products of type PROSBaggageProductModel for the given pros names/types.
      Parameters:
      names - the list of pros names/types
      Returns:
      the pros baggage products