org.ota.misc
Class AuthorizationRS.Authorization

java.lang.Object
  extended by org.ota.misc.AuthorizationRS.Authorization
Enclosing class:
AuthorizationRS

public static class AuthorizationRS.Authorization
extends java.lang.Object

Response information to an authorization 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="Authorization" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:AuthorizationType" name="AuthorizationDetail" minOccurs="0"/>
       <xs:element name="AuthorizationResult" minOccurs="0">
         <!-- Reference to inner class AuthorizationResult -->
       </xs:element>
       <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
       <xs:element type="ns:CommentType" name="Comments" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AuthorizationRS.Authorization.AuthorizationResult
          Result information from the authorization process.
 
Constructor Summary
AuthorizationRS.Authorization()
           
 
Method Summary
 Authorization getAuthorizationDetail()
          Get the 'AuthorizationDetail' element value.
 AuthorizationRS.Authorization.AuthorizationResult getAuthorizationResult()
          Get the 'AuthorizationResult' element value.
 Comment getComments()
          Get the 'Comments' element value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 void setAuthorizationDetail(Authorization authorizationDetail)
          Set the 'AuthorizationDetail' element value.
 void setAuthorizationResult(AuthorizationRS.Authorization.AuthorizationResult authorizationResult)
          Set the 'AuthorizationResult' element value.
 void setComments(Comment comments)
          Set the 'Comments' element value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationRS.Authorization

public AuthorizationRS.Authorization()
Method Detail

getAuthorizationDetail

public Authorization getAuthorizationDetail()
Get the 'AuthorizationDetail' element value. The original authorization request information.

Returns:
value

setAuthorizationDetail

public void setAuthorizationDetail(Authorization authorizationDetail)
Set the 'AuthorizationDetail' element value. The original authorization request information.

Parameters:
authorizationDetail -

getAuthorizationResult

public AuthorizationRS.Authorization.AuthorizationResult getAuthorizationResult()
Get the 'AuthorizationResult' element value.

Returns:
value

setAuthorizationResult

public void setAuthorizationResult(AuthorizationRS.Authorization.AuthorizationResult authorizationResult)
Set the 'AuthorizationResult' element value.

Parameters:
authorizationResult -

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. Defines one or more business errors for this authorization.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. Defines one or more business errors for this authorization.

Parameters:
warnings -

getComments

public Comment getComments()
Get the 'Comments' element value. A collection of comments associated with the authorization information.

Returns:
value

setComments

public void setComments(Comment comments)
Set the 'Comments' element value. A collection of comments associated with the authorization information.

Parameters:
comments -