|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.Tax
public class Tax
Applicable tax element. This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways. 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="TaxType"> <xs:sequence> <xs:element type="ns:ParagraphType" name="TaxDescription" minOccurs="0" maxOccurs="5"/> </xs:sequence> <xs:attributeGroup ref="ns:FeeTaxGroup"/> <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/> <xs:attributeGroup ref="ns:ChargeUnitGroup"/> </xs:complexType>
Constructor Summary | |
---|---|
Tax()
|
Method Summary | |
---|---|
void |
addTaxDescription(Paragraph item)
Add a 'TaxDescription' element item. |
void |
clearTaxDescriptions()
Remove all 'TaxDescription' element items. |
ChargeUnitGroup |
getChargeUnitGroup()
Get the 'ChargeUnitGroup' attributeGroup value. |
EffectiveExpireOptionalDateGroup |
getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
FeeTaxGroup |
getFeeTaxGroup()
Get the 'FeeTaxGroup' attributeGroup value. |
Paragraph |
getTaxDescription(int index)
Get 'TaxDescription' element item by position. |
java.util.List<Paragraph> |
getTaxDescriptions()
Get the list of 'TaxDescription' element items. |
void |
setChargeUnitGroup(ChargeUnitGroup chargeUnitGroup)
Set the 'ChargeUnitGroup' attributeGroup value. |
void |
setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. |
void |
setFeeTaxGroup(FeeTaxGroup feeTaxGroup)
Set the 'FeeTaxGroup' attributeGroup value. |
void |
setTaxDescriptions(java.util.List<Paragraph> list)
Set the list of 'TaxDescription' element items. |
int |
sizeTaxDescriptions()
Get the number of 'TaxDescription' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tax()
Method Detail |
---|
public java.util.List<Paragraph> getTaxDescriptions()
public void setTaxDescriptions(java.util.List<Paragraph> list)
list
- public int sizeTaxDescriptions()
public void addTaxDescription(Paragraph item)
item
- public Paragraph getTaxDescription(int index)
index
-
public void clearTaxDescriptions()
public FeeTaxGroup getFeeTaxGroup()
public void setFeeTaxGroup(FeeTaxGroup feeTaxGroup)
feeTaxGroup
- public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
effectiveExpireOptionalDateGroup
- public ChargeUnitGroup getChargeUnitGroup()
public void setChargeUnitGroup(ChargeUnitGroup chargeUnitGroup)
chargeUnitGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |