|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.BookingRules.BookingRule
public static class BookingRules.BookingRule
The BookingRule element defines restrictions to rates and stays at the hotel for a given rate plan, room type or rate plan/room type combination. 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="BookingRule" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="AcceptableGuarantees" minOccurs="0"> <!-- Reference to inner class AcceptableGuarantees --> </xs:element> <xs:element type="ns:CancelPenaltiesType" name="CancelPenalties" minOccurs="0"/> <xs:element type="ns:RequiredPaymentsType" name="RequiredPaymts" minOccurs="0"/> <xs:element type="ns:LengthsOfStayType" name="LengthsOfStay" minOccurs="0"/> <xs:element type="ns:DOW_RestrictionsType" name="DOW_Restrictions" minOccurs="0"/> <xs:element name="RestrictionStatus" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:RestrictionStatusGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:ViewershipsType" name="Viewerships" minOccurs="0"/> <xs:element name="AddtionalRules" minOccurs="0"> <!-- Reference to inner class AddtionalRules --> </xs:element> <xs:element type="ns:ParagraphType" name="Description" minOccurs="0" maxOccurs="20"/> <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/> <xs:element name="CheckoutCharge" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class CheckoutCharge --> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:CodeListGroup"/> <xs:attributeGroup ref="ns:DateTimeSpanGroup"/> <xs:attribute type="xs:string" use="optional" name="MaxAdvancedBookingOffset"/> <xs:attribute type="xs:string" use="optional" name="MinAdvancedBookingOffset"/> <xs:attribute type="xs:string" use="optional" name="ForceGuaranteeOffset"/> <xs:attribute type="xs:string" use="optional" name="DepositWaiverOffset"/> <xs:attribute type="xs:int" use="optional" name="MinTotalOccupancy"/> <xs:attribute type="xs:int" use="optional" name="MaxTotalOccupancy"/> <xs:attribute type="xs:string" use="optional" name="AbsoluteDropTime"/> <xs:attribute type="xs:boolean" use="optional" name="GenerallyBookable"/> <xs:attribute type="xs:boolean" use="optional" name="PriceViewable"/> <xs:attribute type="xs:boolean" use="optional" name="QualifiedRateYN"/> <xs:attribute type="xs:boolean" use="optional" name="AddressRequired"/> <xs:attributeGroup ref="ns:InvBlockCutoffGroup"/> <xs:attribute type="xs:int" use="optional" name="MaxContiguousBookings"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
BookingRules.BookingRule.AcceptableGuarantees
A collection of accepted guarantees. |
static class |
BookingRules.BookingRule.AddtionalRules
A collection of Additional rules Schema fragment(s) for this class: |
static class |
BookingRules.BookingRule.CheckoutCharge
The charges that may apply to an early or late checkout. |
Constructor Summary | |
---|---|
BookingRules.BookingRule()
|
Method Summary | |
---|---|
void |
addCheckoutCharge(BookingRules.BookingRule.CheckoutCharge item)
Add a 'CheckoutCharge' element item. |
void |
addDescription(Paragraph item)
Add a 'Description' element item. |
void |
clearCheckoutCharges()
Remove all 'CheckoutCharge' element items. |
void |
clearDescriptions()
Remove all 'Description' element items. |
java.lang.String |
getAbsoluteDropTime()
Get the 'AbsoluteDropTime' attribute value. |
BookingRules.BookingRule.AcceptableGuarantees |
getAcceptableGuarantees()
Get the 'AcceptableGuarantees' element value. |
java.lang.Boolean |
getAddressRequired()
Get the 'AddressRequired' attribute value. |
BookingRules.BookingRule.AddtionalRules |
getAddtionalRules()
Get the 'AddtionalRules' element value. |
CancelPenalties |
getCancelPenalties()
Get the 'CancelPenalties' element value. |
BookingRules.BookingRule.CheckoutCharge |
getCheckoutCharge(int index)
Get 'CheckoutCharge' element item by position. |
java.util.List<BookingRules.BookingRule.CheckoutCharge> |
getCheckoutCharges()
Get the list of 'CheckoutCharge' element items. |
CodeListGroup |
getCodeListGroup()
Get the 'CodeListGroup' attributeGroup value. |
DateTimeSpanGroup |
getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
java.lang.String |
getDepositWaiverOffset()
Get the 'DepositWaiverOffset' attribute value. |
Paragraph |
getDescription(int index)
Get 'Description' element item by position. |
java.util.List<Paragraph> |
getDescriptions()
Get the list of 'Description' element items. |
DOWRestrictions |
getDOWRestrictions()
Get the 'DOW_Restrictions' element value. |
java.lang.String |
getForceGuaranteeOffset()
Get the 'ForceGuaranteeOffset' attribute value. |
java.lang.Boolean |
getGenerallyBookable()
Get the 'GenerallyBookable' attribute value. |
InvBlockCutoffGroup |
getInvBlockCutoffGroup()
Get the 'InvBlockCutoffGroup' attributeGroup value. |
LengthsOfStay |
getLengthsOfStay()
Get the 'LengthsOfStay' element value. |
java.lang.String |
getMaxAdvancedBookingOffset()
Get the 'MaxAdvancedBookingOffset' attribute value. |
java.lang.Integer |
getMaxContiguousBookings()
Get the 'MaxContiguousBookings' attribute value. |
java.lang.Integer |
getMaxTotalOccupancy()
Get the 'MaxTotalOccupancy' attribute value. |
java.lang.String |
getMinAdvancedBookingOffset()
Get the 'MinAdvancedBookingOffset' attribute value. |
java.lang.Integer |
getMinTotalOccupancy()
Get the 'MinTotalOccupancy' attribute value. |
java.lang.Boolean |
getPriceViewable()
Get the 'PriceViewable' attribute value. |
java.lang.Boolean |
getQualifiedRateYN()
Get the 'QualifiedRateYN' attribute value. |
RequiredPayments |
getRequiredPaymts()
Get the 'RequiredPaymts' element value. |
RestrictionStatusGroup |
getRestrictionStatus()
Get the 'RestrictionStatusGroup' attributeGroup value. |
UniqueID |
getUniqueID()
Get the 'UniqueID' element value. |
Viewerships |
getViewerships()
Get the 'Viewerships' element value. |
void |
setAbsoluteDropTime(java.lang.String absoluteDropTime)
Set the 'AbsoluteDropTime' attribute value. |
void |
setAcceptableGuarantees(BookingRules.BookingRule.AcceptableGuarantees acceptableGuarantees)
Set the 'AcceptableGuarantees' element value. |
void |
setAddressRequired(java.lang.Boolean addressRequired)
Set the 'AddressRequired' attribute value. |
void |
setAddtionalRules(BookingRules.BookingRule.AddtionalRules addtionalRules)
Set the 'AddtionalRules' element value. |
void |
setCancelPenalties(CancelPenalties cancelPenalties)
Set the 'CancelPenalties' element value. |
void |
setCheckoutCharges(java.util.List<BookingRules.BookingRule.CheckoutCharge> list)
Set the list of 'CheckoutCharge' element items. |
void |
setCodeListGroup(CodeListGroup codeListGroup)
Set the 'CodeListGroup' attributeGroup value. |
void |
setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setDepositWaiverOffset(java.lang.String depositWaiverOffset)
Set the 'DepositWaiverOffset' attribute value. |
void |
setDescriptions(java.util.List<Paragraph> list)
Set the list of 'Description' element items. |
void |
setDOWRestrictions(DOWRestrictions DOWRestrictions)
Set the 'DOW_Restrictions' element value. |
void |
setForceGuaranteeOffset(java.lang.String forceGuaranteeOffset)
Set the 'ForceGuaranteeOffset' attribute value. |
void |
setGenerallyBookable(java.lang.Boolean generallyBookable)
Set the 'GenerallyBookable' attribute value. |
void |
setInvBlockCutoffGroup(InvBlockCutoffGroup invBlockCutoffGroup)
Set the 'InvBlockCutoffGroup' attributeGroup value. |
void |
setLengthsOfStay(LengthsOfStay lengthsOfStay)
Set the 'LengthsOfStay' element value. |
void |
setMaxAdvancedBookingOffset(java.lang.String maxAdvancedBookingOffset)
Set the 'MaxAdvancedBookingOffset' attribute value. |
void |
setMaxContiguousBookings(java.lang.Integer maxContiguousBookings)
Set the 'MaxContiguousBookings' attribute value. |
void |
setMaxTotalOccupancy(java.lang.Integer maxTotalOccupancy)
Set the 'MaxTotalOccupancy' attribute value. |
void |
setMinAdvancedBookingOffset(java.lang.String minAdvancedBookingOffset)
Set the 'MinAdvancedBookingOffset' attribute value. |
void |
setMinTotalOccupancy(java.lang.Integer minTotalOccupancy)
Set the 'MinTotalOccupancy' attribute value. |
void |
setPriceViewable(java.lang.Boolean priceViewable)
Set the 'PriceViewable' attribute value. |
void |
setQualifiedRateYN(java.lang.Boolean qualifiedRateYN)
Set the 'QualifiedRateYN' attribute value. |
void |
setRequiredPaymts(RequiredPayments requiredPaymts)
Set the 'RequiredPaymts' element value. |
void |
setRestrictionStatus(RestrictionStatusGroup restrictionStatus)
Set the 'RestrictionStatusGroup' attributeGroup value. |
void |
setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. |
void |
setViewerships(Viewerships viewerships)
Set the 'Viewerships' element value. |
int |
sizeCheckoutCharges()
Get the number of 'CheckoutCharge' element items. |
int |
sizeDescriptions()
Get the number of 'Description' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookingRules.BookingRule()
Method Detail |
---|
public BookingRules.BookingRule.AcceptableGuarantees getAcceptableGuarantees()
public void setAcceptableGuarantees(BookingRules.BookingRule.AcceptableGuarantees acceptableGuarantees)
acceptableGuarantees
- public CancelPenalties getCancelPenalties()
public void setCancelPenalties(CancelPenalties cancelPenalties)
cancelPenalties
- public RequiredPayments getRequiredPaymts()
public void setRequiredPaymts(RequiredPayments requiredPaymts)
requiredPaymts
- public LengthsOfStay getLengthsOfStay()
public void setLengthsOfStay(LengthsOfStay lengthsOfStay)
lengthsOfStay
- public DOWRestrictions getDOWRestrictions()
public void setDOWRestrictions(DOWRestrictions DOWRestrictions)
DOWRestrictions
- public RestrictionStatusGroup getRestrictionStatus()
public void setRestrictionStatus(RestrictionStatusGroup restrictionStatus)
restrictionStatus
- public Viewerships getViewerships()
public void setViewerships(Viewerships viewerships)
viewerships
- public BookingRules.BookingRule.AddtionalRules getAddtionalRules()
public void setAddtionalRules(BookingRules.BookingRule.AddtionalRules addtionalRules)
addtionalRules
- public java.util.List<Paragraph> getDescriptions()
public void setDescriptions(java.util.List<Paragraph> list)
list
- public int sizeDescriptions()
public void addDescription(Paragraph item)
item
- public Paragraph getDescription(int index)
index
-
public void clearDescriptions()
public UniqueID getUniqueID()
public void setUniqueID(UniqueID uniqueID)
uniqueID
- public java.util.List<BookingRules.BookingRule.CheckoutCharge> getCheckoutCharges()
public void setCheckoutCharges(java.util.List<BookingRules.BookingRule.CheckoutCharge> list)
list
- public int sizeCheckoutCharges()
public void addCheckoutCharge(BookingRules.BookingRule.CheckoutCharge item)
item
- public BookingRules.BookingRule.CheckoutCharge getCheckoutCharge(int index)
index
-
public void clearCheckoutCharges()
public CodeListGroup getCodeListGroup()
public void setCodeListGroup(CodeListGroup codeListGroup)
codeListGroup
- public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup
- public java.lang.String getMaxAdvancedBookingOffset()
public void setMaxAdvancedBookingOffset(java.lang.String maxAdvancedBookingOffset)
maxAdvancedBookingOffset
- public java.lang.String getMinAdvancedBookingOffset()
public void setMinAdvancedBookingOffset(java.lang.String minAdvancedBookingOffset)
minAdvancedBookingOffset
- public java.lang.String getForceGuaranteeOffset()
public void setForceGuaranteeOffset(java.lang.String forceGuaranteeOffset)
forceGuaranteeOffset
- public java.lang.String getDepositWaiverOffset()
public void setDepositWaiverOffset(java.lang.String depositWaiverOffset)
depositWaiverOffset
- public java.lang.Integer getMinTotalOccupancy()
public void setMinTotalOccupancy(java.lang.Integer minTotalOccupancy)
minTotalOccupancy
- public java.lang.Integer getMaxTotalOccupancy()
public void setMaxTotalOccupancy(java.lang.Integer maxTotalOccupancy)
maxTotalOccupancy
- public java.lang.String getAbsoluteDropTime()
public void setAbsoluteDropTime(java.lang.String absoluteDropTime)
absoluteDropTime
- public java.lang.Boolean getGenerallyBookable()
public void setGenerallyBookable(java.lang.Boolean generallyBookable)
generallyBookable
- public java.lang.Boolean getPriceViewable()
public void setPriceViewable(java.lang.Boolean priceViewable)
priceViewable
- public java.lang.Boolean getQualifiedRateYN()
public void setQualifiedRateYN(java.lang.Boolean qualifiedRateYN)
qualifiedRateYN
- public java.lang.Boolean getAddressRequired()
public void setAddressRequired(java.lang.Boolean addressRequired)
addressRequired
- public InvBlockCutoffGroup getInvBlockCutoffGroup()
public void setInvBlockCutoffGroup(InvBlockCutoffGroup invBlockCutoffGroup)
invBlockCutoffGroup
- public java.lang.Integer getMaxContiguousBookings()
public void setMaxContiguousBookings(java.lang.Integer maxContiguousBookings)
maxContiguousBookings
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |