org.ota.cruise
Class BookingDocumentRS.CruiseDocument

java.lang.Object
  extended by org.ota.cruise.DocumentHandling
      extended by org.ota.cruise.BookingDocumentRS.CruiseDocument
Enclosing class:
BookingDocumentRS

public static class BookingDocumentRS.CruiseDocument
extends DocumentHandling

The document and the delivery method of the request. 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="CruiseDocument" maxOccurs="9">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:DocumentHandlingType">
         <xs:attribute type="xs:string" use="optional" name="Status"/>
         <xs:attribute type="xs:string" use="optional" name="Reason"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.cruise.DocumentHandling
DocumentHandling.VendorOption
 
Constructor Summary
BookingDocumentRS.CruiseDocument()
           
 
Method Summary
 java.lang.String getReason()
          Get the 'Reason' attribute value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 void setReason(java.lang.String reason)
          Set the 'Reason' attribute value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 
Methods inherited from class org.ota.cruise.DocumentHandling
addVendorOption, clearVendorOptions, getAddressRequiredIndicator, getAddressRPH, getDefaultIndicator, getDeliveryMethodCode, getDocumentDestination, getDocumentLanguage, getDocumentTypeCode, getEmailRPH, getSelectedOptionIndicator, getTelephoneRPH, getVendorOption, getVendorOptions, setAddressRequiredIndicator, setAddressRPH, setDefaultIndicator, setDeliveryMethodCode, setDocumentDestination, setDocumentLanguage, setDocumentTypeCode, setEmailRPH, setSelectedOptionIndicator, setTelephoneRPH, setVendorOptions, sizeVendorOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingDocumentRS.CruiseDocument

public BookingDocumentRS.CruiseDocument()
Method Detail

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Provides the status of the cruise booking document (e.g. "confirmed" or "declined"). Refer to OpenTravel Code List Status (STS).

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. Provides the status of the cruise booking document (e.g. "confirmed" or "declined"). Refer to OpenTravel Code List Status (STS).

Parameters:
status -

getReason

public java.lang.String getReason()
Get the 'Reason' attribute value. Provides a short description of the reason for why the document has a particular status.

Returns:
value

setReason

public void setReason(java.lang.String reason)
Set the 'Reason' attribute value. Provides a short description of the reason for why the document has a particular status.

Parameters:
reason -