|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.FareDisplayRS
public class FareDisplayRS
Response message contains the various fares for a given origin and destination, including some general fare conditions (e.g., minimum/maximum stay). 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_AirFareDisplayRS"> <xs:complexType> <xs:choice> <xs:sequence> <xs:element type="ns:SuccessType" name="Success"/> <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/> <xs:element name="FareDisplayInfos" minOccurs="0"> <!-- Reference to inner class FareDisplayInfos --> </xs:element> <xs:element name="OtherFareInformation" minOccurs="0"> <!-- Reference to inner class OtherFareInformation --> </xs:element> <xs:element name="ExchangeRates" minOccurs="0"> <!-- Reference to inner class ExchangeRates --> </xs:element> <xs:element type="ns:FreeTextType" name="AdvisoryInfo" minOccurs="0" maxOccurs="5"/> </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 |
FareDisplayRS.ExchangeRates
Container for exchange rates. |
static class |
FareDisplayRS.FareDisplayInfos
Container for multiple returned FareDisplayInfo elements Schema fragment(s) for this class: |
static class |
FareDisplayRS.OtherFareInformation
Container for information relating to fare contracts that have not been returned in this message Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
FareDisplayRS()
|
Method Summary | |
---|---|
void |
addAdvisoryInfo(FreeText item)
Add a 'AdvisoryInfo' element item. |
void |
clearAdvisoryInfos()
Remove all 'AdvisoryInfo' element items. |
void |
clearChoiceSelect()
Clear the choice selection. |
FreeText |
getAdvisoryInfo(int index)
Get 'AdvisoryInfo' element item by position. |
java.util.List<FreeText> |
getAdvisoryInfos()
Get the list of 'AdvisoryInfo' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
FareDisplayRS.ExchangeRates |
getExchangeRates()
Get the 'ExchangeRates' element value. |
FareDisplayRS.FareDisplayInfos |
getFareDisplayInfos()
Get the 'FareDisplayInfos' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
FareDisplayRS.OtherFareInformation |
getOtherFareInformation()
Get the 'OtherFareInformation' element value. |
Warnings |
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 |
setAdvisoryInfos(java.util.List<FreeText> list)
Set the list of 'AdvisoryInfo' element items. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setExchangeRates(FareDisplayRS.ExchangeRates exchangeRates)
Set the 'ExchangeRates' element value. |
void |
setFareDisplayInfos(FareDisplayRS.FareDisplayInfos fareDisplayInfos)
Set the 'FareDisplayInfos' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setOtherFareInformation(FareDisplayRS.OtherFareInformation otherFareInformation)
Set the 'OtherFareInformation' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeAdvisoryInfos()
Get the number of 'AdvisoryInfo' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FareDisplayRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSuccess()
true
if selection, false
if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings
- public FareDisplayRS.FareDisplayInfos getFareDisplayInfos()
public void setFareDisplayInfos(FareDisplayRS.FareDisplayInfos fareDisplayInfos)
fareDisplayInfos
- public FareDisplayRS.OtherFareInformation getOtherFareInformation()
public void setOtherFareInformation(FareDisplayRS.OtherFareInformation otherFareInformation)
otherFareInformation
- public FareDisplayRS.ExchangeRates getExchangeRates()
public void setExchangeRates(FareDisplayRS.ExchangeRates exchangeRates)
exchangeRates
- public java.util.List<FreeText> getAdvisoryInfos()
public void setAdvisoryInfos(java.util.List<FreeText> list)
list
- public int sizeAdvisoryInfos()
public void addAdvisoryInfo(FreeText item)
item
- public FreeText getAdvisoryInfo(int index)
index
-
public void clearAdvisoryInfos()
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 |