org.ota.air
Class AirReservation

java.lang.Object
  extended by org.ota.air.AirReservation
Direct Known Subclasses:
BookRS.Sequence.AirReservation, DisplayQueueRS.DisplayQueue.AirReservation

public class AirReservation
extends java.lang.Object

Contains all booking response information pertaining to a completed reservation. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AirReservationType">
   <xs:sequence>
     <xs:element type="ns:AirItineraryType" name="AirItinerary" minOccurs="0"/>
     <xs:element type="ns:BookingPriceInfoType" name="PriceInfo" minOccurs="0"/>
     <xs:element type="ns:TravelerInfoType" name="TravelerInfo" minOccurs="0"/>
     <xs:element type="ns:FulfillmentType" name="Fulfillment" minOccurs="0"/>
     <xs:element type="ns:TicketingInfoType" name="Ticketing" minOccurs="0" maxOccurs="99"/>
     <xs:element name="Queues" minOccurs="0">
       <!-- Reference to inner class Queues -->
     </xs:element>
     <xs:element name="BookingReferenceID" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class BookingReferenceID -->
     </xs:element>
     <xs:element type="ns:FormattedTextTextType" name="Comment" minOccurs="0"/>
     <xs:element name="PricingOverview" minOccurs="0">
       <!-- Reference to inner class PricingOverview -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="LastModified"/>
 </xs:complexType>
 


Nested Class Summary
static class AirReservation.BookingReferenceID
          Optional field available for use by trading partners as determined by their needs.
static class AirReservation.PricingOverview
          Information applicable to the pricing of the reservation.
static class AirReservation.Queues
          A container for queue information.
 
Constructor Summary
AirReservation()
           
 
Method Summary
 void addBookingReferenceID(AirReservation.BookingReferenceID item)
          Add a 'BookingReferenceID' element item.
 void addTicketing(TicketingInfo item)
          Add a 'Ticketing' element item.
 void clearBookingReferenceIDs()
          Remove all 'BookingReferenceID' element items.
 void clearTicketings()
          Remove all 'Ticketing' element items.
 AirItinerary getAirItinerary()
          Get the 'AirItinerary' element value.
 AirReservation.BookingReferenceID getBookingReferenceID(int index)
          Get 'BookingReferenceID' element item by position.
 java.util.List<AirReservation.BookingReferenceID> getBookingReferenceIDs()
          Get the list of 'BookingReferenceID' element items.
 FormattedTextText getComment()
          Get the 'Comment' element value.
 Fulfillment getFulfillment()
          Get the 'Fulfillment' element value.
 java.lang.String getLastModified()
          Get the 'LastModified' attribute value.
 BookingPriceInfo getPriceInfo()
          Get the 'PriceInfo' element value.
 AirReservation.PricingOverview getPricingOverview()
          Get the 'PricingOverview' element value.
 AirReservation.Queues getQueues()
          Get the 'Queues' element value.
 TicketingInfo getTicketing(int index)
          Get 'Ticketing' element item by position.
 java.util.List<TicketingInfo> getTicketings()
          Get the list of 'Ticketing' element items.
 TravelerInfo getTravelerInfo()
          Get the 'TravelerInfo' element value.
 void setAirItinerary(AirItinerary airItinerary)
          Set the 'AirItinerary' element value.
 void setBookingReferenceIDs(java.util.List<AirReservation.BookingReferenceID> list)
          Set the list of 'BookingReferenceID' element items.
 void setComment(FormattedTextText comment)
          Set the 'Comment' element value.
 void setFulfillment(Fulfillment fulfillment)
          Set the 'Fulfillment' element value.
 void setLastModified(java.lang.String lastModified)
          Set the 'LastModified' attribute value.
 void setPriceInfo(BookingPriceInfo priceInfo)
          Set the 'PriceInfo' element value.
 void setPricingOverview(AirReservation.PricingOverview pricingOverview)
          Set the 'PricingOverview' element value.
 void setQueues(AirReservation.Queues queues)
          Set the 'Queues' element value.
 void setTicketings(java.util.List<TicketingInfo> list)
          Set the list of 'Ticketing' element items.
 void setTravelerInfo(TravelerInfo travelerInfo)
          Set the 'TravelerInfo' element value.
 int sizeBookingReferenceIDs()
          Get the number of 'BookingReferenceID' element items.
 int sizeTicketings()
          Get the number of 'Ticketing' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirReservation

public AirReservation()
Method Detail

getAirItinerary

public AirItinerary getAirItinerary()
Get the 'AirItinerary' element value. A collection of all flight segments requested for booking.

Returns:
value

setAirItinerary

public void setAirItinerary(AirItinerary airItinerary)
Set the 'AirItinerary' element value. A collection of all flight segments requested for booking.

Parameters:
airItinerary -

getPriceInfo

public BookingPriceInfo getPriceInfo()
Get the 'PriceInfo' element value. Pricing information for the air itinerary to be booked e.g. this data could come from the OTA_AirPriceRS data.

Returns:
value

setPriceInfo

public void setPriceInfo(BookingPriceInfo priceInfo)
Set the 'PriceInfo' element value. Pricing information for the air itinerary to be booked e.g. this data could come from the OTA_AirPriceRS data.

Parameters:
priceInfo -

getTravelerInfo

public TravelerInfo getTravelerInfo()
Get the 'TravelerInfo' element value. All traveler information relevant to a booking request.

Returns:
value

setTravelerInfo

public void setTravelerInfo(TravelerInfo travelerInfo)
Set the 'TravelerInfo' element value. All traveler information relevant to a booking request.

Parameters:
travelerInfo -

getFulfillment

public Fulfillment getFulfillment()
Get the 'Fulfillment' element value. All payment information relevant to a booking request.

Returns:
value

setFulfillment

public void setFulfillment(Fulfillment fulfillment)
Set the 'Fulfillment' element value. All payment information relevant to a booking request.

Parameters:
fulfillment -

getTicketings

public java.util.List<TicketingInfo> getTicketings()
Get the list of 'Ticketing' element items. Information used to specify the ticketing arrangement or a summary of the associated ticket(s).

Returns:
list

setTicketings

public void setTicketings(java.util.List<TicketingInfo> list)
Set the list of 'Ticketing' element items. Information used to specify the ticketing arrangement or a summary of the associated ticket(s).

Parameters:
list -

sizeTicketings

public int sizeTicketings()
Get the number of 'Ticketing' element items.

Returns:
count

addTicketing

public void addTicketing(TicketingInfo item)
Add a 'Ticketing' element item.

Parameters:
item -

getTicketing

public TicketingInfo getTicketing(int index)
Get 'Ticketing' element item by position.

Parameters:
index -
Returns:
item

clearTicketings

public void clearTicketings()
Remove all 'Ticketing' element items.


getQueues

public AirReservation.Queues getQueues()
Get the 'Queues' element value.

Returns:
value

setQueues

public void setQueues(AirReservation.Queues queues)
Set the 'Queues' element value.

Parameters:
queues -

getBookingReferenceIDs

public java.util.List<AirReservation.BookingReferenceID> getBookingReferenceIDs()
Get the list of 'BookingReferenceID' element items.

Returns:
list

setBookingReferenceIDs

public void setBookingReferenceIDs(java.util.List<AirReservation.BookingReferenceID> list)
Set the list of 'BookingReferenceID' element items.

Parameters:
list -

sizeBookingReferenceIDs

public int sizeBookingReferenceIDs()
Get the number of 'BookingReferenceID' element items.

Returns:
count

addBookingReferenceID

public void addBookingReferenceID(AirReservation.BookingReferenceID item)
Add a 'BookingReferenceID' element item.

Parameters:
item -

getBookingReferenceID

public AirReservation.BookingReferenceID getBookingReferenceID(int index)
Get 'BookingReferenceID' element item by position.

Parameters:
index -
Returns:
item

clearBookingReferenceIDs

public void clearBookingReferenceIDs()
Remove all 'BookingReferenceID' element items.


getComment

public FormattedTextText getComment()
Get the 'Comment' element value. Textual information for the reservation.

Returns:
value

setComment

public void setComment(FormattedTextText comment)
Set the 'Comment' element value. Textual information for the reservation.

Parameters:
comment -

getPricingOverview

public AirReservation.PricingOverview getPricingOverview()
Get the 'PricingOverview' element value.

Returns:
value

setPricingOverview

public void setPricingOverview(AirReservation.PricingOverview pricingOverview)
Set the 'PricingOverview' element value.

Parameters:
pricingOverview -

getLastModified

public java.lang.String getLastModified()
Get the 'LastModified' attribute value. Specifies the date the reservation was last modified.

Returns:
value

setLastModified

public void setLastModified(java.lang.String lastModified)
Set the 'LastModified' attribute value. Specifies the date the reservation was last modified.

Parameters:
lastModified -