org.ota.misc
Class CancelRQ.UniqueID
java.lang.Object
org.ota.shared.UniqueID
org.ota.misc.CancelRQ.UniqueID
- Enclosing class:
- CancelRQ
public static class CancelRQ.UniqueID
- extends UniqueID
This allows a user to send more than one UniqueID where there is more than one UniqueID associated to a single reservation (e.g. confirmation number and PNR record locator).
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="UniqueID" maxOccurs="5">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:UniqueID_Type">
<xs:attribute type="xs:string" use="optional" name="Reason"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Method Summary |
java.lang.String |
getReason()
Get the 'Reason' attribute value. |
void |
setReason(java.lang.String reason)
Set the 'Reason' attribute value. |
Methods inherited from class org.ota.shared.UniqueID |
getCompanyName, getID, getIDContext, getInstance, getType, getURL, setCompanyName, setID, setIDContext, setInstance, setType, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancelRQ.UniqueID
public CancelRQ.UniqueID()
getReason
public java.lang.String getReason()
- Get the 'Reason' attribute value. The reason for the cancellation.
- Returns:
- value
setReason
public void setReason(java.lang.String reason)
- Set the 'Reason' attribute value. The reason for the cancellation.
- Parameters:
reason
-