|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.BookRQ
public class BookRQ
The Book Request message requests the system to book a specific itinerary for one or more identified passengers. The message contains optional pricing information, allowing the booking class availability and pricing to be rechecked as part of the booking process. Optional request information can include:- Seat and Meal Requests- SSR, OSI, and Remarks. 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="OTA_AirBookRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS"/> <xs:element type="ns:AirItineraryType" name="AirItinerary"/> <xs:element name="PriceInfo" minOccurs="0"> <!-- Reference to inner class PriceInfo --> </xs:element> <xs:element type="ns:TravelerInfoType" name="TravelerInfo"/> <xs:element type="ns:FulfillmentType" name="Fulfillment" minOccurs="0"/> <xs:element type="ns:TicketingInfoType" name="Ticketing" minOccurs="0" maxOccurs="99"/> <xs:element name="Queue" minOccurs="0" maxOccurs="10"> <!-- Reference to inner class Queue --> </xs:element> <xs:element type="ns:UniqueID_Type" name="BookingReferenceID" minOccurs="0"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attribute type="ns:TransactionActionType" use="optional" name="ResStatus"/> <xs:attribute type="xs:boolean" use="optional" name="PriceInd"/> </xs:complexType> </xs:element> <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
Nested Class Summary | |
---|---|
static class |
BookRQ.PriceInfo
Pricing information for the air itinerary to be booked e.g. |
static class |
BookRQ.Queue
Specifies information necessary to place this booking on a particular host system queue. |
Constructor Summary | |
---|---|
BookRQ()
|
Method Summary | |
---|---|
void |
addQueue(BookRQ.Queue item)
Add a 'Queue' element item. |
void |
addTicketing(TicketingInfo item)
Add a 'Ticketing' element item. |
void |
clearQueues()
Remove all 'Queue' element items. |
void |
clearTicketings()
Remove all 'Ticketing' element items. |
AirItinerary |
getAirItinerary()
Get the 'AirItinerary' element value. |
UniqueID |
getBookingReferenceID()
Get the 'BookingReferenceID' element value. |
Fulfillment |
getFulfillment()
Get the 'Fulfillment' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
java.lang.Boolean |
getPriceInd()
Get the 'PriceInd' attribute value. |
BookRQ.PriceInfo |
getPriceInfo()
Get the 'PriceInfo' element value. |
BookRQ.Queue |
getQueue(int index)
Get 'Queue' element item by position. |
java.util.List<BookRQ.Queue> |
getQueues()
Get the list of 'Queue' element items. |
TransactionAction |
getResStatus()
Get the 'ResStatus' attribute value. |
TicketingInfo |
getTicketing(int index)
Get 'Ticketing' element item by position. |
java.util.List<TicketingInfo> |
getTicketings()
Get the list of 'Ticketing' element items. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
TravelerInfo |
getTravelerInfo()
Get the 'TravelerInfo' element value. |
void |
setAirItinerary(AirItinerary airItinerary)
Set the 'AirItinerary' element value. |
void |
setBookingReferenceID(UniqueID bookingReferenceID)
Set the 'BookingReferenceID' element value. |
void |
setFulfillment(Fulfillment fulfillment)
Set the 'Fulfillment' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setPriceInd(java.lang.Boolean priceInd)
Set the 'PriceInd' attribute value. |
void |
setPriceInfo(BookRQ.PriceInfo priceInfo)
Set the 'PriceInfo' element value. |
void |
setQueues(java.util.List<BookRQ.Queue> list)
Set the list of 'Queue' element items. |
void |
setResStatus(TransactionAction resStatus)
Set the 'ResStatus' attribute value. |
void |
setTicketings(java.util.List<TicketingInfo> list)
Set the list of 'Ticketing' element items. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTravelerInfo(TravelerInfo travelerInfo)
Set the 'TravelerInfo' element value. |
int |
sizeQueues()
Get the number of 'Queue' 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 |
---|
public BookRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public AirItinerary getAirItinerary()
public void setAirItinerary(AirItinerary airItinerary)
airItinerary
- public BookRQ.PriceInfo getPriceInfo()
public void setPriceInfo(BookRQ.PriceInfo priceInfo)
priceInfo
- public TravelerInfo getTravelerInfo()
public void setTravelerInfo(TravelerInfo travelerInfo)
travelerInfo
- public Fulfillment getFulfillment()
public void setFulfillment(Fulfillment fulfillment)
fulfillment
- public java.util.List<TicketingInfo> getTicketings()
public void setTicketings(java.util.List<TicketingInfo> list)
list
- public int sizeTicketings()
public void addTicketing(TicketingInfo item)
item
- public TicketingInfo getTicketing(int index)
index
-
public void clearTicketings()
public java.util.List<BookRQ.Queue> getQueues()
public void setQueues(java.util.List<BookRQ.Queue> list)
list
- public int sizeQueues()
public void addQueue(BookRQ.Queue item)
item
- public BookRQ.Queue getQueue(int index)
index
-
public void clearQueues()
public UniqueID getBookingReferenceID()
public void setBookingReferenceID(UniqueID bookingReferenceID)
bookingReferenceID
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- public TransactionAction getResStatus()
public void setResStatus(TransactionAction resStatus)
resStatus
- public java.lang.Boolean getPriceInd()
public void setPriceInd(java.lang.Boolean priceInd)
priceInd
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |