|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.RateUpload
org.ota.hotel.InvBlock.RoomTypes.Room.RatePlans.RatePlan
public static class InvBlock.RoomTypes.Room.RatePlans.RatePlan
This is a specific rate plan defined for a specific room type. 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="RatePlan" maxOccurs="99"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:RateUploadType"> <xs:sequence> <xs:element name="MarketCode" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class MarketCode --> </xs:element> <xs:element type="ns:CommissionType" name="Commission" minOccurs="0"/> <xs:element name="MethodInfo" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:attributeGroup ref="ns:MethodInfoGroup"/> </xs:complexType> </xs:element> <xs:element name="DaysOfWeeks" minOccurs="0"> <!-- Reference to inner class DaysOfWeeks --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="RatePlanCode"/> <xs:attribute type="xs:string" use="optional" name="BookingCode"/> <xs:attributeGroup ref="ns:PromotionCodeGroup"/> <xs:attribute type="xs:boolean" use="optional" name="UpgradeIndicator"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
InvBlock.RoomTypes.Room.RatePlans.RatePlan.DaysOfWeeks
This is available so multiple rules or multiple date ranges may be applied. |
static class |
InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode
This is user specific information used for tracking and market segmentation reporting. |
Nested classes/interfaces inherited from class org.ota.hotel.RateUpload |
---|
RateUpload.AdditionalGuestAmounts, RateUpload.BaseByGuestAmts, RateUpload.GuaranteePolicies |
Constructor Summary | |
---|---|
InvBlock.RoomTypes.Room.RatePlans.RatePlan()
|
Method Summary | |
---|---|
void |
addMarketCode(InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode item)
Add a 'MarketCode' element item. |
void |
addMethodInfo(MethodInfoGroup item)
Add a 'MethodInfo' element item. |
void |
clearMarketCodes()
Remove all 'MarketCode' element items. |
void |
clearMethodInfos()
Remove all 'MethodInfo' element items. |
java.lang.String |
getBookingCode()
Get the 'BookingCode' attribute value. |
Commission |
getCommission()
Get the 'Commission' element value. |
InvBlock.RoomTypes.Room.RatePlans.RatePlan.DaysOfWeeks |
getDaysOfWeeks()
Get the 'DaysOfWeeks' element value. |
InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode |
getMarketCode(int index)
Get 'MarketCode' element item by position. |
java.util.List<InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode> |
getMarketCodes()
Get the list of 'MarketCode' element items. |
MethodInfoGroup |
getMethodInfo(int index)
Get 'MethodInfo' element item by position. |
java.util.List<MethodInfoGroup> |
getMethodInfos()
Get the list of 'MethodInfo' element items. |
PromotionCodeGroup |
getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value. |
java.lang.String |
getRatePlanCode()
Get the 'RatePlanCode' attribute value. |
java.lang.Boolean |
getUpgradeIndicator()
Get the 'UpgradeIndicator' attribute value. |
void |
setBookingCode(java.lang.String bookingCode)
Set the 'BookingCode' attribute value. |
void |
setCommission(Commission commission)
Set the 'Commission' element value. |
void |
setDaysOfWeeks(InvBlock.RoomTypes.Room.RatePlans.RatePlan.DaysOfWeeks daysOfWeeks)
Set the 'DaysOfWeeks' element value. |
void |
setMarketCodes(java.util.List<InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode> list)
Set the list of 'MarketCode' element items. |
void |
setMethodInfos(java.util.List<MethodInfoGroup> list)
Set the list of 'MethodInfo' element items. |
void |
setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value. |
void |
setRatePlanCode(java.lang.String ratePlanCode)
Set the 'RatePlanCode' attribute value. |
void |
setUpgradeIndicator(java.lang.Boolean upgradeIndicator)
Set the 'UpgradeIndicator' attribute value. |
int |
sizeMarketCodes()
Get the number of 'MarketCode' element items. |
int |
sizeMethodInfos()
Get the number of 'MethodInfo' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InvBlock.RoomTypes.Room.RatePlans.RatePlan()
Method Detail |
---|
public java.util.List<InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode> getMarketCodes()
public void setMarketCodes(java.util.List<InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode> list)
list
- public int sizeMarketCodes()
public void addMarketCode(InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode item)
item
- public InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode getMarketCode(int index)
index
-
public void clearMarketCodes()
public Commission getCommission()
public void setCommission(Commission commission)
commission
- public java.util.List<MethodInfoGroup> getMethodInfos()
public void setMethodInfos(java.util.List<MethodInfoGroup> list)
list
- public int sizeMethodInfos()
public void addMethodInfo(MethodInfoGroup item)
item
- public MethodInfoGroup getMethodInfo(int index)
index
-
public void clearMethodInfos()
public InvBlock.RoomTypes.Room.RatePlans.RatePlan.DaysOfWeeks getDaysOfWeeks()
public void setDaysOfWeeks(InvBlock.RoomTypes.Room.RatePlans.RatePlan.DaysOfWeeks daysOfWeeks)
daysOfWeeks
- public java.lang.String getRatePlanCode()
public void setRatePlanCode(java.lang.String ratePlanCode)
ratePlanCode
- public java.lang.String getBookingCode()
public void setBookingCode(java.lang.String bookingCode)
bookingCode
- public PromotionCodeGroup getPromotionCodeGroup()
public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
promotionCodeGroup
- public java.lang.Boolean getUpgradeIndicator()
public void setUpgradeIndicator(java.lang.Boolean upgradeIndicator)
upgradeIndicator
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |