|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.DemandTicketRS
public class DemandTicketRS
Provides the capability to respond to a demand ticket request, returning minimal information about the ticket that was issued. 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_AirDemandTicketRS">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element type="ns:SuccessType" name="Success"/>
<xs:element type="ns:WarningType" name="Warnings" minOccurs="0"/>
<xs:element type="ns:UniqueID_Type" name="BookingReferenceID" minOccurs="0"/>
<xs:element name="TicketItemInfo" minOccurs="0" maxOccurs="99">
<!-- Reference to inner class TicketItemInfo -->
</xs:element>
<xs:element name="QueuePNR" minOccurs="0">
<!-- Reference to inner class QueuePNR -->
</xs:element>
<xs:element type="ns:FreeTextType" name="Comment" minOccurs="0"/>
</xs:sequence>
<xs:element type="ns:ErrorsType" name="Errors"/>
</xs:choice>
<xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
</xs:complexType>
</xs:element>
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
| Nested Class Summary | |
|---|---|
static class |
DemandTicketRS.QueuePNR
Information to specify which queue a PNR was placed on after the ticket was isssued. |
static class |
DemandTicketRS.TicketItemInfo
Information for the ticket that was issued. |
| Constructor Summary | |
|---|---|
DemandTicketRS()
|
|
| Method Summary | |
|---|---|
void |
addTicketItemInfo(DemandTicketRS.TicketItemInfo item)
Add a 'TicketItemInfo' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearTicketItemInfos()
Remove all 'TicketItemInfo' element items. |
UniqueID |
getBookingReferenceID()
Get the 'BookingReferenceID' element value. |
FreeText |
getComment()
Get the 'Comment' element value. |
Errors |
getErrors()
Get the 'Errors' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
DemandTicketRS.QueuePNR |
getQueuePNR()
Get the 'QueuePNR' element value. |
DemandTicketRS.TicketItemInfo |
getTicketItemInfo(int index)
Get 'TicketItemInfo' element item by position. |
java.util.List<DemandTicketRS.TicketItemInfo> |
getTicketItemInfos()
Get the list of 'TicketItemInfo' element items. |
Warning |
getWarnings()
Get the 'Warnings' element value. |
boolean |
ifErrors()
Check if Errors is current selection for choice. |
boolean |
ifSuccess()
Check if Success is current selection for choice. |
void |
setBookingReferenceID(UniqueID bookingReferenceID)
Set the 'BookingReferenceID' element value. |
void |
setComment(FreeText comment)
Set the 'Comment' element value. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setQueuePNR(DemandTicketRS.QueuePNR queuePNR)
Set the 'QueuePNR' element value. |
void |
setTicketItemInfos(java.util.List<DemandTicketRS.TicketItemInfo> list)
Set the list of 'TicketItemInfo' element items. |
void |
setWarnings(Warning warnings)
Set the 'Warnings' element value. |
int |
sizeTicketItemInfos()
Get the number of 'TicketItemInfo' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DemandTicketRS()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifSuccess()
true if selection, false if notpublic Warning getWarnings()
public void setWarnings(Warning warnings)
warnings - public UniqueID getBookingReferenceID()
public void setBookingReferenceID(UniqueID bookingReferenceID)
bookingReferenceID - public java.util.List<DemandTicketRS.TicketItemInfo> getTicketItemInfos()
public void setTicketItemInfos(java.util.List<DemandTicketRS.TicketItemInfo> list)
list - public int sizeTicketItemInfos()
public void addTicketItemInfo(DemandTicketRS.TicketItemInfo item)
item - public DemandTicketRS.TicketItemInfo getTicketItemInfo(int index)
index -
public void clearTicketItemInfos()
public DemandTicketRS.QueuePNR getQueuePNR()
public void setQueuePNR(DemandTicketRS.QueuePNR queuePNR)
queuePNR - public FreeText getComment()
public void setComment(FreeText comment)
comment - public boolean ifErrors()
true if selection, false if notpublic Errors getErrors()
public void setErrors(Errors errors)
errors - public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||