Interface PROSTravelAncillaryService
- All Known Implementing Classes:
DefaultPROSTravelAncillaryService
public interface PROSTravelAncillaryService
The interface Pros travel ancillary service.
-
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 ATPCO services from the system having the specific catalog version.getBaggageProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey) 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.getCarryOnAllowanceProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersionModel, String serviceKey) Gets all the carryOn product for the given catalog version and service keygetCarryOnAllowanceProducts(CatalogVersionModel catalogVersionModel) Gets all the carryOn products having the specific catalog versiongetNonATPCOAncillaryProductByCatalogVersionAndServiceKey(CatalogVersionModel catalogVersion, String serviceKey) 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
-
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 catalogVersionserviceKey- 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 versionserviceKey- 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 versionserviceKey- the service key- Returns:
- the baggage product
-
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
-