Class DefaultOneOrderSDNServiceDefinitionListTypeHandler
java.lang.Object
de.hybris.platform.oneorderfacades.handlers.sdn.impl.DefaultOneOrderSDNServiceDefinitionListTypeHandler
- All Implemented Interfaces:
OneOrderSDNDataListsHandler
public class DefaultOneOrderSDNServiceDefinitionListTypeHandler
extends Object
implements OneOrderSDNDataListsHandler
The One Order implementation of
OneOrderSDNDataListsHandler interface. This handler populates the
serviceDefinitionList in the dataList attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ServiceDefinitionTypecreateServiceDefinition(ProductModel product) Create service definition type.protected de.hybris.platform.servicelayer.config.ConfigurationServiceGets the configurationServicevoidhandle(List<IATAServiceModel> iataServices, DataListsType dataListsType) Create a list of services.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService
-
Constructor Details
-
DefaultOneOrderSDNServiceDefinitionListTypeHandler
public DefaultOneOrderSDNServiceDefinitionListTypeHandler()
-
-
Method Details
-
handle
Create a list of services. A service is a product that could be a revenue for a revenue accounting system. E.g. bag, seat, meal on a flight, right to flight.- Specified by:
handlein interfaceOneOrderSDNDataListsHandler- Parameters:
iataServices- the iataServicesdataListsType- the dataListsType
-
createServiceDefinition
Create service definition type.- Parameters:
product- the product- Returns:
- the service definition type
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets the configurationService- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService- Parameters:
configurationService- the configurationService
-