java.lang.Object
de.hybris.platform.ndc182facades.messages.servicelistrequest.PaxJourneyType

public class PaxJourneyType extends Object
A collection of segments which satisfies transportation of a passenger for a given origin and destination.

Java class for PaxJourneyType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PaxJourneyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DistanceMeasure" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}MeasureType" minOccurs="0"/>
         <element name="Duration" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}DurationType" minOccurs="0"/>
         <element name="PaxJourneyID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}ID_Type" minOccurs="0"/>
         <element name="PaxSegment" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}PaxSegmentType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PaxJourneyType

      public PaxJourneyType()
  • Method Details

    • getDistanceMeasure

      public MeasureType getDistanceMeasure()
      Gets the value of the distanceMeasure property.
      Returns:
      possible object is MeasureType
    • setDistanceMeasure

      public void setDistanceMeasure(MeasureType value)
      Sets the value of the distanceMeasure property.
      Parameters:
      value - allowed object is MeasureType
    • getDuration

      public Duration getDuration()
      Gets the value of the duration property.
      Returns:
      possible object is Duration
    • setDuration

      public void setDuration(Duration value)
      Sets the value of the duration property.
      Parameters:
      value - allowed object is Duration
    • getPaxJourneyID

      public String getPaxJourneyID()
      Gets the value of the paxJourneyID property.
      Returns:
      possible object is String
    • setPaxJourneyID

      public void setPaxJourneyID(String value)
      Sets the value of the paxJourneyID property.
      Parameters:
      value - allowed object is String
    • getPaxSegment

      public List<PaxSegmentType> getPaxSegment()
      Gets the value of the paxSegment property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the paxSegment property.

      For example, to add a new item, do as follows:

          getPaxSegment().add(newItem);
       

      Objects of the following type(s) are allowed in the list PaxSegmentType