org.ota.air
Class AirCheckIn.PassengerInfo.TicketingInfo.PaymentTotal

java.lang.Object
  extended by org.ota.air.AirCheckIn.PassengerInfo.TicketingInfo.PaymentTotal
Enclosing class:
AirCheckIn.PassengerInfo.TicketingInfo

public static class AirCheckIn.PassengerInfo.TicketingInfo.PaymentTotal
extends java.lang.Object

The total amount paid for this ticket (including all forms of payment). 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="PaymentTotal" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:PaymentDetailType" name="FormOfPayment" minOccurs="0" maxOccurs="4"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AirCheckIn.PassengerInfo.TicketingInfo.PaymentTotal()
           
 
Method Summary
 void addFormOfPayment(PaymentDetail item)
          Add a 'FormOfPayment' element item.
 void clearFormOfPayments()
          Remove all 'FormOfPayment' element items.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 PaymentDetail getFormOfPayment(int index)
          Get 'FormOfPayment' element item by position.
 java.util.List<PaymentDetail> getFormOfPayments()
          Get the list of 'FormOfPayment' element items.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setFormOfPayments(java.util.List<PaymentDetail> list)
          Set the list of 'FormOfPayment' element items.
 int sizeFormOfPayments()
          Get the number of 'FormOfPayment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirCheckIn.PassengerInfo.TicketingInfo.PaymentTotal

public AirCheckIn.PassengerInfo.TicketingInfo.PaymentTotal()
Method Detail

getFormOfPayments

public java.util.List<PaymentDetail> getFormOfPayments()
Get the list of 'FormOfPayment' element items. The form of payment used to purchase the ticket.

Returns:
list

setFormOfPayments

public void setFormOfPayments(java.util.List<PaymentDetail> list)
Set the list of 'FormOfPayment' element items. The form of payment used to purchase the ticket.

Parameters:
list -

sizeFormOfPayments

public int sizeFormOfPayments()
Get the number of 'FormOfPayment' element items.

Returns:
count

addFormOfPayment

public void addFormOfPayment(PaymentDetail item)
Add a 'FormOfPayment' element item.

Parameters:
item -

getFormOfPayment

public PaymentDetail getFormOfPayment(int index)
Get 'FormOfPayment' element item by position.

Parameters:
index -
Returns:
item

clearFormOfPayments

public void clearFormOfPayments()
Remove all 'FormOfPayment' element items.


getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The total amount paid for this ticket (including all forms of payment).

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The total amount paid for this ticket (including all forms of payment).

Parameters:
currencyAmountGroup -