|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.Offer.Discount
public static class Offer.Discount
Defines the characteristics of the offer. 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="Discount" minOccurs="0">
<xs:complexType>
<xs:attribute type="xs:int" use="optional" name="NightsRequired"/>
<xs:attribute type="xs:int" use="optional" name="NightsDiscounted"/>
<xs:attribute type="xs:string" use="optional" name="DiscountPattern"/>
<xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
<xs:attribute type="xs:float" use="optional" name="Percent"/>
<xs:attribute type="xs:string" use="optional" name="ChargeUnitCode"/>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
Offer.Discount()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getChargeUnitCode()
Get the 'ChargeUnitCode' attribute value. |
CurrencyAmountGroup |
getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. |
java.lang.String |
getDiscountPattern()
Get the 'DiscountPattern' attribute value. |
java.lang.Integer |
getNightsDiscounted()
Get the 'NightsDiscounted' attribute value. |
java.lang.Integer |
getNightsRequired()
Get the 'NightsRequired' attribute value. |
java.lang.Float |
getPercent()
Get the 'Percent' attribute value. |
void |
setChargeUnitCode(java.lang.String chargeUnitCode)
Set the 'ChargeUnitCode' attribute value. |
void |
setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. |
void |
setDiscountPattern(java.lang.String discountPattern)
Set the 'DiscountPattern' attribute value. |
void |
setNightsDiscounted(java.lang.Integer nightsDiscounted)
Set the 'NightsDiscounted' attribute value. |
void |
setNightsRequired(java.lang.Integer nightsRequired)
Set the 'NightsRequired' attribute value. |
void |
setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Offer.Discount()
| Method Detail |
|---|
public java.lang.Integer getNightsRequired()
public void setNightsRequired(java.lang.Integer nightsRequired)
nightsRequired - public java.lang.Integer getNightsDiscounted()
public void setNightsDiscounted(java.lang.Integer nightsDiscounted)
nightsDiscounted - public java.lang.String getDiscountPattern()
public void setDiscountPattern(java.lang.String discountPattern)
discountPattern - public CurrencyAmountGroup getCurrencyAmountGroup()
public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
currencyAmountGroup - public java.lang.Float getPercent()
public void setPercent(java.lang.Float percent)
percent - public java.lang.String getChargeUnitCode()
public void setChargeUnitCode(java.lang.String chargeUnitCode)
chargeUnitCode -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||