|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.BookRS
public class BookRS
The Book Response message contains the itinerary, passenger and pricing information sent in the request, along with a Booking reference number (PNR Locator) and ticketing information if the booking was successful. This message contains similar information to a standard airline CRS or GDS Display PNR message. 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_AirBookRS"> <xs:complexType> <xs:choice> <xs:sequence maxOccurs="2"> <!-- Reference to inner class Sequence --> </xs:sequence> <xs:element type="ns:ErrorsType" name="Errors"/> </xs:choice> <xs:attribute type="xs:boolean" name="Cancel"/> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attribute type="xs:boolean" use="optional" name="PriceInd"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
BookRS.Sequence
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
BookRS()
|
Method Summary | |
---|---|
void |
addSequence(BookRS.Sequence item)
Add a sequence item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearSequences()
Remove all sequence items. |
java.lang.Boolean |
getCancel()
Get the 'Cancel' attribute value. |
Errors |
getErrors()
Get the 'Errors' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
java.lang.Boolean |
getPriceInd()
Get the 'PriceInd' attribute value. |
BookRS.Sequence |
getSequence(int index)
Get sequence item by position. |
java.util.List<BookRS.Sequence> |
getSequences()
Get the list of sequence items. |
boolean |
ifErrors()
Check if Errors is current selection for choice. |
boolean |
ifSequence()
Check if Sequences is current selection for choice. |
void |
setCancel(java.lang.Boolean cancel)
Set the 'Cancel' attribute value. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPriceInd(java.lang.Boolean priceInd)
Set the 'PriceInd' attribute value. |
void |
setSequences(java.util.List<BookRS.Sequence> list)
Set the list of sequence items. |
int |
sizeSequences()
Get the number of sequence items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSequence()
true
if selection, false
if notpublic java.util.List<BookRS.Sequence> getSequences()
public void setSequences(java.util.List<BookRS.Sequence> list)
list
- public int sizeSequences()
public void addSequence(BookRS.Sequence item)
item
- public BookRS.Sequence getSequence(int index)
index
-
public void clearSequences()
public boolean ifErrors()
true
if selection, false
if notpublic Errors getErrors()
public void setErrors(Errors errors)
errors
- public java.lang.Boolean getCancel()
public void setCancel(java.lang.Boolean cancel)
cancel
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- 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 |