Class OrderViewDataListsPaxSegmentListHandler

java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.handlers.impl.OrderViewDataListsPaxSegmentListHandler
All Implemented Interfaces:
OrderViewDataListsListHandler

public class OrderViewDataListsPaxSegmentListHandler extends Object implements OrderViewDataListsListHandler
The Order View Data List Type implementation of OrderViewDataListsListHandler interface. This handler populates the pax segment list in the data list type attribute.
  • Constructor Details

    • OrderViewDataListsPaxSegmentListHandler

      public OrderViewDataListsPaxSegmentListHandler()
  • Method Details

    • handle

      public void handle(OrderModel orderModel, DataListsType dataListsType)
      Creates a segment data list definition. Each segment is a transportation of a passenger on a Dated Operating Segment.
      Specified by:
      handle in interface OrderViewDataListsListHandler
      Parameters:
      orderModel - the orderModel
      dataListsType - the dataListsType
    • createPaxSegment

      protected PaxSegmentType createPaxSegment(TransportOfferingModel transportOffering, CabinTypeModel cabin)
      Create pax segment type.
      Parameters:
      transportOffering - the transport offering
      cabin - the cabin
      Returns:
      the pax segment type