|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.CabinHoldRQ
public class CabinHoldRQ
The Cabin Hold Request message requests up to four cabins to be held on up to three sailings specific Mode of Transportation/GatewayCity pair and currency and for a selected fare/category pair. Optional request information can include: - 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_CruiseCabinHoldRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS"/> <xs:element name="GuestCounts" minOccurs="0"> <!-- Reference to inner class GuestCounts --> </xs:element> <xs:element name="SelectedSailing" maxOccurs="3"> <!-- Reference to inner class SelectedSailing --> </xs:element> <xs:element type="ns:GuestType" name="Guest" minOccurs="0" maxOccurs="9"/> <xs:element name="Currency" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:CurrencyCodeGroup"/> </xs:complexType> </xs:element> <xs:element name="SearchQualifiers" minOccurs="0"> <!-- Reference to inner class SearchQualifiers --> </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 |
CabinHoldRQ.GuestCounts
Specifies guest quantity and guest types. |
static class |
CabinHoldRQ.SearchQualifiers
In this message Past Passenger Number and Residency can used to hold the Cabin. |
static class |
CabinHoldRQ.SelectedSailing
Contains information related to the selected sailing. |
Constructor Summary | |
---|---|
CabinHoldRQ()
|
Method Summary | |
---|---|
void |
addGuest(Guest item)
Add a 'Guest' element item. |
void |
addSelectedSailing(CabinHoldRQ.SelectedSailing item)
Add a 'SelectedSailing' element item. |
void |
clearGuests()
Remove all 'Guest' element items. |
void |
clearSelectedSailings()
Remove all 'SelectedSailing' element items. |
CurrencyCodeGroup |
getCurrency()
Get the 'CurrencyCodeGroup' attributeGroup value. |
Guest |
getGuest(int index)
Get 'Guest' element item by position. |
CabinHoldRQ.GuestCounts |
getGuestCounts()
Get the 'GuestCounts' element value. |
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. |
CabinHoldRQ.SearchQualifiers |
getSearchQualifiers()
Get the 'SearchQualifiers' element value. |
CabinHoldRQ.SelectedSailing |
getSelectedSailing(int index)
Get 'SelectedSailing' element item by position. |
java.util.List<CabinHoldRQ.SelectedSailing> |
getSelectedSailings()
Get the list of 'SelectedSailing' element items. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
void |
setCurrency(CurrencyCodeGroup currency)
Set the 'CurrencyCodeGroup' attributeGroup value. |
void |
setGuestCounts(CabinHoldRQ.GuestCounts guestCounts)
Set the 'GuestCounts' element value. |
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 |
setSearchQualifiers(CabinHoldRQ.SearchQualifiers searchQualifiers)
Set the 'SearchQualifiers' element value. |
void |
setSelectedSailings(java.util.List<CabinHoldRQ.SelectedSailing> list)
Set the list of 'SelectedSailing' element items. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
int |
sizeGuests()
Get the number of 'Guest' element items. |
int |
sizeSelectedSailings()
Get the number of 'SelectedSailing' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CabinHoldRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public CabinHoldRQ.GuestCounts getGuestCounts()
public void setGuestCounts(CabinHoldRQ.GuestCounts guestCounts)
guestCounts
- public java.util.List<CabinHoldRQ.SelectedSailing> getSelectedSailings()
public void setSelectedSailings(java.util.List<CabinHoldRQ.SelectedSailing> list)
list
- public int sizeSelectedSailings()
public void addSelectedSailing(CabinHoldRQ.SelectedSailing item)
item
- public CabinHoldRQ.SelectedSailing getSelectedSailing(int index)
index
-
public void clearSelectedSailings()
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 CurrencyCodeGroup getCurrency()
public void setCurrency(CurrencyCodeGroup currency)
currency
- public CabinHoldRQ.SearchQualifiers getSearchQualifiers()
public void setSearchQualifiers(CabinHoldRQ.SearchQualifiers searchQualifiers)
searchQualifiers
- 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 |