org.ota.air
Class DemandTicketRQ.PaymentInfo

java.lang.Object
  extended by org.ota.air.DemandTicketRQ.PaymentInfo
Enclosing class:
DemandTicketRQ

public static class DemandTicketRQ.PaymentInfo
extends java.lang.Object

The form of payment information for the ticket to be issued. 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" maxOccurs="297">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CreditCardInfo" minOccurs="0" maxOccurs="5">
         <!-- Reference to inner class CreditCardInfo -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="PassengerRPH"/>
     <xs:attribute type="xs:string" use="required" name="PaymentType"/>
     <xs:attribute type="xs:boolean" use="optional" name="PrintFormOfPaymentInd"/>
     <xs:attribute type="xs:string" use="optional" name="Text"/>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class DemandTicketRQ.PaymentInfo.CreditCardInfo
          The details for the card when form of payment is a credit card.
 
Constructor Summary
DemandTicketRQ.PaymentInfo()
           
 
Method Summary
 void addCreditCardInfo(DemandTicketRQ.PaymentInfo.CreditCardInfo item)
          Add a 'CreditCardInfo' element item.
 void clearCreditCardInfos()
          Remove all 'CreditCardInfo' element items.
 DemandTicketRQ.PaymentInfo.CreditCardInfo getCreditCardInfo(int index)
          Get 'CreditCardInfo' element item by position.
 java.util.List<DemandTicketRQ.PaymentInfo.CreditCardInfo> getCreditCardInfos()
          Get the list of 'CreditCardInfo' element items.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getPassengerRPH()
          Get the 'PassengerRPH' attribute value.
 java.lang.String getPayment()
          Get the 'PaymentType' attribute value.
 java.lang.Boolean getPrintFormOfPaymentInd()
          Get the 'PrintFormOfPaymentInd' attribute value.
 java.lang.String getText()
          Get the 'Text' attribute value.
 void setCreditCardInfos(java.util.List<DemandTicketRQ.PaymentInfo.CreditCardInfo> list)
          Set the list of 'CreditCardInfo' element items.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setPassengerRPH(java.lang.String passengerRPH)
          Set the 'PassengerRPH' attribute value.
 void setPayment(java.lang.String payment)
          Set the 'PaymentType' attribute value.
 void setPrintFormOfPaymentInd(java.lang.Boolean printFormOfPaymentInd)
          Set the 'PrintFormOfPaymentInd' attribute value.
 void setText(java.lang.String text)
          Set the 'Text' attribute value.
 int sizeCreditCardInfos()
          Get the number of 'CreditCardInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemandTicketRQ.PaymentInfo

public DemandTicketRQ.PaymentInfo()
Method Detail

getCreditCardInfos

public java.util.List<DemandTicketRQ.PaymentInfo.CreditCardInfo> getCreditCardInfos()
Get the list of 'CreditCardInfo' element items.

Returns:
list

setCreditCardInfos

public void setCreditCardInfos(java.util.List<DemandTicketRQ.PaymentInfo.CreditCardInfo> list)
Set the list of 'CreditCardInfo' element items.

Parameters:
list -

sizeCreditCardInfos

public int sizeCreditCardInfos()
Get the number of 'CreditCardInfo' element items.

Returns:
count

addCreditCardInfo

public void addCreditCardInfo(DemandTicketRQ.PaymentInfo.CreditCardInfo item)
Add a 'CreditCardInfo' element item.

Parameters:
item -

getCreditCardInfo

public DemandTicketRQ.PaymentInfo.CreditCardInfo getCreditCardInfo(int index)
Get 'CreditCardInfo' element item by position.

Parameters:
index -
Returns:
item

clearCreditCardInfos

public void clearCreditCardInfos()
Remove all 'CreditCardInfo' element items.


getPassengerRPH

public java.lang.String getPassengerRPH()
Get the 'PassengerRPH' attribute value. Provides a unique reference to one or more passengers.

Returns:
value

setPassengerRPH

public void setPassengerRPH(java.lang.String passengerRPH)
Set the 'PassengerRPH' attribute value. Provides a unique reference to one or more passengers.

Parameters:
passengerRPH -

getPayment

public java.lang.String getPayment()
Get the 'PaymentType' attribute value. Specifies the form of payment, i.e., check, cash, credit card. Refer to OpenTravel Code List Payment Type (PMT).

Returns:
value

setPayment

public void setPayment(java.lang.String payment)
Set the 'PaymentType' attribute value. Specifies the form of payment, i.e., check, cash, credit card. Refer to OpenTravel Code List Payment Type (PMT).

Parameters:
payment -

getPrintFormOfPaymentInd

public java.lang.Boolean getPrintFormOfPaymentInd()
Get the 'PrintFormOfPaymentInd' attribute value. When true, the form of payment on the document requested.

Returns:
value

setPrintFormOfPaymentInd

public void setPrintFormOfPaymentInd(java.lang.Boolean printFormOfPaymentInd)
Set the 'PrintFormOfPaymentInd' attribute value. When true, the form of payment on the document requested.

Parameters:
printFormOfPaymentInd -

getText

public java.lang.String getText()
Get the 'Text' attribute value. Textual information for the form of payment.

Returns:
value

setText

public void setText(java.lang.String text)
Set the 'Text' attribute value. Textual information for the form of payment.

Parameters:
text -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Specifies the amount and currency code for this form of payment.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Specifies the amount and currency code for this form of payment.

Parameters:
currencyAmountGroup -