org.ota.cruise
Class PaymentRS.ReservationPayment

java.lang.Object
  extended by org.ota.cruise.PaymentRS.ReservationPayment
Enclosing class:
PaymentRS

public static class PaymentRS.ReservationPayment
extends java.lang.Object

Payment information for a reservation. 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="ReservationPayment" minOccurs="0" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ReservationID">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:UniqueID_Type">
               <xs:attributeGroup ref="ns:ReservationStatusGroup"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element name="PaymentDetail" maxOccurs="9">
         <!-- Reference to inner class PaymentDetail -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PaymentRS.ReservationPayment.PaymentDetail
          The details of the payment applied.
 
Constructor Summary
PaymentRS.ReservationPayment()
           
 
Method Summary
 void addPaymentDetail(PaymentRS.ReservationPayment.PaymentDetail item)
          Add a 'PaymentDetail' element item.
 void clearPaymentDetails()
          Remove all 'PaymentDetail' element items.
 PaymentRS.ReservationPayment.PaymentDetail getPaymentDetail(int index)
          Get 'PaymentDetail' element item by position.
 java.util.List<PaymentRS.ReservationPayment.PaymentDetail> getPaymentDetails()
          Get the list of 'PaymentDetail' element items.
 ReservationStatusGroup getReservationIDReservationStatusGroup()
          Get the 'ReservationStatusGroup' attributeGroup value.
 UniqueID getReservationIDUniqueID()
          Get the extension value.
 void setPaymentDetails(java.util.List<PaymentRS.ReservationPayment.PaymentDetail> list)
          Set the list of 'PaymentDetail' element items.
 void setReservationIDReservationStatusGroup(ReservationStatusGroup reservationIDReservationStatusGroup)
          Set the 'ReservationStatusGroup' attributeGroup value.
 void setReservationIDUniqueID(UniqueID reservationIDUniqueID)
          Set the extension value.
 int sizePaymentDetails()
          Get the number of 'PaymentDetail' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentRS.ReservationPayment

public PaymentRS.ReservationPayment()
Method Detail

getReservationIDUniqueID

public UniqueID getReservationIDUniqueID()
Get the extension value.

Returns:
value

setReservationIDUniqueID

public void setReservationIDUniqueID(UniqueID reservationIDUniqueID)
Set the extension value.

Parameters:
reservationIDUniqueID -

getReservationIDReservationStatusGroup

public ReservationStatusGroup getReservationIDReservationStatusGroup()
Get the 'ReservationStatusGroup' attributeGroup value. The status and last modified date of this reservation.

Returns:
value

setReservationIDReservationStatusGroup

public void setReservationIDReservationStatusGroup(ReservationStatusGroup reservationIDReservationStatusGroup)
Set the 'ReservationStatusGroup' attributeGroup value. The status and last modified date of this reservation.

Parameters:
reservationIDReservationStatusGroup -

getPaymentDetails

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

Returns:
list

setPaymentDetails

public void setPaymentDetails(java.util.List<PaymentRS.ReservationPayment.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(PaymentRS.ReservationPayment.PaymentDetail item)
Add a 'PaymentDetail' element item.

Parameters:
item -

getPaymentDetail

public PaymentRS.ReservationPayment.PaymentDetail getPaymentDetail(int index)
Get 'PaymentDetail' element item by position.

Parameters:
index -
Returns:
item

clearPaymentDetails

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