Class DefaultOneOrderOSINPaxListTypeHandler

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

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

    • DefaultOneOrderOSINPaxListTypeHandler

      public DefaultOneOrderOSINPaxListTypeHandler()
  • Method Details

    • handle

      public void handle(OrderModel orderModel, DataListsType dataListsType)
      Creates the passenger data list definition.
      Specified by:
      handle in interface OneOrderOSINDataListsHandler
      Parameters:
      orderModel - the orderModel
      dataListsType - the dataListsType
    • createPax

      protected PaxType createPax(TravellerModel travellerModel, DataListsType dataListsType)
      Create pax.
      Parameters:
      travellerModel - the traveller model
      dataListsType - the data list
      Returns:
      the pax type