org.ota.air
Class SpecialReqDetails.SeatRequests.SeatRequest

java.lang.Object
  extended by org.ota.air.SpecialReqDetails.SeatRequests.SeatRequest
Enclosing class:
SpecialReqDetails.SeatRequests

public static class SpecialReqDetails.SeatRequests.SeatRequest
extends java.lang.Object

Seating requests for each passenger for each air leg of this trip. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatRequest" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:SeatRequestType">
         <xs:attribute type="xs:string" use="optional" name="TravelerRefNumberRPHList"/>
         <xs:attribute type="xs:string" use="optional" name="FlightRefNumberRPHList"/>
         <xs:attribute type="xs:boolean" use="optional" name="PartialSeatingInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatRequestType">
   <xs:sequence>
     <xs:element type="ns:LocationType" name="DepartureAirport" minOccurs="0"/>
     <xs:element type="ns:LocationType" name="ArrivalAirport" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:SeatRequestAttributes"/>
   <xs:attribute type="xs:string" use="optional" name="DepartureDate"/>
   <xs:attribute type="xs:string" use="optional" name="FlightNumber"/>
   <xs:attribute type="xs:string" use="optional" name="Status"/>
 </xs:complexType>
 


Constructor Summary
SpecialReqDetails.SeatRequests.SeatRequest()
           
 
Method Summary
 Location getArrivalAirport()
          Get the 'ArrivalAirport' element value.
 Location getDepartureAirport()
          Get the 'DepartureAirport' element value.
 java.lang.String getDepartureDate()
          Get the 'DepartureDate' attribute value.
 java.lang.String getFlightNumber()
          Get the 'FlightNumber' attribute value.
 java.lang.String getFlightRefNumberRPHList()
          Get the 'FlightRefNumberRPHList' attribute value.
 java.lang.Boolean getPartialSeatingInd()
          Get the 'PartialSeatingInd' attribute value.
 SeatRequestAttributes getSeatRequestAttributes()
          Get the 'SeatRequestAttributes' attributeGroup value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 java.lang.String getTravelerRefNumberRPHList()
          Get the 'TravelerRefNumberRPHList' attribute value.
 void setArrivalAirport(Location arrivalAirport)
          Set the 'ArrivalAirport' element value.
 void setDepartureAirport(Location departureAirport)
          Set the 'DepartureAirport' element value.
 void setDepartureDate(java.lang.String departureDate)
          Set the 'DepartureDate' attribute value.
 void setFlightNumber(java.lang.String flightNumber)
          Set the 'FlightNumber' attribute value.
 void setFlightRefNumberRPHList(java.lang.String flightRefNumberRPHList)
          Set the 'FlightRefNumberRPHList' attribute value.
 void setPartialSeatingInd(java.lang.Boolean partialSeatingInd)
          Set the 'PartialSeatingInd' attribute value.
 void setSeatRequestAttributes(SeatRequestAttributes seatRequestAttributes)
          Set the 'SeatRequestAttributes' attributeGroup value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 void setTravelerRefNumberRPHList(java.lang.String travelerRefNumberRPHList)
          Set the 'TravelerRefNumberRPHList' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecialReqDetails.SeatRequests.SeatRequest

public SpecialReqDetails.SeatRequests.SeatRequest()
Method Detail

getDepartureAirport

public Location getDepartureAirport()
Get the 'DepartureAirport' element value. Departure point of flight segment.

Returns:
value

setDepartureAirport

public void setDepartureAirport(Location departureAirport)
Set the 'DepartureAirport' element value. Departure point of flight segment.

Parameters:
departureAirport -

getArrivalAirport

public Location getArrivalAirport()
Get the 'ArrivalAirport' element value. Arrival point of flight segment.

Returns:
value

setArrivalAirport

public void setArrivalAirport(Location arrivalAirport)
Set the 'ArrivalAirport' element value. Arrival point of flight segment.

Parameters:
arrivalAirport -

getSeatRequestAttributes

public SeatRequestAttributes getSeatRequestAttributes()
Get the 'SeatRequestAttributes' attributeGroup value. Attributes for seat request. Note: you can choose a specific seat or just a general preference

Returns:
value

setSeatRequestAttributes

public void setSeatRequestAttributes(SeatRequestAttributes seatRequestAttributes)
Set the 'SeatRequestAttributes' attributeGroup value. Attributes for seat request. Note: you can choose a specific seat or just a general preference

Parameters:
seatRequestAttributes -

getDepartureDate

public java.lang.String getDepartureDate()
Get the 'DepartureDate' attribute value. The departure date of the flight for the seat requested.

Returns:
value

setDepartureDate

public void setDepartureDate(java.lang.String departureDate)
Set the 'DepartureDate' attribute value. The departure date of the flight for the seat requested.

Parameters:
departureDate -

getFlightNumber

public java.lang.String getFlightNumber()
Get the 'FlightNumber' attribute value. The number of the flight for which this seat is requested.

Returns:
value

setFlightNumber

public void setFlightNumber(java.lang.String flightNumber)
Set the 'FlightNumber' attribute value. The number of the flight for which this seat is requested.

Parameters:
flightNumber -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Code providing status information for this seat request. Refer to OpenTravel Code List 'Status' (STS).

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. Code providing status information for this seat request. Refer to OpenTravel Code List 'Status' (STS).

Parameters:
status -

getTravelerRefNumberRPHList

public java.lang.String getTravelerRefNumberRPHList()
Get the 'TravelerRefNumberRPHList' attribute value. One or more travelers to whom this request applies

Returns:
value

setTravelerRefNumberRPHList

public void setTravelerRefNumberRPHList(java.lang.String travelerRefNumberRPHList)
Set the 'TravelerRefNumberRPHList' attribute value. One or more travelers to whom this request applies

Parameters:
travelerRefNumberRPHList -

getFlightRefNumberRPHList

public java.lang.String getFlightRefNumberRPHList()
Get the 'FlightRefNumberRPHList' attribute value. One or more flights to whom this request applies

Returns:
value

setFlightRefNumberRPHList

public void setFlightRefNumberRPHList(java.lang.String flightRefNumberRPHList)
Set the 'FlightRefNumberRPHList' attribute value. One or more flights to whom this request applies

Parameters:
flightRefNumberRPHList -

getPartialSeatingInd

public java.lang.Boolean getPartialSeatingInd()
Get the 'PartialSeatingInd' attribute value. When true, the carrier supports partial seating. When false, the carrier does not support partial seating.

Returns:
value

setPartialSeatingInd

public void setPartialSeatingInd(java.lang.Boolean partialSeatingInd)
Set the 'PartialSeatingInd' attribute value. When true, the carrier supports partial seating. When false, the carrier does not support partial seating.

Parameters:
partialSeatingInd -