org.ota.air
Class PricedItineraries.PricedItinerary

java.lang.Object
  extended by org.ota.air.PricedItineraries.PricedItinerary
Enclosing class:
PricedItineraries

public static class PricedItineraries.PricedItinerary
extends java.lang.Object

Itinerary with pricing information. 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="PricedItinerary" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:PricedItineraryType">
         <xs:attribute type="xs:int" use="optional" name="OriginDestinationRefNumber"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PricedItineraryType">
   <xs:sequence>
     <xs:element type="ns:AirItineraryType" name="AirItinerary" minOccurs="0"/>
     <xs:element name="AirItineraryPricingInfo" minOccurs="0">
       <!-- Reference to inner class AirItineraryPricingInfo -->
     </xs:element>
     <xs:element type="ns:FreeTextType" name="Notes" minOccurs="0" maxOccurs="5"/>
     <xs:element name="TicketingInfo" minOccurs="0">
       <!-- Reference to inner class TicketingInfo -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="SequenceNumber"/>
   <xs:attribute type="xs:string" use="optional" name="PriceType"/>
   <xs:attribute type="xs:float" use="optional" name="NUC_Rate"/>
   <xs:attribute type="xs:float" use="optional" name="ExchangeRate"/>
 </xs:complexType>
 


Nested Class Summary
static class PricedItineraries.PricedItinerary.AirItineraryPricingInfo
          Pricing Information for an Air Itinerary.
static class PricedItineraries.PricedItinerary.TicketingInfo
          Container for TicketingInfoRS_Type.
 
Constructor Summary
PricedItineraries.PricedItinerary()
           
 
Method Summary
 void addNote(FreeText item)
          Add a 'Notes' element item.
 void clearNotes()
          Remove all 'Notes' element items.
 AirItinerary getAirItinerary()
          Get the 'AirItinerary' element value.
 PricedItineraries.PricedItinerary.AirItineraryPricingInfo getAirItineraryPricingInfo()
          Get the 'AirItineraryPricingInfo' element value.
 java.lang.Float getExchangeRate()
          Get the 'ExchangeRate' attribute value.
 FreeText getNote(int index)
          Get 'Notes' element item by position.
 java.util.List<FreeText> getNotes()
          Get the list of 'Notes' element items.
 java.lang.Float getNUCRate()
          Get the 'NUC_Rate' attribute value.
 java.lang.Integer getOriginDestinationRefNumber()
          Get the 'OriginDestinationRefNumber' attribute value.
 java.lang.String getPrice()
          Get the 'PriceType' attribute value.
 java.lang.String getSequenceNumber()
          Get the 'SequenceNumber' attribute value.
 PricedItineraries.PricedItinerary.TicketingInfo getTicketingInfo()
          Get the 'TicketingInfo' element value.
 void setAirItinerary(AirItinerary airItinerary)
          Set the 'AirItinerary' element value.
 void setAirItineraryPricingInfo(PricedItineraries.PricedItinerary.AirItineraryPricingInfo airItineraryPricingInfo)
          Set the 'AirItineraryPricingInfo' element value.
 void setExchangeRate(java.lang.Float exchangeRate)
          Set the 'ExchangeRate' attribute value.
 void setNotes(java.util.List<FreeText> list)
          Set the list of 'Notes' element items.
 void setNUCRate(java.lang.Float NUCRate)
          Set the 'NUC_Rate' attribute value.
 void setOriginDestinationRefNumber(java.lang.Integer originDestinationRefNumber)
          Set the 'OriginDestinationRefNumber' attribute value.
 void setPrice(java.lang.String price)
          Set the 'PriceType' attribute value.
 void setSequenceNumber(java.lang.String sequenceNumber)
          Set the 'SequenceNumber' attribute value.
 void setTicketingInfo(PricedItineraries.PricedItinerary.TicketingInfo ticketingInfo)
          Set the 'TicketingInfo' element value.
 int sizeNotes()
          Get the number of 'Notes' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PricedItineraries.PricedItinerary

public PricedItineraries.PricedItinerary()
Method Detail

getAirItinerary

public AirItinerary getAirItinerary()
Get the 'AirItinerary' element value. Specifies the origin and destination of the traveler. Attributes: DirectionInd - A directional indicator that identifies a type of air booking, either one-way, round-trip, or open-jaw with the enumeration of (OneWay | RT | OpenJaw) respectively. ActionCode - Indicates the status of the booking, such as OK or Wait-List. NumberInParty - Indicates the traveler count.

Returns:
value

setAirItinerary

public void setAirItinerary(AirItinerary airItinerary)
Set the 'AirItinerary' element value. Specifies the origin and destination of the traveler. Attributes: DirectionInd - A directional indicator that identifies a type of air booking, either one-way, round-trip, or open-jaw with the enumeration of (OneWay | RT | OpenJaw) respectively. ActionCode - Indicates the status of the booking, such as OK or Wait-List. NumberInParty - Indicates the traveler count.

Parameters:
airItinerary -

getAirItineraryPricingInfo

public PricedItineraries.PricedItinerary.AirItineraryPricingInfo getAirItineraryPricingInfo()
Get the 'AirItineraryPricingInfo' element value. Itinerary with pricing information.

Returns:
value

setAirItineraryPricingInfo

public void setAirItineraryPricingInfo(PricedItineraries.PricedItinerary.AirItineraryPricingInfo airItineraryPricingInfo)
Set the 'AirItineraryPricingInfo' element value. Itinerary with pricing information.

Parameters:
airItineraryPricingInfo -

getNotes

public java.util.List<FreeText> getNotes()
Get the list of 'Notes' element items. Provides for free form descriptive information for the priced itinerary.

Returns:
list

setNotes

public void setNotes(java.util.List<FreeText> list)
Set the list of 'Notes' element items. Provides for free form descriptive information for the priced itinerary.

Parameters:
list -

sizeNotes

public int sizeNotes()
Get the number of 'Notes' element items.

Returns:
count

addNote

public void addNote(FreeText item)
Add a 'Notes' element item.

Parameters:
item -

getNote

public FreeText getNote(int index)
Get 'Notes' element item by position.

Parameters:
index -
Returns:
item

clearNotes

public void clearNotes()
Remove all 'Notes' element items.


getTicketingInfo

public PricedItineraries.PricedItinerary.TicketingInfo getTicketingInfo()
Get the 'TicketingInfo' element value. Itinerary with pricing information.

Returns:
value

setTicketingInfo

public void setTicketingInfo(PricedItineraries.PricedItinerary.TicketingInfo ticketingInfo)
Set the 'TicketingInfo' element value. Itinerary with pricing information.

Parameters:
ticketingInfo -

getSequenceNumber

public java.lang.String getSequenceNumber()
Get the 'SequenceNumber' attribute value. Assigns a number to priced itineraries.

Returns:
value

setSequenceNumber

public void setSequenceNumber(java.lang.String sequenceNumber)
Set the 'SequenceNumber' attribute value. Assigns a number to priced itineraries.

Parameters:
sequenceNumber -

getPrice

public java.lang.String getPrice()
Get the 'PriceType' attribute value. Specifies how the pricing was done.

Returns:
value

setPrice

public void setPrice(java.lang.String price)
Set the 'PriceType' attribute value. Specifies how the pricing was done.

Parameters:
price -

getNUCRate

public java.lang.Float getNUCRate()
Get the 'NUC_Rate' attribute value. The neutral unit currency rate.

Returns:
value

setNUCRate

public void setNUCRate(java.lang.Float NUCRate)
Set the 'NUC_Rate' attribute value. The neutral unit currency rate.

Parameters:
NUCRate -

getExchangeRate

public java.lang.Float getExchangeRate()
Get the 'ExchangeRate' attribute value. The currency exchange rate.

Returns:
value

setExchangeRate

public void setExchangeRate(java.lang.Float exchangeRate)
Set the 'ExchangeRate' attribute value. The currency exchange rate.

Parameters:
exchangeRate -

getOriginDestinationRefNumber

public java.lang.Integer getOriginDestinationRefNumber()
Get the 'OriginDestinationRefNumber' attribute value. This attribute refers back to origin destination information in the OTA_AirLowFareSearchRQ message.

Returns:
value

setOriginDestinationRefNumber

public void setOriginDestinationRefNumber(java.lang.Integer originDestinationRefNumber)
Set the 'OriginDestinationRefNumber' attribute value. This attribute refers back to origin destination information in the OTA_AirLowFareSearchRQ message.

Parameters:
originDestinationRefNumber -