|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.CategoryAvailRS
public class CategoryAvailRS
The Category Availability Response message contains category availability for a given sailing with a specific Mode of Transportation/GatewayCity pair and currency for 1 to multiple fares (depending on the cruise line). For each category the following information may be returned: - Berthed category code - Priced category code - Status code - Category indicator - Cruise package information - Group code - Fare code - Currency code This message returns the fare amounts available in the different categories. At this point in the process the customer has selected the fare code and has queried the different category offerings for that fare code. 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_CruiseCategoryAvailRS"> <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:SailingInfoType" name="SailingInfo"/> <xs:element name="FareOption" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class FareOption --> </xs:element> <xs:element type="ns:TaxesType" name="Taxes" minOccurs="0"/> <xs:element type="ns:FeeType" name="Fee" minOccurs="0" maxOccurs="3"/> <xs:element type="ns:ParagraphType" name="Information" minOccurs="0" maxOccurs="5"/> </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"/>
Nested Class Summary | |
---|---|
static class |
CategoryAvailRS.FareOption
Fare and associated categories information. |
Constructor Summary | |
---|---|
CategoryAvailRS()
|
Method Summary | |
---|---|
void |
addFareOption(CategoryAvailRS.FareOption item)
Add a 'FareOption' element item. |
void |
addFee(Fee item)
Add a 'Fee' element item. |
void |
addInformation(Paragraph item)
Add a 'Information' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearFareOptions()
Remove all 'FareOption' element items. |
void |
clearFees()
Remove all 'Fee' element items. |
void |
clearInformations()
Remove all 'Information' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
CategoryAvailRS.FareOption |
getFareOption(int index)
Get 'FareOption' element item by position. |
java.util.List<CategoryAvailRS.FareOption> |
getFareOptions()
Get the list of 'FareOption' element items. |
Fee |
getFee(int index)
Get 'Fee' element item by position. |
java.util.List<Fee> |
getFees()
Get the list of 'Fee' element items. |
Paragraph |
getInformation(int index)
Get 'Information' element item by position. |
java.util.List<Paragraph> |
getInformations()
Get the list of 'Information' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
ResponseGroup |
getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. |
SailingInfo |
getSailingInfo()
Get the 'SailingInfo' element value. |
Taxes |
getTaxes()
Get the 'Taxes' 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 |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setFareOptions(java.util.List<CategoryAvailRS.FareOption> list)
Set the list of 'FareOption' element items. |
void |
setFees(java.util.List<Fee> list)
Set the list of 'Fee' element items. |
void |
setInformations(java.util.List<Paragraph> list)
Set the list of 'Information' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. |
void |
setSailingInfo(SailingInfo sailingInfo)
Set the 'SailingInfo' element value. |
void |
setTaxes(Taxes taxes)
Set the 'Taxes' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeFareOptions()
Get the number of 'FareOption' element items. |
int |
sizeFees()
Get the number of 'Fee' element items. |
int |
sizeInformations()
Get the number of 'Information' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CategoryAvailRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSuccess()
true
if selection, false
if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings
- public SailingInfo getSailingInfo()
public void setSailingInfo(SailingInfo sailingInfo)
sailingInfo
- public java.util.List<CategoryAvailRS.FareOption> getFareOptions()
public void setFareOptions(java.util.List<CategoryAvailRS.FareOption> list)
list
- public int sizeFareOptions()
public void addFareOption(CategoryAvailRS.FareOption item)
item
- public CategoryAvailRS.FareOption getFareOption(int index)
index
-
public void clearFareOptions()
public Taxes getTaxes()
public void setTaxes(Taxes taxes)
taxes
- public java.util.List<Fee> getFees()
public void setFees(java.util.List<Fee> list)
list
- public int sizeFees()
public void addFee(Fee item)
item
- public Fee getFee(int index)
index
-
public void clearFees()
public java.util.List<Paragraph> getInformations()
public void setInformations(java.util.List<Paragraph> list)
list
- public int sizeInformations()
public void addInformation(Paragraph item)
item
- public Paragraph getInformation(int index)
index
-
public void clearInformations()
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 |