|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.itin.TravelSegment.Reservation
public static class TravelSegment.Reservation
Hotel reservation information. 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" type="ns:RoomStayLiteType" name="Reservation"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomStayLiteType"> <xs:sequence> <xs:element name="RoomTypes" minOccurs="0"> <!-- Reference to inner class RoomTypes --> </xs:element> <xs:element name="RatePlans" minOccurs="0"> <!-- Reference to inner class RatePlans --> </xs:element> <xs:element name="RoomRates" minOccurs="0"> <!-- Reference to inner class RoomRates --> </xs:element> <xs:element type="ns:GuestCountType" name="GuestCounts" minOccurs="0"/> <xs:element type="ns:DateTimeSpanType" name="TimeSpan" minOccurs="0"/> <xs:element type="ns:GuaranteeType" name="Guarantee" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:RequiredPaymentLiteType" name="DepositPayment" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class DepositPayment --> </xs:element> <xs:element name="BasicPropertyInfo" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:HotelReferenceGroup"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
TravelSegment.Reservation.DepositPayment
A collection of deposit and/or payments for the Room Stay. |
static class |
TravelSegment.Reservation.RatePlans
Rate Plan info. |
static class |
TravelSegment.Reservation.RoomRates
Reservation rate(s). |
static class |
TravelSegment.Reservation.RoomTypes
Room type for reservation. |
Constructor Summary | |
---|---|
TravelSegment.Reservation()
|
Method Summary | |
---|---|
void |
addDepositPayment(TravelSegment.Reservation.DepositPayment item)
Add a 'DepositPayment' element item. |
void |
addGuarantee(Guarantee item)
Add a 'Guarantee' element item. |
void |
clearDepositPayments()
Remove all 'DepositPayment' element items. |
void |
clearGuarantees()
Remove all 'Guarantee' element items. |
HotelReferenceGroup |
getBasicPropertyInfo()
Get the 'HotelReferenceGroup' attributeGroup value. |
TravelSegment.Reservation.DepositPayment |
getDepositPayment(int index)
Get 'DepositPayment' element item by position. |
java.util.List<TravelSegment.Reservation.DepositPayment> |
getDepositPayments()
Get the list of 'DepositPayment' element items. |
Guarantee |
getGuarantee(int index)
Get 'Guarantee' element item by position. |
java.util.List<Guarantee> |
getGuarantees()
Get the list of 'Guarantee' element items. |
GuestCount |
getGuestCounts()
Get the 'GuestCounts' element value. |
TravelSegment.Reservation.RatePlans |
getRatePlans()
Get the 'RatePlans' element value. |
TravelSegment.Reservation.RoomRates |
getRoomRates()
Get the 'RoomRates' element value. |
TravelSegment.Reservation.RoomTypes |
getRoomTypes()
Get the 'RoomTypes' element value. |
DateTimeSpan |
getTimeSpan()
Get the 'TimeSpan' element value. |
void |
setBasicPropertyInfo(HotelReferenceGroup basicPropertyInfo)
Set the 'HotelReferenceGroup' attributeGroup value. |
void |
setDepositPayments(java.util.List<TravelSegment.Reservation.DepositPayment> list)
Set the list of 'DepositPayment' element items. |
void |
setGuarantees(java.util.List<Guarantee> list)
Set the list of 'Guarantee' element items. |
void |
setGuestCounts(GuestCount guestCounts)
Set the 'GuestCounts' element value. |
void |
setRatePlans(TravelSegment.Reservation.RatePlans ratePlans)
Set the 'RatePlans' element value. |
void |
setRoomRates(TravelSegment.Reservation.RoomRates roomRates)
Set the 'RoomRates' element value. |
void |
setRoomTypes(TravelSegment.Reservation.RoomTypes roomTypes)
Set the 'RoomTypes' element value. |
void |
setTimeSpan(DateTimeSpan timeSpan)
Set the 'TimeSpan' element value. |
int |
sizeDepositPayments()
Get the number of 'DepositPayment' element items. |
int |
sizeGuarantees()
Get the number of 'Guarantee' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TravelSegment.Reservation()
Method Detail |
---|
public TravelSegment.Reservation.RoomTypes getRoomTypes()
public void setRoomTypes(TravelSegment.Reservation.RoomTypes roomTypes)
roomTypes
- public TravelSegment.Reservation.RatePlans getRatePlans()
public void setRatePlans(TravelSegment.Reservation.RatePlans ratePlans)
ratePlans
- public TravelSegment.Reservation.RoomRates getRoomRates()
public void setRoomRates(TravelSegment.Reservation.RoomRates roomRates)
roomRates
- public GuestCount getGuestCounts()
public void setGuestCounts(GuestCount guestCounts)
guestCounts
- public DateTimeSpan getTimeSpan()
public void setTimeSpan(DateTimeSpan timeSpan)
timeSpan
- public java.util.List<Guarantee> getGuarantees()
public void setGuarantees(java.util.List<Guarantee> list)
list
- public int sizeGuarantees()
public void addGuarantee(Guarantee item)
item
- public Guarantee getGuarantee(int index)
index
-
public void clearGuarantees()
public java.util.List<TravelSegment.Reservation.DepositPayment> getDepositPayments()
public void setDepositPayments(java.util.List<TravelSegment.Reservation.DepositPayment> list)
list
- public int sizeDepositPayments()
public void addDepositPayment(TravelSegment.Reservation.DepositPayment item)
item
- public TravelSegment.Reservation.DepositPayment getDepositPayment(int index)
index
-
public void clearDepositPayments()
public HotelReferenceGroup getBasicPropertyInfo()
public void setBasicPropertyInfo(HotelReferenceGroup basicPropertyInfo)
basicPropertyInfo
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |