|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.Fare.Discounts
public static class Fare.Discounts
Collection for discounts. 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="Discounts" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Discount" maxOccurs="99"> <xs:complexType> <xs:attributeGroup ref="ns:DiscountInfoGroup"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Constructor Summary | |
---|---|
Fare.Discounts()
|
Method Summary | |
---|---|
void |
addDiscount(DiscountInfoGroup item)
Add a 'Discount' element item. |
void |
clearDiscounts()
Remove all 'Discount' element items. |
DiscountInfoGroup |
getDiscount(int index)
Get 'Discount' element item by position. |
java.util.List<DiscountInfoGroup> |
getDiscounts()
Get the list of 'Discount' element items. |
void |
setDiscounts(java.util.List<DiscountInfoGroup> list)
Set the list of 'Discount' element items. |
int |
sizeDiscounts()
Get the number of 'Discount' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fare.Discounts()
Method Detail |
---|
public java.util.List<DiscountInfoGroup> getDiscounts()
public void setDiscounts(java.util.List<DiscountInfoGroup> list)
list
- public int sizeDiscounts()
public void addDiscount(DiscountInfoGroup item)
item
- public DiscountInfoGroup getDiscount(int index)
index
-
public void clearDiscounts()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |