|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.Authorization
public class Authorization
Information with which a traveller's identification is verified and/or charges are authorized.ToDo - this types should be moved to OTA_CommonTypes. It's required in a common types file, since the both AuthRQ/RS use it. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AuthorizationType">
<xs:sequence>
<xs:choice>
<xs:element name="CheckAuthorization" minOccurs="0">
<!-- Reference to inner class CheckAuthorization -->
</xs:element>
<xs:element name="CreditCardAuthorization" minOccurs="0">
<!-- Reference to inner class CreditCardAuthorization -->
</xs:element>
<xs:element name="AccountAuthorization" minOccurs="0">
<!-- Reference to inner class AccountAuthorization -->
</xs:element>
</xs:choice>
<xs:element type="ns:DocumentType" name="DriversLicenseAuthorization" minOccurs="0"/>
<xs:element name="BookingReferenceID" minOccurs="0">
<!-- Reference to inner class BookingReferenceID -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="PrincipalCompanyCode"/>
<xs:attribute type="xs:string" use="optional" name="RefNumber"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
Authorization.AccountAuthorization
Specifies account information about the customer seeking authorization. |
static class |
Authorization.BookingReferenceID
The booking or confirmation number for which charges are being authorized. |
static class |
Authorization.CheckAuthorization
Specifies check information about the customer seeking authorization. |
static class |
Authorization.CreditCardAuthorization
Specifies credit card information about the customer seeking authorization. |
| Constructor Summary | |
|---|---|
Authorization()
|
|
| Method Summary | |
|---|---|
void |
clearChoiceSelect()
Clear the choice selection. |
Authorization.AccountAuthorization |
getAccountAuthorization()
Get the 'AccountAuthorization' element value. |
Authorization.BookingReferenceID |
getBookingReferenceID()
Get the 'BookingReferenceID' element value. |
Authorization.CheckAuthorization |
getCheckAuthorization()
Get the 'CheckAuthorization' element value. |
Authorization.CreditCardAuthorization |
getCreditCardAuthorization()
Get the 'CreditCardAuthorization' element value. |
Document |
getDriversLicenseAuthorization()
Get the 'DriversLicenseAuthorization' element value. |
java.lang.String |
getPrincipalCompanyCode()
Get the 'PrincipalCompanyCode' attribute value. |
java.lang.String |
getRefNumber()
Get the 'RefNumber' attribute value. |
boolean |
ifAccountAuthorization()
Check if AccountAuthorization is current selection for choice. |
boolean |
ifCheckAuthorization()
Check if CheckAuthorization is current selection for choice. |
boolean |
ifCreditCardAuthorization()
Check if CreditCardAuthorization is current selection for choice. |
void |
setAccountAuthorization(Authorization.AccountAuthorization accountAuthorization)
Set the 'AccountAuthorization' element value. |
void |
setBookingReferenceID(Authorization.BookingReferenceID bookingReferenceID)
Set the 'BookingReferenceID' element value. |
void |
setCheckAuthorization(Authorization.CheckAuthorization checkAuthorization)
Set the 'CheckAuthorization' element value. |
void |
setCreditCardAuthorization(Authorization.CreditCardAuthorization creditCardAuthorization)
Set the 'CreditCardAuthorization' element value. |
void |
setDriversLicenseAuthorization(Document driversLicenseAuthorization)
Set the 'DriversLicenseAuthorization' element value. |
void |
setPrincipalCompanyCode(java.lang.String principalCompanyCode)
Set the 'PrincipalCompanyCode' attribute value. |
void |
setRefNumber(java.lang.String refNumber)
Set the 'RefNumber' attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authorization()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifCheckAuthorization()
true if selection, false if notpublic Authorization.CheckAuthorization getCheckAuthorization()
public void setCheckAuthorization(Authorization.CheckAuthorization checkAuthorization)
checkAuthorization - public boolean ifCreditCardAuthorization()
true if selection, false if notpublic Authorization.CreditCardAuthorization getCreditCardAuthorization()
public void setCreditCardAuthorization(Authorization.CreditCardAuthorization creditCardAuthorization)
creditCardAuthorization - public boolean ifAccountAuthorization()
true if selection, false if notpublic Authorization.AccountAuthorization getAccountAuthorization()
public void setAccountAuthorization(Authorization.AccountAuthorization accountAuthorization)
accountAuthorization - public Document getDriversLicenseAuthorization()
public void setDriversLicenseAuthorization(Document driversLicenseAuthorization)
driversLicenseAuthorization - public Authorization.BookingReferenceID getBookingReferenceID()
public void setBookingReferenceID(Authorization.BookingReferenceID bookingReferenceID)
bookingReferenceID - public java.lang.String getPrincipalCompanyCode()
public void setPrincipalCompanyCode(java.lang.String principalCompanyCode)
principalCompanyCode - public java.lang.String getRefNumber()
public void setRefNumber(java.lang.String refNumber)
refNumber -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||