|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.CruiseGuestInfo
public class CruiseGuestInfo
Contains guest information for the specified sailing. Schema fragment(s) for this class:
<xs:complexType xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruiseGuestInfoType"> <xs:sequence> <xs:element type="ReservationID_Type" name="ReservationID" minOccurs="0" maxOccurs="2"/> <xs:element name="GuestDetails"> <xs:complexType> <xs:sequence> <xs:element type="CruiseGuestDetailType" name="GuestDetail" maxOccurs="9"> <!-- Reference to inner class GuestDetail --> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="LinkedBookings" minOccurs="0"> <!-- Reference to inner class LinkedBookings --> </xs:element> <xs:element name="PaymentOptions" minOccurs="0"> <!-- Reference to inner class PaymentOptions --> </xs:element> <xs:element name="CancellationPenalty" minOccurs="0"> <!-- Reference to inner class CancellationPenalty --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
CruiseGuestInfo.CancellationPenalty
Penalty information for cancelling a reservation. |
static class |
CruiseGuestInfo.GuestDetail
Specifies the Guest information Schema fragment(s) for this class: |
static class |
CruiseGuestInfo.LinkedBookings
Collection of linked bookings. |
static class |
CruiseGuestInfo.PaymentOptions
Collection of payment choices. |
Constructor Summary | |
---|---|
CruiseGuestInfo()
|
Method Summary | |
---|---|
void |
addGuestDetail(CruiseGuestInfo.GuestDetail item)
Add a 'GuestDetail' element item. |
void |
addReservationID(ReservationID item)
Add a 'ReservationID' element item. |
void |
clearGuestDetails()
Remove all 'GuestDetail' element items. |
void |
clearReservationIDs()
Remove all 'ReservationID' element items. |
CruiseGuestInfo.CancellationPenalty |
getCancellationPenalty()
Get the 'CancellationPenalty' element value. |
CruiseGuestInfo.GuestDetail |
getGuestDetail(int index)
Get 'GuestDetail' element item by position. |
java.util.List<CruiseGuestInfo.GuestDetail> |
getGuestDetails()
Get the list of 'GuestDetail' element items. |
CruiseGuestInfo.LinkedBookings |
getLinkedBookings()
Get the 'LinkedBookings' element value. |
CruiseGuestInfo.PaymentOptions |
getPaymentOptions()
Get the 'PaymentOptions' element value. |
ReservationID |
getReservationID(int index)
Get 'ReservationID' element item by position. |
java.util.List<ReservationID> |
getReservationIDs()
Get the list of 'ReservationID' element items. |
void |
setCancellationPenalty(CruiseGuestInfo.CancellationPenalty cancellationPenalty)
Set the 'CancellationPenalty' element value. |
void |
setGuestDetails(java.util.List<CruiseGuestInfo.GuestDetail> list)
Set the list of 'GuestDetail' element items. |
void |
setLinkedBookings(CruiseGuestInfo.LinkedBookings linkedBookings)
Set the 'LinkedBookings' element value. |
void |
setPaymentOptions(CruiseGuestInfo.PaymentOptions paymentOptions)
Set the 'PaymentOptions' element value. |
void |
setReservationIDs(java.util.List<ReservationID> list)
Set the list of 'ReservationID' element items. |
int |
sizeGuestDetails()
Get the number of 'GuestDetail' 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 CruiseGuestInfo()
Method Detail |
---|
public java.util.List<ReservationID> getReservationIDs()
public void setReservationIDs(java.util.List<ReservationID> list)
list
- public int sizeReservationIDs()
public void addReservationID(ReservationID item)
item
- public ReservationID getReservationID(int index)
index
-
public void clearReservationIDs()
public java.util.List<CruiseGuestInfo.GuestDetail> getGuestDetails()
public void setGuestDetails(java.util.List<CruiseGuestInfo.GuestDetail> list)
list
- public int sizeGuestDetails()
public void addGuestDetail(CruiseGuestInfo.GuestDetail item)
item
- public CruiseGuestInfo.GuestDetail getGuestDetail(int index)
index
-
public void clearGuestDetails()
public CruiseGuestInfo.LinkedBookings getLinkedBookings()
public void setLinkedBookings(CruiseGuestInfo.LinkedBookings linkedBookings)
linkedBookings
- public CruiseGuestInfo.PaymentOptions getPaymentOptions()
public void setPaymentOptions(CruiseGuestInfo.PaymentOptions paymentOptions)
paymentOptions
- public CruiseGuestInfo.CancellationPenalty getCancellationPenalty()
public void setCancellationPenalty(CruiseGuestInfo.CancellationPenalty cancellationPenalty)
cancellationPenalty
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |