Class DefaultOneOrderOSINServiceDefinitionListTypeHandler

java.lang.Object
de.hybris.platform.oneorderfacades.handlers.osin.impl.DefaultOneOrderOSINServiceDefinitionListTypeHandler
All Implemented Interfaces:
OneOrderOSINDataListsHandler

public class DefaultOneOrderOSINServiceDefinitionListTypeHandler extends Object implements OneOrderOSINDataListsHandler
The One Order implementation of OneOrderOSINDataListsHandler interface. This handler populates the serviceDefinitionList in the dataList attribute.
  • Constructor Details

    • DefaultOneOrderOSINServiceDefinitionListTypeHandler

      public DefaultOneOrderOSINServiceDefinitionListTypeHandler()
  • Method Details

    • handle

      public void handle(OrderModel orderModel, DataListsType dataListsType)
      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:
      handle in interface OneOrderOSINDataListsHandler
      Parameters:
      orderModel - the orderModel
      dataListsType - the dataListsType
    • createServiceDefinition

      protected ServiceDefinitionType createServiceDefinition(ProductModel product)
      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