org.ota.pkg
Class PkgInvoiceDetail.CostingItems

java.lang.Object
  extended by org.ota.pkg.PkgInvoiceDetail.CostingItems
Enclosing class:
PkgInvoiceDetail

public static class PkgInvoiceDetail.CostingItems
extends java.lang.Object

A collection of invoice item lines. 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="CostingItems" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:CostingItemType" name="CostingItem" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
PkgInvoiceDetail.CostingItems()
           
 
Method Summary
 void addCostingItem(CostingItem item)
          Add a 'CostingItem' element item.
 void clearCostingItems()
          Remove all 'CostingItem' element items.
 CostingItem getCostingItem(int index)
          Get 'CostingItem' element item by position.
 java.util.List<CostingItem> getCostingItems()
          Get the list of 'CostingItem' element items.
 void setCostingItems(java.util.List<CostingItem> list)
          Set the list of 'CostingItem' element items.
 int sizeCostingItems()
          Get the number of 'CostingItem' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkgInvoiceDetail.CostingItems

public PkgInvoiceDetail.CostingItems()
Method Detail

getCostingItems

public java.util.List<CostingItem> getCostingItems()
Get the list of 'CostingItem' element items.

Returns:
list

setCostingItems

public void setCostingItems(java.util.List<CostingItem> list)
Set the list of 'CostingItem' element items.

Parameters:
list -

sizeCostingItems

public int sizeCostingItems()
Get the number of 'CostingItem' element items.

Returns:
count

addCostingItem

public void addCostingItem(CostingItem item)
Add a 'CostingItem' element item.

Parameters:
item -

getCostingItem

public CostingItem getCostingItem(int index)
Get 'CostingItem' element item by position.

Parameters:
index -
Returns:
item

clearCostingItems

public void clearCostingItems()
Remove all 'CostingItem' element items.