org.ota.cruise
Class PaymentRQ.ReservationPayment

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

public static class PaymentRQ.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" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ReservationID">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:UniqueID_Type">
               <xs:attribute type="xs:dateTime" use="optional" name="SyncDateTime"/>
               <xs:attribute type="xs:string" use="optional" name="Status"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:PaymentDetailType" name="PaymentDetail" maxOccurs="9"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
PaymentRQ.ReservationPayment()
           
 
Method Summary
 void addPaymentDetail(PaymentDetail item)
          Add a 'PaymentDetail' element item.
 void clearPaymentDetails()
          Remove all 'PaymentDetail' element items.
 PaymentDetail getPaymentDetail(int index)
          Get 'PaymentDetail' element item by position.
 java.util.List<PaymentDetail> getPaymentDetails()
          Get the list of 'PaymentDetail' element items.
 java.lang.String getReservationIDStatus()
          Get the 'Status' attribute value.
 java.util.Date getReservationIDSyncDateTime()
          Get the 'SyncDateTime' attribute value.
 UniqueID getReservationIDUniqueID()
          Get the extension value.
 void setPaymentDetails(java.util.List<PaymentDetail> list)
          Set the list of 'PaymentDetail' element items.
 void setReservationIDStatus(java.lang.String reservationIDStatus)
          Set the 'Status' attribute value.
 void setReservationIDSyncDateTime(java.util.Date reservationIDSyncDateTime)
          Set the 'SyncDateTime' attribute 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

PaymentRQ.ReservationPayment

public PaymentRQ.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 -

getReservationIDSyncDateTime

public java.util.Date getReservationIDSyncDateTime()
Get the 'SyncDateTime' attribute value. Specifies the Synchronization date of the record between GDS's and Cruise Line Providers

Returns:
value

setReservationIDSyncDateTime

public void setReservationIDSyncDateTime(java.util.Date reservationIDSyncDateTime)
Set the 'SyncDateTime' attribute value. Specifies the Synchronization date of the record between GDS's and Cruise Line Providers

Parameters:
reservationIDSyncDateTime -

getReservationIDStatus

public java.lang.String getReservationIDStatus()
Get the 'Status' attribute value. Indicates the Reservation status. Refer to OpenTravel Code List Status (STS).

Returns:
value

setReservationIDStatus

public void setReservationIDStatus(java.lang.String reservationIDStatus)
Set the 'Status' attribute value. Indicates the Reservation status. Refer to OpenTravel Code List Status (STS).

Parameters:
reservationIDStatus -

getPaymentDetails

public java.util.List<PaymentDetail> getPaymentDetails()
Get the list of 'PaymentDetail' element items. Payment details for the reservation.

Returns:
list

setPaymentDetails

public void setPaymentDetails(java.util.List<PaymentDetail> list)
Set the list of 'PaymentDetail' element items. Payment details for the reservation.

Parameters:
list -

sizePaymentDetails

public int sizePaymentDetails()
Get the number of 'PaymentDetail' element items.

Returns:
count

addPaymentDetail

public void addPaymentDetail(PaymentDetail item)
Add a 'PaymentDetail' element item.

Parameters:
item -

getPaymentDetail

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

Parameters:
index -
Returns:
item

clearPaymentDetails

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