org.ota.air
Class BookRQ.PriceInfo

java.lang.Object
  extended by org.ota.air.AirItineraryPricingInfo
      extended by org.ota.air.BookingPriceInfo
          extended by org.ota.air.BookRQ.PriceInfo
Enclosing class:
BookRQ

public static class BookRQ.PriceInfo
extends BookingPriceInfo

Pricing information for the air itinerary to be booked e.g. this data could come from the OTA_AirPriceRS data. 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="PriceInfo" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:BookingPriceInfoType">
         <xs:sequence>
           <xs:element name="PricingPref" minOccurs="0" maxOccurs="10">
             <xs:complexType>
               <xs:attributeGroup ref="ns:PricingInfoGroup"/>
             </xs:complexType>
           </xs:element>
         </xs:sequence>
         <xs:attribute type="xs:string" use="optional" name="ParticipationLevel"/>
         <xs:attribute type="xs:boolean" use="optional" name="ExpandedPricingInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.air.AirItineraryPricingInfo
AirItineraryPricingInfo.FareInfos, AirItineraryPricingInfo.ItinTotalFare, AirItineraryPricingInfo.PTCFareBreakdowns
 
Constructor Summary
BookRQ.PriceInfo()
           
 
Method Summary
 void addPricingPref(PricingInfoGroup item)
          Add a 'PricingPref' element item.
 void clearPricingPrefs()
          Remove all 'PricingPref' element items.
 java.lang.Boolean getExpandedPricingInd()
          Get the 'ExpandedPricingInd' attribute value.
 java.lang.String getParticipationLevel()
          Get the 'ParticipationLevel' attribute value.
 PricingInfoGroup getPricingPref(int index)
          Get 'PricingPref' element item by position.
 java.util.List<PricingInfoGroup> getPricingPrefs()
          Get the list of 'PricingPref' element items.
 void setExpandedPricingInd(java.lang.Boolean expandedPricingInd)
          Set the 'ExpandedPricingInd' attribute value.
 void setParticipationLevel(java.lang.String participationLevel)
          Set the 'ParticipationLevel' attribute value.
 void setPricingPrefs(java.util.List<PricingInfoGroup> list)
          Set the list of 'PricingPref' element items.
 int sizePricingPrefs()
          Get the number of 'PricingPref' element items.
 
Methods inherited from class org.ota.air.BookingPriceInfo
getRepriceRequired, setRepriceRequired
 
Methods inherited from class org.ota.air.AirItineraryPricingInfo
addItinTotalFare, clearItinTotalFares, getFareInfos, getItinTotalFare, getItinTotalFares, getPriceRequestInformation, getPricingSource, getPTCFareBreakdowns1, getQuoteID, getValidatingAirlineCode, setFareInfos, setItinTotalFares, setPriceRequestInformation, setPricingSource, setPTCFareBreakdowns1, setQuoteID, setValidatingAirlineCode, sizeItinTotalFares
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookRQ.PriceInfo

public BookRQ.PriceInfo()
Method Detail

getPricingPrefs

public java.util.List<PricingInfoGroup> getPricingPrefs()
Get the list of 'PricingPref' element items. Identifies a pricing preference for this booking.

Returns:
list

setPricingPrefs

public void setPricingPrefs(java.util.List<PricingInfoGroup> list)
Set the list of 'PricingPref' element items. Identifies a pricing preference for this booking.

Parameters:
list -

sizePricingPrefs

public int sizePricingPrefs()
Get the number of 'PricingPref' element items.

Returns:
count

addPricingPref

public void addPricingPref(PricingInfoGroup item)
Add a 'PricingPref' element item.

Parameters:
item -

getPricingPref

public PricingInfoGroup getPricingPref(int index)
Get 'PricingPref' element item by position.

Parameters:
index -
Returns:
item

clearPricingPrefs

public void clearPricingPrefs()
Remove all 'PricingPref' element items.


getParticipationLevel

public java.lang.String getParticipationLevel()
Get the 'ParticipationLevel' attribute value. To specify the level of participation by a vendor in another system. Refer to OpenTravel Code List 'Participation Level Code' (PLC)

Returns:
value

setParticipationLevel

public void setParticipationLevel(java.lang.String participationLevel)
Set the 'ParticipationLevel' attribute value. To specify the level of participation by a vendor in another system. Refer to OpenTravel Code List 'Participation Level Code' (PLC)

Parameters:
participationLevel -

getExpandedPricingInd

public java.lang.Boolean getExpandedPricingInd()
Get the 'ExpandedPricingInd' attribute value. When true, should return expanded pricing that may include up to 99 taxes and/or service fees.

Returns:
value

setExpandedPricingInd

public void setExpandedPricingInd(java.lang.Boolean expandedPricingInd)
Set the 'ExpandedPricingInd' attribute value. When true, should return expanded pricing that may include up to 99 taxes and/or service fees.

Parameters:
expandedPricingInd -