|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.AvailRequestSegments.AvailRequestSegment
public static class AvailRequestSegments.AvailRequestSegment
To accommodate the ability to perform multiple requests within one message, the availability request contains the repeating element, AvailRequestSegment. Each segment includes a collection of criteria that requests a bookable entity, which may include designated rate plans, room types, amenities or services, and the request can be used for guest rooms or other inventory items for which availability is sought. Each segment would be presumed to have a unique date range for each request. 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="AvailRequestSegment" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element type="ns:DateTimeSpanType" name="StayDateRange" minOccurs="0"/> <xs:element name="RateRange" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class RateRange --> </xs:element> <xs:element type="ns:RatePlanCandidatesType" name="RatePlanCandidates" minOccurs="0"/> <xs:element type="ns:ProfilesType" name="Profiles" minOccurs="0"/> <xs:element name="RoomStayCandidates" minOccurs="0"> <!-- Reference to inner class RoomStayCandidates --> </xs:element> <xs:element type="ns:HotelSearchCriteriaType" name="HotelSearchCriteria" minOccurs="0"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute name="AvailReqType"> <xs:simpleType> <!-- Reference to inner class AvailReq --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" name="MoreDataEchoToken"/> <xs:attributeGroup ref="ns:ResponseTypeGroup"/> <xs:attribute type="xs:string" use="optional" name="InfoSource"/> </xs:complexType> </xs:element> <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
Nested Class Summary | |
---|---|
static class |
AvailRequestSegments.AvailRequestSegment.AvailReq
Schema fragment(s) for this class: |
static class |
AvailRequestSegments.AvailRequestSegment.RateRange
Requested rate or rate range. |
static class |
AvailRequestSegments.AvailRequestSegment.RoomStayCandidates
Collection of room stay candidates. |
Constructor Summary | |
---|---|
AvailRequestSegments.AvailRequestSegment()
|
Method Summary | |
---|---|
void |
addRateRange(AvailRequestSegments.AvailRequestSegment.RateRange item)
Add a 'RateRange' element item. |
void |
clearRateRanges()
Remove all 'RateRange' element items. |
AvailRequestSegments.AvailRequestSegment.AvailReq |
getAvailReq()
Get the 'AvailReqType' attribute value. |
HotelSearchCriteria |
getHotelSearchCriteria()
Get the 'HotelSearchCriteria' element value. |
java.lang.String |
getInfoSource()
Get the 'InfoSource' attribute value. |
java.lang.String |
getMoreDataEchoToken()
Get the 'MoreDataEchoToken' attribute value. |
Profiles |
getProfiles()
Get the 'Profiles' element value. |
RatePlanCandidates |
getRatePlanCandidates()
Get the 'RatePlanCandidates' element value. |
AvailRequestSegments.AvailRequestSegment.RateRange |
getRateRange(int index)
Get 'RateRange' element item by position. |
java.util.List<AvailRequestSegments.AvailRequestSegment.RateRange> |
getRateRanges()
Get the list of 'RateRange' element items. |
ResponseTypeGroup |
getResponseTypeGroup()
Get the 'ResponseTypeGroup' attributeGroup value. |
AvailRequestSegments.AvailRequestSegment.RoomStayCandidates |
getRoomStayCandidates()
Get the 'RoomStayCandidates' element value. |
DateTimeSpan |
getStayDateRange()
Get the 'StayDateRange' element value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
void |
setAvailReq(AvailRequestSegments.AvailRequestSegment.AvailReq availReq)
Set the 'AvailReqType' attribute value. |
void |
setHotelSearchCriteria(HotelSearchCriteria hotelSearchCriteria)
Set the 'HotelSearchCriteria' element value. |
void |
setInfoSource(java.lang.String infoSource)
Set the 'InfoSource' attribute value. |
void |
setMoreDataEchoToken(java.lang.String moreDataEchoToken)
Set the 'MoreDataEchoToken' attribute value. |
void |
setProfiles(Profiles profiles)
Set the 'Profiles' element value. |
void |
setRatePlanCandidates(RatePlanCandidates ratePlanCandidates)
Set the 'RatePlanCandidates' element value. |
void |
setRateRanges(java.util.List<AvailRequestSegments.AvailRequestSegment.RateRange> list)
Set the list of 'RateRange' element items. |
void |
setResponseTypeGroup(ResponseTypeGroup responseTypeGroup)
Set the 'ResponseTypeGroup' attributeGroup value. |
void |
setRoomStayCandidates(AvailRequestSegments.AvailRequestSegment.RoomStayCandidates roomStayCandidates)
Set the 'RoomStayCandidates' element value. |
void |
setStayDateRange(DateTimeSpan stayDateRange)
Set the 'StayDateRange' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
int |
sizeRateRanges()
Get the number of 'RateRange' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvailRequestSegments.AvailRequestSegment()
Method Detail |
---|
public DateTimeSpan getStayDateRange()
public void setStayDateRange(DateTimeSpan stayDateRange)
stayDateRange
- public java.util.List<AvailRequestSegments.AvailRequestSegment.RateRange> getRateRanges()
public void setRateRanges(java.util.List<AvailRequestSegments.AvailRequestSegment.RateRange> list)
list
- public int sizeRateRanges()
public void addRateRange(AvailRequestSegments.AvailRequestSegment.RateRange item)
item
- public AvailRequestSegments.AvailRequestSegment.RateRange getRateRange(int index)
index
-
public void clearRateRanges()
public RatePlanCandidates getRatePlanCandidates()
public void setRatePlanCandidates(RatePlanCandidates ratePlanCandidates)
ratePlanCandidates
- public Profiles getProfiles()
public void setProfiles(Profiles profiles)
profiles
- public AvailRequestSegments.AvailRequestSegment.RoomStayCandidates getRoomStayCandidates()
public void setRoomStayCandidates(AvailRequestSegments.AvailRequestSegment.RoomStayCandidates roomStayCandidates)
roomStayCandidates
- public HotelSearchCriteria getHotelSearchCriteria()
public void setHotelSearchCriteria(HotelSearchCriteria hotelSearchCriteria)
hotelSearchCriteria
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public AvailRequestSegments.AvailRequestSegment.AvailReq getAvailReq()
public void setAvailReq(AvailRequestSegments.AvailRequestSegment.AvailReq availReq)
availReq
- public java.lang.String getMoreDataEchoToken()
public void setMoreDataEchoToken(java.lang.String moreDataEchoToken)
moreDataEchoToken
- public ResponseTypeGroup getResponseTypeGroup()
public void setResponseTypeGroup(ResponseTypeGroup responseTypeGroup)
responseTypeGroup
- public java.lang.String getInfoSource()
public void setInfoSource(java.lang.String infoSource)
infoSource
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |