org.ota.air
Class AirItineraryPricingInfo

java.lang.Object
  extended by org.ota.air.AirItineraryPricingInfo
Direct Known Subclasses:
AirComponent.AirItineraryPricingInfo, BookingPriceInfo, PricedItineraries.PricedItinerary.AirItineraryPricingInfo

public class AirItineraryPricingInfo
extends java.lang.Object

Pricing Information for an Air Itinerary 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="AirItineraryPricingInfoType">
   <xs:sequence>
     <xs:element name="ItinTotalFare" minOccurs="0" maxOccurs="2">
       <!-- Reference to inner class ItinTotalFare -->
     </xs:element>
     <xs:element name="PTC_FareBreakdowns" minOccurs="0">
       <!-- Reference to inner class PTCFareBreakdowns -->
     </xs:element>
     <xs:element name="FareInfos" minOccurs="0">
       <!-- Reference to inner class FareInfos -->
     </xs:element>
     <xs:element type="ns:PriceRequestInformationType" name="PriceRequestInformation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="ns:PricingSourceType" use="optional" name="PricingSource"/>
   <xs:attribute type="xs:string" use="optional" name="ValidatingAirlineCode"/>
   <xs:attribute type="xs:string" use="optional" name="QuoteID"/>
 </xs:complexType>
 


Nested Class Summary
static class AirItineraryPricingInfo.FareInfos
          This is a collection of FareInfo Schema fragment(s) for this class:
static class AirItineraryPricingInfo.ItinTotalFare
          Total price of the itinerary Schema fragment(s) for this class:
static class AirItineraryPricingInfo.PTCFareBreakdowns
          This is a collection of PTC Fare Breakdowns Schema fragment(s) for this class:
 
Constructor Summary
AirItineraryPricingInfo()
           
 
Method Summary
 void addItinTotalFare(AirItineraryPricingInfo.ItinTotalFare item)
          Add a 'ItinTotalFare' element item.
 void clearItinTotalFares()
          Remove all 'ItinTotalFare' element items.
 AirItineraryPricingInfo.FareInfos getFareInfos()
          Get the 'FareInfos' element value.
 AirItineraryPricingInfo.ItinTotalFare getItinTotalFare(int index)
          Get 'ItinTotalFare' element item by position.
 java.util.List<AirItineraryPricingInfo.ItinTotalFare> getItinTotalFares()
          Get the list of 'ItinTotalFare' element items.
 PriceRequestInformation getPriceRequestInformation()
          Get the 'PriceRequestInformation' element value.
 PricingSource getPricingSource()
          Get the 'PricingSource' attribute value.
 AirItineraryPricingInfo.PTCFareBreakdowns getPTCFareBreakdowns1()
          Get the 'PTC_FareBreakdowns' element value.
 java.lang.String getQuoteID()
          Get the 'QuoteID' attribute value.
 java.lang.String getValidatingAirlineCode()
          Get the 'ValidatingAirlineCode' attribute value.
 void setFareInfos(AirItineraryPricingInfo.FareInfos fareInfos)
          Set the 'FareInfos' element value.
 void setItinTotalFares(java.util.List<AirItineraryPricingInfo.ItinTotalFare> list)
          Set the list of 'ItinTotalFare' element items.
 void setPriceRequestInformation(PriceRequestInformation priceRequestInformation)
          Set the 'PriceRequestInformation' element value.
 void setPricingSource(PricingSource pricingSource)
          Set the 'PricingSource' attribute value.
 void setPTCFareBreakdowns1(AirItineraryPricingInfo.PTCFareBreakdowns PTCFareBreakdowns1)
          Set the 'PTC_FareBreakdowns' element value.
 void setQuoteID(java.lang.String quoteID)
          Set the 'QuoteID' attribute value.
 void setValidatingAirlineCode(java.lang.String validatingAirlineCode)
          Set the 'ValidatingAirlineCode' attribute value.
 int sizeItinTotalFares()
          Get the number of 'ItinTotalFare' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirItineraryPricingInfo

public AirItineraryPricingInfo()
Method Detail

getItinTotalFares

public java.util.List<AirItineraryPricingInfo.ItinTotalFare> getItinTotalFares()
Get the list of 'ItinTotalFare' element items.

Returns:
list

setItinTotalFares

public void setItinTotalFares(java.util.List<AirItineraryPricingInfo.ItinTotalFare> list)
Set the list of 'ItinTotalFare' element items.

Parameters:
list -

sizeItinTotalFares

public int sizeItinTotalFares()
Get the number of 'ItinTotalFare' element items.

Returns:
count

addItinTotalFare

public void addItinTotalFare(AirItineraryPricingInfo.ItinTotalFare item)
Add a 'ItinTotalFare' element item.

Parameters:
item -

getItinTotalFare

public AirItineraryPricingInfo.ItinTotalFare getItinTotalFare(int index)
Get 'ItinTotalFare' element item by position.

Parameters:
index -
Returns:
item

clearItinTotalFares

public void clearItinTotalFares()
Remove all 'ItinTotalFare' element items.


getPTCFareBreakdowns1

public AirItineraryPricingInfo.PTCFareBreakdowns getPTCFareBreakdowns1()
Get the 'PTC_FareBreakdowns' element value.

Returns:
value

setPTCFareBreakdowns1

public void setPTCFareBreakdowns1(AirItineraryPricingInfo.PTCFareBreakdowns PTCFareBreakdowns1)
Set the 'PTC_FareBreakdowns' element value.

Parameters:
PTCFareBreakdowns1 -

getFareInfos

public AirItineraryPricingInfo.FareInfos getFareInfos()
Get the 'FareInfos' element value.

Returns:
value

setFareInfos

public void setFareInfos(AirItineraryPricingInfo.FareInfos fareInfos)
Set the 'FareInfos' element value.

Parameters:
fareInfos -

getPriceRequestInformation

public PriceRequestInformation getPriceRequestInformation()
Get the 'PriceRequestInformation' element value. Identifies pricing source, if negotiated fares are requested and if it is a reprice request.

Returns:
value

setPriceRequestInformation

public void setPriceRequestInformation(PriceRequestInformation priceRequestInformation)
Set the 'PriceRequestInformation' element value. Identifies pricing source, if negotiated fares are requested and if it is a reprice request.

Parameters:
priceRequestInformation -

getPricingSource

public PricingSource getPricingSource()
Get the 'PricingSource' attribute value. Used to indicate whether the pricing is public or private

Returns:
value

setPricingSource

public void setPricingSource(PricingSource pricingSource)
Set the 'PricingSource' attribute value. Used to indicate whether the pricing is public or private

Parameters:
pricingSource -

getValidatingAirlineCode

public java.lang.String getValidatingAirlineCode()
Get the 'ValidatingAirlineCode' attribute value. The code of the validating airline.

Returns:
value

setValidatingAirlineCode

public void setValidatingAirlineCode(java.lang.String validatingAirlineCode)
Set the 'ValidatingAirlineCode' attribute value. The code of the validating airline.

Parameters:
validatingAirlineCode -

getQuoteID

public java.lang.String getQuoteID()
Get the 'QuoteID' attribute value. A text field used to provide a special ID code that is associated with the priced itinerary that may be used in the reservation request in order to obtain the quoted rate.

Returns:
value

setQuoteID

public void setQuoteID(java.lang.String quoteID)
Set the 'QuoteID' attribute value. A text field used to provide a special ID code that is associated with the priced itinerary that may be used in the reservation request in order to obtain the quoted rate.

Parameters:
quoteID -