org.ota.cruise
Class CruiseBookingInfo.PaymentSchedule

java.lang.Object
  extended by org.ota.cruise.CruiseBookingInfo.PaymentSchedule
Enclosing class:
CruiseBookingInfo

public static class CruiseBookingInfo.PaymentSchedule
extends java.lang.Object

Specifies the payment schedule information. 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="PaymentSchedule" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Payment" maxOccurs="99">
         <!-- Reference to inner class Payment -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class CruiseBookingInfo.PaymentSchedule.Payment
          Used to specify multiple currency amounts as well as payment types (e.g., deposit, final).
 
Constructor Summary
CruiseBookingInfo.PaymentSchedule()
           
 
Method Summary
 void addPayment(CruiseBookingInfo.PaymentSchedule.Payment item)
          Add a 'Payment' element item.
 void clearPayments()
          Remove all 'Payment' element items.
 CruiseBookingInfo.PaymentSchedule.Payment getPayment(int index)
          Get 'Payment' element item by position.
 java.util.List<CruiseBookingInfo.PaymentSchedule.Payment> getPayments()
          Get the list of 'Payment' element items.
 void setPayments(java.util.List<CruiseBookingInfo.PaymentSchedule.Payment> list)
          Set the list of 'Payment' element items.
 int sizePayments()
          Get the number of 'Payment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruiseBookingInfo.PaymentSchedule

public CruiseBookingInfo.PaymentSchedule()
Method Detail

getPayments

public java.util.List<CruiseBookingInfo.PaymentSchedule.Payment> getPayments()
Get the list of 'Payment' element items.

Returns:
list

setPayments

public void setPayments(java.util.List<CruiseBookingInfo.PaymentSchedule.Payment> list)
Set the list of 'Payment' element items.

Parameters:
list -

sizePayments

public int sizePayments()
Get the number of 'Payment' element items.

Returns:
count

addPayment

public void addPayment(CruiseBookingInfo.PaymentSchedule.Payment item)
Add a 'Payment' element item.

Parameters:
item -

getPayment

public CruiseBookingInfo.PaymentSchedule.Payment getPayment(int index)
Get 'Payment' element item by position.

Parameters:
index -
Returns:
item

clearPayments

public void clearPayments()
Remove all 'Payment' element items.