Class AffinityOriginDestType

java.lang.Object
de.hybris.platform.ndc182facades.messages.airshoppingrequest.AffinityOriginDestType

public class AffinityOriginDestType extends Object
Origin and Destination information for affinity shopping requests.

Java class for AffinityOriginDestType complex type.

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

 <complexType name="AffinityOriginDestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AffinityArrivalRequest" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}AffinityArrivalRequestType" minOccurs="0"/>
         <element name="AffinityDepRequest" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}AffinityDepRequestType" minOccurs="0"/>
         <element name="ConnectionPRefRefID" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}ID_Type" minOccurs="0"/>
         <element name="PreferredCabinType" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ}CabinTypeType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • AffinityOriginDestType

      public AffinityOriginDestType()
  • Method Details

    • getAffinityArrivalRequest

      public AffinityArrivalRequestType getAffinityArrivalRequest()
      Gets the value of the affinityArrivalRequest property.
      Returns:
      possible object is AffinityArrivalRequestType
    • setAffinityArrivalRequest

      public void setAffinityArrivalRequest(AffinityArrivalRequestType value)
      Sets the value of the affinityArrivalRequest property.
      Parameters:
      value - allowed object is AffinityArrivalRequestType
    • getAffinityDepRequest

      public AffinityDepRequestType getAffinityDepRequest()
      Gets the value of the affinityDepRequest property.
      Returns:
      possible object is AffinityDepRequestType
    • setAffinityDepRequest

      public void setAffinityDepRequest(AffinityDepRequestType value)
      Sets the value of the affinityDepRequest property.
      Parameters:
      value - allowed object is AffinityDepRequestType
    • getConnectionPRefRefID

      public String getConnectionPRefRefID()
      Gets the value of the connectionPRefRefID property.
      Returns:
      possible object is String
    • setConnectionPRefRefID

      public void setConnectionPRefRefID(String value)
      Sets the value of the connectionPRefRefID property.
      Parameters:
      value - allowed object is String
    • getPreferredCabinType

      public List<CabinTypeType> getPreferredCabinType()
      Gets the value of the preferredCabinType 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 preferredCabinType property.

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

          getPreferredCabinType().add(newItem);
       

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