org.ota.air
Class AirCheckIn.PaymentInfo

java.lang.Object
  extended by org.ota.shared.PaymentForm
      extended by org.ota.shared.PaymentDetail
          extended by org.ota.air.AirCheckIn.PaymentInfo
Enclosing class:
AirCheckIn

public static class AirCheckIn.PaymentInfo
extends PaymentDetail

Captures payment information for services or fees not covered in the fare. 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="PaymentInfo" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:PaymentDetailType">
         <xs:sequence>
           <xs:element name="PaymentDetail" maxOccurs="99">
             <!-- Reference to inner class PaymentDetail -->
           </xs:element>
           <xs:element name="PaymentTotal" minOccurs="0">
             <xs:complexType>
               <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
             </xs:complexType>
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AirCheckIn.PaymentInfo.PaymentDetail
          Specifies payment information that may apply to upgrade data, baggage data, passenger data (e.g., meals, headsets, excess baggage).
 
Nested classes/interfaces inherited from class org.ota.shared.PaymentDetail
PaymentDetail.PaymentAmount
 
Nested classes/interfaces inherited from class org.ota.shared.PaymentForm
PaymentForm.Choice, PaymentForm.PaymentTransactionTypeCode
 
Constructor Summary
AirCheckIn.PaymentInfo()
           
 
Method Summary
 void addPaymentDetail(AirCheckIn.PaymentInfo.PaymentDetail item)
          Add a 'PaymentDetail' element item.
 void clearPaymentDetails()
          Remove all 'PaymentDetail' element items.
 AirCheckIn.PaymentInfo.PaymentDetail getPaymentDetail(int index)
          Get 'PaymentDetail' element item by position.
 java.util.List<AirCheckIn.PaymentInfo.PaymentDetail> getPaymentDetails()
          Get the list of 'PaymentDetail' element items.
 CurrencyAmountGroup getPaymentTotal()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 void setPaymentDetails(java.util.List<AirCheckIn.PaymentInfo.PaymentDetail> list)
          Set the list of 'PaymentDetail' element items.
 void setPaymentTotal(CurrencyAmountGroup paymentTotal)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 int sizePaymentDetails()
          Get the number of 'PaymentDetail' element items.
 
Methods inherited from class org.ota.shared.PaymentDetail
addPaymentAmount, clearPaymentAmounts, getAuthorizedDays, getCommission, getPayment, getPaymentAmount, getPaymentAmounts, getPrimaryPaymentInd, getSplitPaymentInd, setAuthorizedDays, setCommission, setPayment, setPaymentAmounts, setPrimaryPaymentInd, setSplitPaymentInd, sizePaymentAmounts
 
Methods inherited from class org.ota.shared.PaymentForm
getChoice, getCostCenterID, getGuaranteeID, getGuaranteeIndicator, getGuaranteeTypeCode, getPaymentTransactionTypeCode, getPrivacyGroup, getRemark, getRPH, setChoice, setCostCenterID, setGuaranteeID, setGuaranteeIndicator, setGuaranteeTypeCode, setPaymentTransactionTypeCode, setPrivacyGroup, setRemark, setRPH
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirCheckIn.PaymentInfo

public AirCheckIn.PaymentInfo()
Method Detail

getPaymentDetails

public java.util.List<AirCheckIn.PaymentInfo.PaymentDetail> getPaymentDetails()
Get the list of 'PaymentDetail' element items.

Returns:
list

setPaymentDetails

public void setPaymentDetails(java.util.List<AirCheckIn.PaymentInfo.PaymentDetail> list)
Set the list of 'PaymentDetail' element items.

Parameters:
list -

sizePaymentDetails

public int sizePaymentDetails()
Get the number of 'PaymentDetail' element items.

Returns:
count

addPaymentDetail

public void addPaymentDetail(AirCheckIn.PaymentInfo.PaymentDetail item)
Add a 'PaymentDetail' element item.

Parameters:
item -

getPaymentDetail

public AirCheckIn.PaymentInfo.PaymentDetail getPaymentDetail(int index)
Get 'PaymentDetail' element item by position.

Parameters:
index -
Returns:
item

clearPaymentDetails

public void clearPaymentDetails()
Remove all 'PaymentDetail' element items.


getPaymentTotal

public CurrencyAmountGroup getPaymentTotal()
Get the 'CurrencyAmountGroup' attributeGroup value. Specifies the total amount for all forms of payment.

Returns:
value

setPaymentTotal

public void setPaymentTotal(CurrencyAmountGroup paymentTotal)
Set the 'CurrencyAmountGroup' attributeGroup value. Specifies the total amount for all forms of payment.

Parameters:
paymentTotal -