org.ota.cruise
Class CruiseGuestInfo.PaymentOptions

java.lang.Object
  extended by org.ota.cruise.CruiseGuestInfo.PaymentOptions
Enclosing class:
CruiseGuestInfo

public static class CruiseGuestInfo.PaymentOptions
extends java.lang.Object

Collection of payment choices. 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="PaymentOptions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PaymentOption" maxOccurs="9">
         <!-- Reference to inner class PaymentOption -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class CruiseGuestInfo.PaymentOptions.PaymentOption
          Payment choice.
 
Constructor Summary
CruiseGuestInfo.PaymentOptions()
           
 
Method Summary
 void addPaymentOption(CruiseGuestInfo.PaymentOptions.PaymentOption item)
          Add a 'PaymentOption' element item.
 void clearPaymentOptions()
          Remove all 'PaymentOption' element items.
 CruiseGuestInfo.PaymentOptions.PaymentOption getPaymentOption(int index)
          Get 'PaymentOption' element item by position.
 java.util.List<CruiseGuestInfo.PaymentOptions.PaymentOption> getPaymentOptions()
          Get the list of 'PaymentOption' element items.
 void setPaymentOptions(java.util.List<CruiseGuestInfo.PaymentOptions.PaymentOption> list)
          Set the list of 'PaymentOption' element items.
 int sizePaymentOptions()
          Get the number of 'PaymentOption' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruiseGuestInfo.PaymentOptions

public CruiseGuestInfo.PaymentOptions()
Method Detail

getPaymentOptions

public java.util.List<CruiseGuestInfo.PaymentOptions.PaymentOption> getPaymentOptions()
Get the list of 'PaymentOption' element items.

Returns:
list

setPaymentOptions

public void setPaymentOptions(java.util.List<CruiseGuestInfo.PaymentOptions.PaymentOption> list)
Set the list of 'PaymentOption' element items.

Parameters:
list -

sizePaymentOptions

public int sizePaymentOptions()
Get the number of 'PaymentOption' element items.

Returns:
count

addPaymentOption

public void addPaymentOption(CruiseGuestInfo.PaymentOptions.PaymentOption item)
Add a 'PaymentOption' element item.

Parameters:
item -

getPaymentOption

public CruiseGuestInfo.PaymentOptions.PaymentOption getPaymentOption(int index)
Get 'PaymentOption' element item by position.

Parameters:
index -
Returns:
item

clearPaymentOptions

public void clearPaymentOptions()
Remove all 'PaymentOption' element items.