|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.Total
org.ota.hotel.Discount
public class Discount
Identifies and provides details about the discount. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DiscountType"> <xs:complexContent> <xs:extension base="ns:TotalType"> <xs:sequence> <xs:element type="ns:ParagraphType" name="DiscountReason"/> </xs:sequence> <xs:attribute type="xs:boolean" use="optional" name="TaxInclusive"/> <xs:attribute type="xs:float" use="optional" name="Percent"/> <xs:attribute type="xs:string" use="optional" name="DiscountCode"/> <xs:attribute type="xs:boolean" use="optional" name="RestrictedDisplayIndicator"/> </xs:extension> </xs:complexContent> </xs:complexType>
Constructor Summary | |
---|---|
Discount()
|
Method Summary | |
---|---|
java.lang.String |
getDiscountCode()
Get the 'DiscountCode' attribute value. |
Paragraph |
getDiscountReason()
Get the 'DiscountReason' element value. |
java.lang.Float |
getPercent()
Get the 'Percent' attribute value. |
java.lang.Boolean |
getRestrictedDisplayIndicator()
Get the 'RestrictedDisplayIndicator' attribute value. |
java.lang.Boolean |
getTaxInclusive()
Get the 'TaxInclusive' attribute value. |
void |
setDiscountCode(java.lang.String discountCode)
Set the 'DiscountCode' attribute value. |
void |
setDiscountReason(Paragraph discountReason)
Set the 'DiscountReason' element value. |
void |
setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. |
void |
setRestrictedDisplayIndicator(java.lang.Boolean restrictedDisplayIndicator)
Set the 'RestrictedDisplayIndicator' attribute value. |
void |
setTaxInclusive(java.lang.Boolean taxInclusive)
Set the 'TaxInclusive' attribute value. |
Methods inherited from class org.ota.shared.Total |
---|
getAdditionalFeesExcludedIndicator, getAmountAfterTax, getAmountBeforeTax, getCurrencyCodeGroup, getTaxes, setAdditionalFeesExcludedIndicator, setAmountAfterTax, setAmountBeforeTax, setCurrencyCodeGroup, setTaxes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Discount()
Method Detail |
---|
public Paragraph getDiscountReason()
public void setDiscountReason(Paragraph discountReason)
discountReason
- public java.lang.Boolean getTaxInclusive()
public void setTaxInclusive(java.lang.Boolean taxInclusive)
taxInclusive
- public java.lang.Float getPercent()
public void setPercent(java.lang.Float percent)
percent
- public java.lang.String getDiscountCode()
public void setDiscountCode(java.lang.String discountCode)
discountCode
- public java.lang.Boolean getRestrictedDisplayIndicator()
public void setRestrictedDisplayIndicator(java.lang.Boolean restrictedDisplayIndicator)
restrictedDisplayIndicator
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |