|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.BookRS
public class BookRS
The book response message contains booking information for a given sailing with a specific mode of transportation/gateway city pair and currency and for a selected fare/category pair. This message contains similar information to a standard airline CRS or GDS sailing availability response message. 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_CruiseBookRS"> <xs:complexType> <xs:choice> <xs:sequence> <xs:element type="ns:SuccessType" name="Success"/> <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/> <xs:element name="ReservationID" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class ReservationID --> </xs:element> <xs:element type="ns:SailingCategoryInfoType" name="SailingInfo" minOccurs="0"/> <xs:element type="ns:ParagraphType" name="PolicyInfo" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:CruiseBookingInfoType" name="BookingPayment" minOccurs="0"/> </xs:sequence> <xs:element type="ns:ErrorsType" name="Errors"/> </xs:choice> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> </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 |
BookRS.ReservationID
Specifies the reservation control information or the guest's booking ID in modification mode (e.g. |
Constructor Summary | |
---|---|
BookRS()
|
Method Summary | |
---|---|
void |
addPolicyInfo(Paragraph item)
Add a 'PolicyInfo' element item. |
void |
addReservationID(BookRS.ReservationID item)
Add a 'ReservationID' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearPolicyInfos()
Remove all 'PolicyInfo' element items. |
void |
clearReservationIDs()
Remove all 'ReservationID' element items. |
CruiseBookingInfo |
getBookingPayment()
Get the 'BookingPayment' element value. |
Errors |
getErrors()
Get the 'Errors' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
Paragraph |
getPolicyInfo(int index)
Get 'PolicyInfo' element item by position. |
java.util.List<Paragraph> |
getPolicyInfos()
Get the list of 'PolicyInfo' element items. |
BookRS.ReservationID |
getReservationID(int index)
Get 'ReservationID' element item by position. |
java.util.List<BookRS.ReservationID> |
getReservationIDs()
Get the list of 'ReservationID' element items. |
SailingCategoryInfo |
getSailingInfo()
Get the 'SailingInfo' 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 |
setBookingPayment(CruiseBookingInfo bookingPayment)
Set the 'BookingPayment' element value. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPolicyInfos(java.util.List<Paragraph> list)
Set the list of 'PolicyInfo' element items. |
void |
setReservationIDs(java.util.List<BookRS.ReservationID> list)
Set the list of 'ReservationID' element items. |
void |
setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizePolicyInfos()
Get the number of 'PolicyInfo' element items. |
int |
sizeReservationIDs()
Get the number of 'ReservationID' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSuccess()
true
if selection, false
if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings
- public java.util.List<BookRS.ReservationID> getReservationIDs()
public void setReservationIDs(java.util.List<BookRS.ReservationID> list)
list
- public int sizeReservationIDs()
public void addReservationID(BookRS.ReservationID item)
item
- public BookRS.ReservationID getReservationID(int index)
index
-
public void clearReservationIDs()
public SailingCategoryInfo getSailingInfo()
public void setSailingInfo(SailingCategoryInfo sailingInfo)
sailingInfo
- public java.util.List<Paragraph> getPolicyInfos()
public void setPolicyInfos(java.util.List<Paragraph> list)
list
- public int sizePolicyInfos()
public void addPolicyInfo(Paragraph item)
item
- public Paragraph getPolicyInfo(int index)
index
-
public void clearPolicyInfos()
public CruiseBookingInfo getBookingPayment()
public void setBookingPayment(CruiseBookingInfo bookingPayment)
bookingPayment
- 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
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |