org.ota.air
Class FareInfo.FareReference

java.lang.Object
  extended by org.ota.air.FareInfo.FareReference
Enclosing class:
FareInfo

public static class FareInfo.FareReference
extends java.lang.Object

Used to provide the fare basis code, the fare class code, and/or ticket designator. 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="FareReference" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="optional" name="ResBookDesigCode"/>
         <xs:attribute type="xs:string" use="optional" name="TicketDesignatorCode"/>
         <xs:attribute type="xs:string" use="optional" name="AccountCode"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FareInfo.FareReference()
           
 
Method Summary
 java.lang.String getAccountCode()
          Get the 'AccountCode' attribute value.
 java.lang.String getResBookDesigCode()
          Get the 'ResBookDesigCode' attribute value.
 java.lang.String getString()
          Get the extension value.
 java.lang.String getTicketDesignatorCode()
          Get the 'TicketDesignatorCode' attribute value.
 void setAccountCode(java.lang.String accountCode)
          Set the 'AccountCode' attribute value.
 void setResBookDesigCode(java.lang.String resBookDesigCode)
          Set the 'ResBookDesigCode' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setTicketDesignatorCode(java.lang.String ticketDesignatorCode)
          Set the 'TicketDesignatorCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareInfo.FareReference

public FareInfo.FareReference()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getResBookDesigCode

public java.lang.String getResBookDesigCode()
Get the 'ResBookDesigCode' attribute value. Identifies the class of service for the specified fare basis code.

Returns:
value

setResBookDesigCode

public void setResBookDesigCode(java.lang.String resBookDesigCode)
Set the 'ResBookDesigCode' attribute value. Identifies the class of service for the specified fare basis code.

Parameters:
resBookDesigCode -

getTicketDesignatorCode

public java.lang.String getTicketDesignatorCode()
Get the 'TicketDesignatorCode' attribute value. Specifies the discount code applicable to the fare that is associated with this fare basis code.

Returns:
value

setTicketDesignatorCode

public void setTicketDesignatorCode(java.lang.String ticketDesignatorCode)
Set the 'TicketDesignatorCode' attribute value. Specifies the discount code applicable to the fare that is associated with this fare basis code.

Parameters:
ticketDesignatorCode -

getAccountCode

public java.lang.String getAccountCode()
Get the 'AccountCode' attribute value. A code to uniquely identify a fare account.

Returns:
value

setAccountCode

public void setAccountCode(java.lang.String accountCode)
Set the 'AccountCode' attribute value. A code to uniquely identify a fare account.

Parameters:
accountCode -