org.ota.vehicle
Class CheckInRQ.AdjustmentDetails

java.lang.Object
  extended by org.ota.vehicle.CheckInRQ.AdjustmentDetails
Enclosing class:
CheckInRQ

public static class CheckInRQ.AdjustmentDetails
extends java.lang.Object

Collection of adjustments. 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="AdjustmentDetails" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:VehicleChargeType" name="AdjustmentDetail" maxOccurs="15"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CheckInRQ.AdjustmentDetails()
           
 
Method Summary
 void addAdjustmentDetail(VehicleCharge item)
          Add a 'AdjustmentDetail' element item.
 void clearAdjustmentDetails()
          Remove all 'AdjustmentDetail' element items.
 VehicleCharge getAdjustmentDetail(int index)
          Get 'AdjustmentDetail' element item by position.
 java.util.List<VehicleCharge> getAdjustmentDetails()
          Get the list of 'AdjustmentDetail' element items.
 void setAdjustmentDetails(java.util.List<VehicleCharge> list)
          Set the list of 'AdjustmentDetail' element items.
 int sizeAdjustmentDetails()
          Get the number of 'AdjustmentDetail' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckInRQ.AdjustmentDetails

public CheckInRQ.AdjustmentDetails()
Method Detail

getAdjustmentDetails

public java.util.List<VehicleCharge> getAdjustmentDetails()
Get the list of 'AdjustmentDetail' element items. Used to provide adjustment details. Amount attribute and Description attribute will be the most commonly used fields.

Returns:
list

setAdjustmentDetails

public void setAdjustmentDetails(java.util.List<VehicleCharge> list)
Set the list of 'AdjustmentDetail' element items. Used to provide adjustment details. Amount attribute and Description attribute will be the most commonly used fields.

Parameters:
list -

sizeAdjustmentDetails

public int sizeAdjustmentDetails()
Get the number of 'AdjustmentDetail' element items.

Returns:
count

addAdjustmentDetail

public void addAdjustmentDetail(VehicleCharge item)
Add a 'AdjustmentDetail' element item.

Parameters:
item -

getAdjustmentDetail

public VehicleCharge getAdjustmentDetail(int index)
Get 'AdjustmentDetail' element item by position.

Parameters:
index -
Returns:
item

clearAdjustmentDetails

public void clearAdjustmentDetails()
Remove all 'AdjustmentDetail' element items.