Class OriginDestType

java.lang.Object
de.hybris.platform.oneorderfacades.oneorder.sdn.OriginDestType

public class OriginDestType extends Object
The Origin and Destination airport/city pair which confines a passenger journey or an aircraft flight.

Java class for OriginDestType complex type.

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

 <complexType name="OriginDestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DestCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}IATALocationCodeType"/>
         <element name="OriginCode" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}IATALocationCodeType"/>
         <element name="OriginDestID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}ID_Type" minOccurs="0"/>
         <element name="PaxJourneyRefID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceDeliveryNotifRQ}ID_Type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • destCode

      protected String destCode
    • originCode

      protected String originCode
    • originDestID

      protected String originDestID
    • paxJourneyRefID

      protected List<String> paxJourneyRefID
  • Constructor Details

    • OriginDestType

      public OriginDestType()
  • Method Details

    • getDestCode

      public String getDestCode()
      Gets the value of the destCode property.
      Returns:
      possible object is String
    • setDestCode

      public void setDestCode(String value)
      Sets the value of the destCode property.
      Parameters:
      value - allowed object is String
    • getOriginCode

      public String getOriginCode()
      Gets the value of the originCode property.
      Returns:
      possible object is String
    • setOriginCode

      public void setOriginCode(String value)
      Sets the value of the originCode property.
      Parameters:
      value - allowed object is String
    • getOriginDestID

      public String getOriginDestID()
      Gets the value of the originDestID property.
      Returns:
      possible object is String
    • setOriginDestID

      public void setOriginDestID(String value)
      Sets the value of the originDestID property.
      Parameters:
      value - allowed object is String
    • getPaxJourneyRefID

      public List<String> getPaxJourneyRefID()
      Gets the value of the paxJourneyRefID 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 paxJourneyRefID property.

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

          getPaxJourneyRefID().add(newItem);
       

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