|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.cruise.CategoryAvailRQ
public class CategoryAvailRQ
The Category Availability Request message requests Category Availability for a given sailing with a specific Mode of Transportation/GatewayCity pair and currency and for selected fares (depending on the cruise line). Optional request information can include: - Guest ages - Guest city - Inclusive package 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_CruiseCategoryAvailRQ">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:POS_Type" name="POS"/>
<xs:element type="ns:GuestType" name="Guest" maxOccurs="9"/>
<xs:element name="GuestCounts">
<xs:complexType>
<xs:sequence>
<xs:element name="GuestCount" maxOccurs="9">
<xs:complexType>
<xs:attributeGroup ref="ns:TravelerCountGroup"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element type="ns:SailingInfoType" name="SailingInfo"/>
<xs:element name="SearchQualifiers" minOccurs="0">
<!-- Reference to inner class SearchQualifiers -->
</xs:element>
<xs:element name="SelectedFare" maxOccurs="5">
<xs:complexType>
<xs:attributeGroup ref="ns:FareGroup"/>
</xs:complexType>
</xs:element>
<xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
</xs:complexType>
</xs:element>
<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 |
CategoryAvailRQ.SearchQualifiers
Used to further qualify the category availability search. |
| Constructor Summary | |
|---|---|
CategoryAvailRQ()
|
|
| Method Summary | |
|---|---|
void |
addGuest(Guest item)
Add a 'Guest' element item. |
void |
addGuestCount(TravelerCountGroup item)
Add a 'GuestCount' element item. |
void |
addSelectedFare(FareGroup item)
Add a 'SelectedFare' element item. |
void |
clearGuestCounts()
Remove all 'GuestCount' element items. |
void |
clearGuests()
Remove all 'Guest' element items. |
void |
clearSelectedFares()
Remove all 'SelectedFare' element items. |
Guest |
getGuest(int index)
Get 'Guest' element item by position. |
TravelerCountGroup |
getGuestCount(int index)
Get 'GuestCount' element item by position. |
java.util.List<TravelerCountGroup> |
getGuestCounts()
Get the list of 'GuestCount' element items. |
java.util.List<Guest> |
getGuests()
Get the list of 'Guest' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
SailingInfo |
getSailingInfo()
Get the 'SailingInfo' element value. |
CategoryAvailRQ.SearchQualifiers |
getSearchQualifiers()
Get the 'SearchQualifiers' element value. |
FareGroup |
getSelectedFare(int index)
Get 'SelectedFare' element item by position. |
java.util.List<FareGroup> |
getSelectedFares()
Get the list of 'SelectedFare' element items. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
void |
setGuestCounts(java.util.List<TravelerCountGroup> list)
Set the list of 'GuestCount' element items. |
void |
setGuests(java.util.List<Guest> list)
Set the list of 'Guest' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setSailingInfo(SailingInfo sailingInfo)
Set the 'SailingInfo' element value. |
void |
setSearchQualifiers(CategoryAvailRQ.SearchQualifiers searchQualifiers)
Set the 'SearchQualifiers' element value. |
void |
setSelectedFares(java.util.List<FareGroup> list)
Set the list of 'SelectedFare' element items. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
int |
sizeGuestCounts()
Get the number of 'GuestCount' element items. |
int |
sizeGuests()
Get the number of 'Guest' element items. |
int |
sizeSelectedFares()
Get the number of 'SelectedFare' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryAvailRQ()
| Method Detail |
|---|
public POS getPOS()
public void setPOS(POS POS)
POS - public java.util.List<Guest> getGuests()
public void setGuests(java.util.List<Guest> list)
list - public int sizeGuests()
public void addGuest(Guest item)
item - public Guest getGuest(int index)
index -
public void clearGuests()
public java.util.List<TravelerCountGroup> getGuestCounts()
public void setGuestCounts(java.util.List<TravelerCountGroup> list)
list - public int sizeGuestCounts()
public void addGuestCount(TravelerCountGroup item)
item - public TravelerCountGroup getGuestCount(int index)
index -
public void clearGuestCounts()
public SailingInfo getSailingInfo()
public void setSailingInfo(SailingInfo sailingInfo)
sailingInfo - public CategoryAvailRQ.SearchQualifiers getSearchQualifiers()
public void setSearchQualifiers(CategoryAvailRQ.SearchQualifiers searchQualifiers)
searchQualifiers - public java.util.List<FareGroup> getSelectedFares()
public void setSelectedFares(java.util.List<FareGroup> list)
list - public int sizeSelectedFares()
public void addSelectedFare(FareGroup item)
item - public FareGroup getSelectedFare(int index)
index -
public void clearSelectedFares()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions - 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 | ||||||