|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.dynamicpkg.DynamicPkgGlobalInfo.Promotions
public static class DynamicPkgGlobalInfo.Promotions
Collection of promotions applied to the package 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="Promotions" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Promotion" maxOccurs="99"> <xs:complexType> <xs:attributeGroup ref="ns:DiscountInfoGroup"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Constructor Summary | |
---|---|
DynamicPkgGlobalInfo.Promotions()
|
Method Summary | |
---|---|
void |
addPromotion(DiscountInfoGroup item)
Add a 'Promotion' element item. |
void |
clearPromotions()
Remove all 'Promotion' element items. |
DiscountInfoGroup |
getPromotion(int index)
Get 'Promotion' element item by position. |
java.util.List<DiscountInfoGroup> |
getPromotions()
Get the list of 'Promotion' element items. |
void |
setPromotions(java.util.List<DiscountInfoGroup> list)
Set the list of 'Promotion' element items. |
int |
sizePromotions()
Get the number of 'Promotion' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicPkgGlobalInfo.Promotions()
Method Detail |
---|
public java.util.List<DiscountInfoGroup> getPromotions()
public void setPromotions(java.util.List<DiscountInfoGroup> list)
list
- public int sizePromotions()
public void addPromotion(DiscountInfoGroup item)
item
- public DiscountInfoGroup getPromotion(int index)
index
-
public void clearPromotions()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |