|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.itin.TravelSegment.Reservation.RoomRates.RoomRate
public static class TravelSegment.Reservation.RoomRates.RoomRate
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:RoomRateLiteType" name="RoomRate" maxOccurs="9"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomRateLiteType"> <xs:sequence> <xs:element type="ns:RateLiteType" name="Rates"/> </xs:sequence> <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/> <xs:attribute type="xs:string" name="RoomTypeCode"/> <xs:attribute type="xs:string" name="InvBlockCode"/> <xs:attribute type="xs:int" use="optional" name="NumberOfUnits"/> <xs:attributeGroup ref="ns:RatePlanGroup"/> </xs:complexType> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RateLiteType"> <xs:sequence> <xs:element type="ns:AmountLiteType" name="Rate" maxOccurs="unbounded"> <!-- Reference to inner class Rate --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
TravelSegment.Reservation.RoomRates.RoomRate.Rate
The Lite Rate contains the Base amount as well as the associated taxes. |
Constructor Summary | |
---|---|
TravelSegment.Reservation.RoomRates.RoomRate()
|
Method Summary | |
---|---|
void |
addRate(TravelSegment.Reservation.RoomRates.RoomRate.Rate item)
Add a 'Rate' element item. |
void |
clearRates()
Remove all 'Rate' element items. |
EffectiveExpireOptionalDateGroup |
getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
java.lang.String |
getInvBlockCode()
Get the 'InvBlockCode' attribute value. |
java.lang.Integer |
getNumberOfUnits()
Get the 'NumberOfUnits' attribute value. |
TravelSegment.Reservation.RoomRates.RoomRate.Rate |
getRate(int index)
Get 'Rate' element item by position. |
RatePlanGroup |
getRatePlanGroup()
Get the 'RatePlanGroup' attributeGroup value. |
java.util.List<TravelSegment.Reservation.RoomRates.RoomRate.Rate> |
getRates()
Get the list of 'Rate' element items. |
java.lang.String |
getRoomTypeCode()
Get the 'RoomTypeCode' attribute value. |
void |
setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
void |
setInvBlockCode(java.lang.String invBlockCode)
Set the 'InvBlockCode' attribute value. |
void |
setNumberOfUnits(java.lang.Integer numberOfUnits)
Set the 'NumberOfUnits' attribute value. |
void |
setRatePlanGroup(RatePlanGroup ratePlanGroup)
Set the 'RatePlanGroup' attributeGroup value. |
void |
setRates(java.util.List<TravelSegment.Reservation.RoomRates.RoomRate.Rate> list)
Set the list of 'Rate' element items. |
void |
setRoomTypeCode(java.lang.String roomTypeCode)
Set the 'RoomTypeCode' attribute value. |
int |
sizeRates()
Get the number of 'Rate' 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.RoomRates.RoomRate()
Method Detail |
---|
public java.util.List<TravelSegment.Reservation.RoomRates.RoomRate.Rate> getRates()
public void setRates(java.util.List<TravelSegment.Reservation.RoomRates.RoomRate.Rate> list)
list
- public int sizeRates()
public void addRate(TravelSegment.Reservation.RoomRates.RoomRate.Rate item)
item
- public TravelSegment.Reservation.RoomRates.RoomRate.Rate getRate(int index)
index
-
public void clearRates()
public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
effectiveExpireOptionalDateGroup
- public java.lang.String getRoomTypeCode()
public void setRoomTypeCode(java.lang.String roomTypeCode)
roomTypeCode
- public java.lang.String getInvBlockCode()
public void setInvBlockCode(java.lang.String invBlockCode)
invBlockCode
- public java.lang.Integer getNumberOfUnits()
public void setNumberOfUnits(java.lang.Integer numberOfUnits)
numberOfUnits
- public RatePlanGroup getRatePlanGroup()
public void setRatePlanGroup(RatePlanGroup ratePlanGroup)
ratePlanGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |