|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.FareAvailRS
public class FareAvailRS
The Fare Availability Response message contains fares availability for a given sailing with a specific Mode of Transportation/GatewayCity pair and currency. For each fare the following information may be returned: - Fare Code - Status code - First and second dining services status - Fare indicator - Alternate available modes of transportation - Alternate available currencies - Cruise package information - Group Code This message does not return fare amounts. Fare availability returns the different fare codes that the cruise line uses to group categories. Examples of fare codes are "best fare" or "past passenger fare." 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_CruiseFareAvailRS"> <xs:complexType> <xs:choice> <xs:sequence> <xs:element type="ns:SuccessType" name="Success"/> <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/> <xs:element type="ns:SailingType" name="SailingInfo" minOccurs="0"/> <xs:element name="AlternateCurrencyList" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:attributeGroup ref="ns:CurrencyCodeGroup"/> </xs:complexType> </xs:element> <xs:element name="FareCodeOptions" minOccurs="0"> <!-- Reference to inner class FareCodeOptions --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:element type="ns:ErrorsType" name="Errors"/> </xs:choice> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attributeGroup ref="ns:ResponseGroup"/> </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"/> <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 |
FareAvailRS.FareCodeOptions
Specifies the different fare options available for the selected sailing. |
Constructor Summary | |
---|---|
FareAvailRS()
|
Method Summary | |
---|---|
void |
addAlternateCurrencyList(CurrencyCodeGroup item)
Add a 'AlternateCurrencyList' element item. |
void |
clearAlternateCurrencyLists()
Remove all 'AlternateCurrencyList' element items. |
void |
clearChoiceSelect()
Clear the choice selection. |
CurrencyCodeGroup |
getAlternateCurrencyList(int index)
Get 'AlternateCurrencyList' element item by position. |
java.util.List<CurrencyCodeGroup> |
getAlternateCurrencyLists()
Get the list of 'AlternateCurrencyList' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
FareAvailRS.FareCodeOptions |
getFareCodeOptions()
Get the 'FareCodeOptions' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
ResponseGroup |
getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. |
Sailing |
getSailingInfo()
Get the 'SailingInfo' element value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' 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 |
setAlternateCurrencyLists(java.util.List<CurrencyCodeGroup> list)
Set the list of 'AlternateCurrencyList' element items. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setFareCodeOptions(FareAvailRS.FareCodeOptions fareCodeOptions)
Set the 'FareCodeOptions' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. |
void |
setSailingInfo(Sailing sailingInfo)
Set the 'SailingInfo' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeAlternateCurrencyLists()
Get the number of 'AlternateCurrencyList' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FareAvailRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSuccess()
true
if selection, false
if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings
- public Sailing getSailingInfo()
public void setSailingInfo(Sailing sailingInfo)
sailingInfo
- public java.util.List<CurrencyCodeGroup> getAlternateCurrencyLists()
public void setAlternateCurrencyLists(java.util.List<CurrencyCodeGroup> list)
list
- public int sizeAlternateCurrencyLists()
public void addAlternateCurrencyList(CurrencyCodeGroup item)
item
- public CurrencyCodeGroup getAlternateCurrencyList(int index)
index
-
public void clearAlternateCurrencyLists()
public FareAvailRS.FareCodeOptions getFareCodeOptions()
public void setFareCodeOptions(FareAvailRS.FareCodeOptions fareCodeOptions)
fareCodeOptions
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- 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
- public ResponseGroup getResponseGroup()
public void setResponseGroup(ResponseGroup responseGroup)
responseGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |