|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.BookRQ
public class BookRQ
The book request message requests booking creation on the cruise line system for a given sailing with a specific mode of transportation/ gateway city pair and currency and for a selected fare/category pair and a cabin number. It also integrates this booking into a GDS's PNR based on the cruise line reply. 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_CruiseBookRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS"/> <xs:element name="AgentInfo" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:AgentInfoGroup"/> </xs:complexType> </xs:element> <xs:element name="DeletedGuest" minOccurs="0" maxOccurs="9"> <!-- Reference to inner class DeletedGuest --> </xs:element> <xs:element type="ns:SailingCategoryInfoType" name="SailingInfo"/> <xs:element type="ns:CruiseGuestInfoType" name="ReservationInfo"/> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attribute type="ns:TransactionActionType" use="optional" name="TransactionActionCode"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
BookRQ.DeletedGuest
Specifies the information of the deleted guest from the current booking. |
Constructor Summary | |
---|---|
BookRQ()
|
Method Summary | |
---|---|
void |
addDeletedGuest(BookRQ.DeletedGuest item)
Add a 'DeletedGuest' element item. |
void |
clearDeletedGuests()
Remove all 'DeletedGuest' element items. |
AgentInfoGroup |
getAgentInfo()
Get the 'AgentInfoGroup' attributeGroup value. |
BookRQ.DeletedGuest |
getDeletedGuest(int index)
Get 'DeletedGuest' element item by position. |
java.util.List<BookRQ.DeletedGuest> |
getDeletedGuests()
Get the list of 'DeletedGuest' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
CruiseGuestInfo |
getReservationInfo()
Get the 'ReservationInfo' element value. |
SailingCategoryInfo |
getSailingInfo()
Get the 'SailingInfo' element value. |
TransactionAction |
getTransactionActionCode()
Get the 'TransactionActionCode' attribute value. |
void |
setAgentInfo(AgentInfoGroup agentInfo)
Set the 'AgentInfoGroup' attributeGroup value. |
void |
setDeletedGuests(java.util.List<BookRQ.DeletedGuest> list)
Set the list of 'DeletedGuest' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setReservationInfo(CruiseGuestInfo reservationInfo)
Set the 'ReservationInfo' element value. |
void |
setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. |
void |
setTransactionActionCode(TransactionAction transactionActionCode)
Set the 'TransactionActionCode' attribute value. |
int |
sizeDeletedGuests()
Get the number of 'DeletedGuest' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public AgentInfoGroup getAgentInfo()
public void setAgentInfo(AgentInfoGroup agentInfo)
agentInfo
- public java.util.List<BookRQ.DeletedGuest> getDeletedGuests()
public void setDeletedGuests(java.util.List<BookRQ.DeletedGuest> list)
list
- public int sizeDeletedGuests()
public void addDeletedGuest(BookRQ.DeletedGuest item)
item
- public BookRQ.DeletedGuest getDeletedGuest(int index)
index
-
public void clearDeletedGuests()
public SailingCategoryInfo getSailingInfo()
public void setSailingInfo(SailingCategoryInfo sailingInfo)
sailingInfo
- public CruiseGuestInfo getReservationInfo()
public void setReservationInfo(CruiseGuestInfo reservationInfo)
reservationInfo
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- public TransactionAction getTransactionActionCode()
public void setTransactionActionCode(TransactionAction transactionActionCode)
transactionActionCode
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |