org.ota.misc
Class ResRetrieveRS.ReservationsList.PackageReservation

java.lang.Object
  extended by org.ota.misc.ResRetrieveRS.ReservationsList.PackageReservation
Enclosing class:
ResRetrieveRS.ReservationsList

public static class ResRetrieveRS.ReservationsList.PackageReservation
extends java.lang.Object

One line in a list of package reservations. It contains the reservation id, departure date and point, destination point, duration, tour and travel codes, flight code, passenger name and number of passengers, and booking status. 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="PackageReservation" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
       <xs:element type="ns:PersonNameType" name="Name" minOccurs="0"/>
       <xs:element type="ns:LocationType" name="ArrivalLocation" minOccurs="0"/>
       <xs:element type="ns:LocationType" name="DepartureLocation" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="TravelCode"/>
     <xs:attribute type="xs:string" use="optional" name="TourCode"/>
     <xs:attribute type="xs:string" use="optional" name="PackageID"/>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
     <xs:attributeGroup ref="ns:InventoryStatusGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InventoryStatusGroup">
   <xs:attribute type="xs:string" use="optional" name="ReservationStatusCode"/>
   <xs:attribute type="ns:InventoryStatusType" use="optional" name="ReservationStatus"/>
 </xs:attributeGroup>
 


Constructor Summary
ResRetrieveRS.ReservationsList.PackageReservation()
           
 
Method Summary
 Location getArrivalLocation()
          Get the 'ArrivalLocation' element value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 Location getDepartureLocation()
          Get the 'DepartureLocation' element value.
 PersonName getName()
          Get the 'Name' element value.
 java.lang.String getPackageID()
          Get the 'PackageID' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 InventoryStatus getReservationStatus()
          Get the 'ReservationStatus' attribute value.
 java.lang.String getReservationStatusCode()
          Get the 'ReservationStatusCode' attribute value.
 java.lang.String getTourCode()
          Get the 'TourCode' attribute value.
 java.lang.String getTravelCode()
          Get the 'TravelCode' attribute value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setArrivalLocation(Location arrivalLocation)
          Set the 'ArrivalLocation' element value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDepartureLocation(Location departureLocation)
          Set the 'DepartureLocation' element value.
 void setName(PersonName name)
          Set the 'Name' element value.
 void setPackageID(java.lang.String packageID)
          Set the 'PackageID' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setReservationStatus(InventoryStatus reservationStatus)
          Set the 'ReservationStatus' attribute value.
 void setReservationStatusCode(java.lang.String reservationStatusCode)
          Set the 'ReservationStatusCode' attribute value.
 void setTourCode(java.lang.String tourCode)
          Set the 'TourCode' attribute value.
 void setTravelCode(java.lang.String travelCode)
          Set the 'TravelCode' attribute value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResRetrieveRS.ReservationsList.PackageReservation

public ResRetrieveRS.ReservationsList.PackageReservation()
Method Detail

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. The package booking reference.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. The package booking reference.

Parameters:
uniqueID -

getName

public PersonName getName()
Get the 'Name' element value. The surname, initial, and title of the passenger.

Returns:
value

setName

public void setName(PersonName name)
Set the 'Name' element value. The surname, initial, and title of the passenger.

Parameters:
name -

getArrivalLocation

public Location getArrivalLocation()
Get the 'ArrivalLocation' element value. The code for the final destination - normally an IATA code.

Returns:
value

setArrivalLocation

public void setArrivalLocation(Location arrivalLocation)
Set the 'ArrivalLocation' element value. The code for the final destination - normally an IATA code.

Parameters:
arrivalLocation -

getDepartureLocation

public Location getDepartureLocation()
Get the 'DepartureLocation' element value. The code for the traveller's departure point - normally an IATA code.

Returns:
value

setDepartureLocation

public void setDepartureLocation(Location departureLocation)
Set the 'DepartureLocation' element value. The code for the traveller's departure point - normally an IATA code.

Parameters:
departureLocation -

getTravelCode

public java.lang.String getTravelCode()
Get the 'TravelCode' attribute value. The supplier's code to identify the travel arrangement for the package.

Returns:
value

setTravelCode

public void setTravelCode(java.lang.String travelCode)
Set the 'TravelCode' attribute value. The supplier's code to identify the travel arrangement for the package.

Parameters:
travelCode -

getTourCode

public java.lang.String getTourCode()
Get the 'TourCode' attribute value. The supplier's code to identify the accommodation/tour arrangement for a package.

Returns:
value

setTourCode

public void setTourCode(java.lang.String tourCode)
Set the 'TourCode' attribute value. The supplier's code to identify the accommodation/tour arrangement for a package.

Parameters:
tourCode -

getPackageID

public java.lang.String getPackageID()
Get the 'PackageID' attribute value. A code identifying a complete package arrangement, replacing individual travel and accommodation codes.

Returns:
value

setPackageID

public void setPackageID(java.lang.String packageID)
Set the 'PackageID' attribute value. A code identifying a complete package arrangement, replacing individual travel and accommodation codes.

Parameters:
packageID -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. The start date and duration of the package.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. The start date and duration of the package.

Parameters:
dateTimeSpanGroup -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -

getReservationStatusCode

public java.lang.String getReservationStatusCode()
Get the 'ReservationStatusCode' attribute value. Refer to OpenTravel Code List Status (STS).

Returns:
value

setReservationStatusCode

public void setReservationStatusCode(java.lang.String reservationStatusCode)
Set the 'ReservationStatusCode' attribute value. Refer to OpenTravel Code List Status (STS).

Parameters:
reservationStatusCode -

getReservationStatus

public InventoryStatus getReservationStatus()
Get the 'ReservationStatus' attribute value. This defines the status of the reservation.

Returns:
value

setReservationStatus

public void setReservationStatus(InventoryStatus reservationStatus)
Set the 'ReservationStatus' attribute value. This defines the status of the reservation.

Parameters:
reservationStatus -