org.ota.misc
Class ReadRQ.ReadRequests.PkgReadRequest

java.lang.Object
  extended by org.ota.misc.ReadRQ.ReadRequests.PkgReadRequest
Enclosing class:
ReadRQ.ReadRequests

public static class ReadRQ.ReadRequests.PkgReadRequest
extends java.lang.Object

To retrieve a package reservation record when the booking reference is not known 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="PkgReadRequest" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <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:complexType>
 </xs:element>
 


Constructor Summary
ReadRQ.ReadRequests.PkgReadRequest()
           
 
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.String getTourCode()
          Get the 'TourCode' attribute value.
 java.lang.String getTravelCode()
          Get the 'TravelCode' attribute 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 setTourCode(java.lang.String tourCode)
          Set the 'TourCode' attribute value.
 void setTravelCode(java.lang.String travelCode)
          Set the 'TravelCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadRQ.ReadRequests.PkgReadRequest

public ReadRQ.ReadRequests.PkgReadRequest()
Method Detail

getName

public PersonName getName()
Get the 'Name' element value. The name of the lead passenger on the booking.

Returns:
value

setName

public void setName(PersonName name)
Set the 'Name' element value. The name of the lead passenger on the booking.

Parameters:
name -

getArrivalLocation

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

Returns:
value

setArrivalLocation

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

Parameters:
arrivalLocation -

getDepartureLocation

public Location getDepartureLocation()
Get the 'DepartureLocation' element value. The code for the traveller's departure point - normally an IATA airport 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 airport 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 -