|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.CancelPenalties.CancelPenalty
public static class CancelPenalties.CancelPenalty
Defines the cancellation penalty of the hotel facility. 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:CancelPenaltyType" name="CancelPenalty" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CancelPenaltyType"> <xs:sequence> <xs:element name="Deadline" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:DeadlineGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:AmountPercentType" name="AmountPercent" minOccurs="0"/> <xs:element type="ns:ParagraphType" name="PenaltyDescription" minOccurs="0" maxOccurs="9"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="ConfirmClassCode"/> <xs:attribute type="xs:string" use="optional" name="PolicyCode"/> <xs:attribute type="xs:boolean" use="optional" name="NonRefundable"/> <xs:attributeGroup ref="ns:DOW_PatternGroup"/> <xs:attributeGroup ref="ns:DateTimeSpanGroup"/> <xs:attribute type="xs:string" use="optional" name="RoomTypeCode"/> </xs:complexType>
Constructor Summary | |
---|---|
CancelPenalties.CancelPenalty()
|
Method Summary | |
---|---|
void |
addPenaltyDescription(Paragraph item)
Add a 'PenaltyDescription' element item. |
void |
clearPenaltyDescriptions()
Remove all 'PenaltyDescription' element items. |
AmountPercent |
getAmountPercent()
Get the 'AmountPercent' element value. |
java.lang.String |
getConfirmClassCode()
Get the 'ConfirmClassCode' attribute value. |
DateTimeSpanGroup |
getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
DeadlineGroup |
getDeadline()
Get the 'DeadlineGroup' attributeGroup value. |
DOWPatternGroup |
getDOWPatternGroup()
Get the 'DOW_PatternGroup' attributeGroup value. |
java.lang.Boolean |
getNonRefundable()
Get the 'NonRefundable' attribute value. |
Paragraph |
getPenaltyDescription(int index)
Get 'PenaltyDescription' element item by position. |
java.util.List<Paragraph> |
getPenaltyDescriptions()
Get the list of 'PenaltyDescription' element items. |
java.lang.String |
getPolicyCode()
Get the 'PolicyCode' attribute value. |
java.lang.String |
getRoomTypeCode()
Get the 'RoomTypeCode' attribute value. |
void |
setAmountPercent(AmountPercent amountPercent)
Set the 'AmountPercent' element value. |
void |
setConfirmClassCode(java.lang.String confirmClassCode)
Set the 'ConfirmClassCode' attribute value. |
void |
setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setDeadline(DeadlineGroup deadline)
Set the 'DeadlineGroup' attributeGroup value. |
void |
setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
Set the 'DOW_PatternGroup' attributeGroup value. |
void |
setNonRefundable(java.lang.Boolean nonRefundable)
Set the 'NonRefundable' attribute value. |
void |
setPenaltyDescriptions(java.util.List<Paragraph> list)
Set the list of 'PenaltyDescription' element items. |
void |
setPolicyCode(java.lang.String policyCode)
Set the 'PolicyCode' attribute value. |
void |
setRoomTypeCode(java.lang.String roomTypeCode)
Set the 'RoomTypeCode' attribute value. |
int |
sizePenaltyDescriptions()
Get the number of 'PenaltyDescription' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CancelPenalties.CancelPenalty()
Method Detail |
---|
public DeadlineGroup getDeadline()
public void setDeadline(DeadlineGroup deadline)
deadline
- public AmountPercent getAmountPercent()
public void setAmountPercent(AmountPercent amountPercent)
amountPercent
- public java.util.List<Paragraph> getPenaltyDescriptions()
public void setPenaltyDescriptions(java.util.List<Paragraph> list)
list
- public int sizePenaltyDescriptions()
public void addPenaltyDescription(Paragraph item)
item
- public Paragraph getPenaltyDescription(int index)
index
-
public void clearPenaltyDescriptions()
public java.lang.String getConfirmClassCode()
public void setConfirmClassCode(java.lang.String confirmClassCode)
confirmClassCode
- public java.lang.String getPolicyCode()
public void setPolicyCode(java.lang.String policyCode)
policyCode
- public java.lang.Boolean getNonRefundable()
public void setNonRefundable(java.lang.Boolean nonRefundable)
nonRefundable
- public DOWPatternGroup getDOWPatternGroup()
public void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
DOWPatternGroup
- public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup
- public java.lang.String getRoomTypeCode()
public void setRoomTypeCode(java.lang.String roomTypeCode)
roomTypeCode
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |