Interface PROSTravelAncillaryDao
- All Known Implementing Classes:
DefaultPROSTravelAncillaryDao
public interface PROSTravelAncillaryDao
The interface Pros travel ancillary dao.
-
Method Summary
Modifier and TypeMethodDescriptiongetAncillaryProducts(List<String> transportOfferingCodes) Gets a list of ancillary products that have stock in hybris for the given transport offering codes.getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion) Gets all the available ATPCO services from the system having the specific catalog version.getBaggageProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Gets a list ancillary product of type ShoppingBaggageProductModel for the given catalog version and service key.getBaggageProductsByCatalogVersion(CatalogVersionModel catalogVersionModel) Gets a list ancillary products of type ShoppingBaggageProductModel for the given catalog version.getCarryOnAllowanceProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Gets all the carryOn product for the given catalog version and service keygetCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel) Gets all the carryOn products having the specific catalog versiongetNonATPCOAncillaryProductByCatalogVersionAndCode(CatalogVersionModel catalogVersion, String code) Gets all the available NonATPCO ancillary product for the given catalog version and service key.getPROSAncillaryProducts(List<String> prosReferences) Gets a list ancillary products of type PROSAncillaryProductModel for the given pros references.getPROSBaggageProducts(List<String> prosReferences) Gets a list ancillary products of type PROSBaggageProductModel for the given pros references.getPROSBaggageProductsByNames(List<String> names) Gets a list ancillary products of type PROSBaggageProductModel for the given pros names/types.
-
Method Details
-
getAncillaryProducts
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
Gets a list ancillary products of type PROSAncillaryProductModel for the given pros references.- Parameters:
prosReferences- the pros references- Returns:
- the pros ancillary products
-
getPROSBaggageProducts
Gets a list ancillary products of type PROSBaggageProductModel for the given pros references.- Parameters:
prosReferences- the pros references- Returns:
- the pros baggage products
-
getNonATPCOAncillaryProductByCatalogVersionAndCode
NonATPCOAncillaryProductModel getNonATPCOAncillaryProductByCatalogVersionAndCode(CatalogVersionModel catalogVersion, String code) Gets all the available NonATPCO ancillary product for the given catalog version and service key.- Parameters:
catalogVersion- the catalogVersioncode- the code- Returns:
- the Non ATPCO ancillary product
-
getCarryOnAllowanceProductByCatalogVersionAndCode
CarryOnAllowanceProductModel getCarryOnAllowanceProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Gets all the carryOn product for the given catalog version and service key- Parameters:
catalogVersionModel- the catalog versioncode- the code- Returns:
- the carryOn product
-
getBaggageProductByCatalogVersionAndCode
ShoppingBaggageProductModel getBaggageProductByCatalogVersionAndCode(CatalogVersionModel catalogVersionModel, String code) Gets a list ancillary product of type ShoppingBaggageProductModel for the given catalog version and service key.- Parameters:
catalogVersionModel- the catalog versioncode- the code- Returns:
- the baggage product
-
getATPCOAncillaryProductsByCatalogVersion
List<ATPCOAncillaryProductModel> getATPCOAncillaryProductsByCatalogVersion(CatalogVersionModel catalogVersion) Gets all the available 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
-
getPROSBaggageProductsByNames
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
-