org.ota.air
Class PriceRequestInformation

java.lang.Object
  extended by org.ota.air.PriceRequestInformation
Direct Known Subclasses:
TravelerInfoSummary.PriceRequestInformation

public class PriceRequestInformation
extends java.lang.Object

Identify pricing source, if negotiated fares are requested and if it is a reprice request. 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="PriceRequestInformationType">
   <xs:sequence>
     <xs:element name="NegotiatedFareCode" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class NegotiatedFareCode -->
     </xs:element>
     <xs:element name="RebookOption" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class RebookOption -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PriceRequestAttributes"/>
   <xs:attribute type="ns:CabinType" use="optional" name="CabinType"/>
   <xs:attribute type="xs:string" use="optional" name="TicketingCountry"/>
   <xs:attribute type="xs:string" use="optional" name="OverrideAirlineCode"/>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PriceRequestAttributes">
   <xs:attribute type="xs:string" use="optional" name="FareQualifier"/>
   <xs:attribute type="xs:boolean" use="optional" name="NegotiatedFaresOnly"/>
   <xs:attribute type="xs:string" use="optional" name="CurrencyCode"/>
   <xs:attribute type="ns:PricingSourceType" use="optional" name="PricingSource"/>
   <xs:attribute type="xs:boolean" use="optional" name="Reprice"/>
   <xs:attribute type="xs:string" use="optional" name="ValidatingAirlineCode"/>
   <xs:attribute type="xs:string" use="optional" name="RequestedTicketingDate"/>
   <xs:attribute type="xs:string" use="optional" name="SaleCountry"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class PriceRequestInformation.NegotiatedFareCode
          Contains negotiated fare code information.
static class PriceRequestInformation.RebookOption
          Provides information concerning a flight segment that can be rebooked for a lower fare.
 
Constructor Summary
PriceRequestInformation()
           
 
Method Summary
 void addNegotiatedFareCode(PriceRequestInformation.NegotiatedFareCode item)
          Add a 'NegotiatedFareCode' element item.
 void addRebookOption(PriceRequestInformation.RebookOption item)
          Add a 'RebookOption' element item.
 void clearNegotiatedFareCodes()
          Remove all 'NegotiatedFareCode' element items.
 void clearRebookOptions()
          Remove all 'RebookOption' element items.
 Cabin getCabin()
          Get the 'CabinType' attribute value.
 java.lang.String getCurrencyCode()
          Get the 'CurrencyCode' attribute value.
 java.lang.String getFareQualifier()
          Get the 'FareQualifier' attribute value.
 PriceRequestInformation.NegotiatedFareCode getNegotiatedFareCode(int index)
          Get 'NegotiatedFareCode' element item by position.
 java.util.List<PriceRequestInformation.NegotiatedFareCode> getNegotiatedFareCodes()
          Get the list of 'NegotiatedFareCode' element items.
 java.lang.Boolean getNegotiatedFaresOnly()
          Get the 'NegotiatedFaresOnly' attribute value.
 java.lang.String getOverrideAirlineCode()
          Get the 'OverrideAirlineCode' attribute value.
 PricingSource getPricingSource()
          Get the 'PricingSource' attribute value.
 PriceRequestInformation.RebookOption getRebookOption(int index)
          Get 'RebookOption' element item by position.
 java.util.List<PriceRequestInformation.RebookOption> getRebookOptions()
          Get the list of 'RebookOption' element items.
 java.lang.Boolean getReprice()
          Get the 'Reprice' attribute value.
 java.lang.String getRequestedTicketingDate()
          Get the 'RequestedTicketingDate' attribute value.
 java.lang.String getSaleCountry()
          Get the 'SaleCountry' attribute value.
 java.lang.String getTicketingCountry()
          Get the 'TicketingCountry' attribute value.
 java.lang.String getValidatingAirlineCode()
          Get the 'ValidatingAirlineCode' attribute value.
 void setCabin(Cabin cabin)
          Set the 'CabinType' attribute value.
 void setCurrencyCode(java.lang.String currencyCode)
          Set the 'CurrencyCode' attribute value.
 void setFareQualifier(java.lang.String fareQualifier)
          Set the 'FareQualifier' attribute value.
 void setNegotiatedFareCodes(java.util.List<PriceRequestInformation.NegotiatedFareCode> list)
          Set the list of 'NegotiatedFareCode' element items.
 void setNegotiatedFaresOnly(java.lang.Boolean negotiatedFaresOnly)
          Set the 'NegotiatedFaresOnly' attribute value.
 void setOverrideAirlineCode(java.lang.String overrideAirlineCode)
          Set the 'OverrideAirlineCode' attribute value.
 void setPricingSource(PricingSource pricingSource)
          Set the 'PricingSource' attribute value.
 void setRebookOptions(java.util.List<PriceRequestInformation.RebookOption> list)
          Set the list of 'RebookOption' element items.
 void setReprice(java.lang.Boolean reprice)
          Set the 'Reprice' attribute value.
 void setRequestedTicketingDate(java.lang.String requestedTicketingDate)
          Set the 'RequestedTicketingDate' attribute value.
 void setSaleCountry(java.lang.String saleCountry)
          Set the 'SaleCountry' attribute value.
 void setTicketingCountry(java.lang.String ticketingCountry)
          Set the 'TicketingCountry' attribute value.
 void setValidatingAirlineCode(java.lang.String validatingAirlineCode)
          Set the 'ValidatingAirlineCode' attribute value.
 int sizeNegotiatedFareCodes()
          Get the number of 'NegotiatedFareCode' element items.
 int sizeRebookOptions()
          Get the number of 'RebookOption' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceRequestInformation

public PriceRequestInformation()
Method Detail

getNegotiatedFareCodes

public java.util.List<PriceRequestInformation.NegotiatedFareCode> getNegotiatedFareCodes()
Get the list of 'NegotiatedFareCode' element items.

Returns:
list

setNegotiatedFareCodes

public void setNegotiatedFareCodes(java.util.List<PriceRequestInformation.NegotiatedFareCode> list)
Set the list of 'NegotiatedFareCode' element items.

Parameters:
list -

sizeNegotiatedFareCodes

public int sizeNegotiatedFareCodes()
Get the number of 'NegotiatedFareCode' element items.

Returns:
count

addNegotiatedFareCode

public void addNegotiatedFareCode(PriceRequestInformation.NegotiatedFareCode item)
Add a 'NegotiatedFareCode' element item.

Parameters:
item -

getNegotiatedFareCode

public PriceRequestInformation.NegotiatedFareCode getNegotiatedFareCode(int index)
Get 'NegotiatedFareCode' element item by position.

Parameters:
index -
Returns:
item

clearNegotiatedFareCodes

public void clearNegotiatedFareCodes()
Remove all 'NegotiatedFareCode' element items.


getRebookOptions

public java.util.List<PriceRequestInformation.RebookOption> getRebookOptions()
Get the list of 'RebookOption' element items.

Returns:
list

setRebookOptions

public void setRebookOptions(java.util.List<PriceRequestInformation.RebookOption> list)
Set the list of 'RebookOption' element items.

Parameters:
list -

sizeRebookOptions

public int sizeRebookOptions()
Get the number of 'RebookOption' element items.

Returns:
count

addRebookOption

public void addRebookOption(PriceRequestInformation.RebookOption item)
Add a 'RebookOption' element item.

Parameters:
item -

getRebookOption

public PriceRequestInformation.RebookOption getRebookOption(int index)
Get 'RebookOption' element item by position.

Parameters:
index -
Returns:
item

clearRebookOptions

public void clearRebookOptions()
Remove all 'RebookOption' element items.


getFareQualifier

public java.lang.String getFareQualifier()
Get the 'FareQualifier' attribute value. Used to specify the type of fare required. Refer to OpenTravel Code List Fare Qualifier (FAQ) or use airline industry standard fare codes.

Returns:
value

setFareQualifier

public void setFareQualifier(java.lang.String fareQualifier)
Set the 'FareQualifier' attribute value. Used to specify the type of fare required. Refer to OpenTravel Code List Fare Qualifier (FAQ) or use airline industry standard fare codes.

Parameters:
fareQualifier -

getNegotiatedFaresOnly

public java.lang.Boolean getNegotiatedFaresOnly()
Get the 'NegotiatedFaresOnly' attribute value. Indicator to identify whether or not the price is applicable only to private fares.

Returns:
value

setNegotiatedFaresOnly

public void setNegotiatedFaresOnly(java.lang.Boolean negotiatedFaresOnly)
Set the 'NegotiatedFaresOnly' attribute value. Indicator to identify whether or not the price is applicable only to private fares.

Parameters:
negotiatedFaresOnly -

getCurrencyCode

public java.lang.String getCurrencyCode()
Get the 'CurrencyCode' attribute value. Type of funds preferred for reviewing monetary values, in ISO 4217 codes.

Returns:
value

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Set the 'CurrencyCode' attribute value. Type of funds preferred for reviewing monetary values, in ISO 4217 codes.

Parameters:
currencyCode -

getPricingSource

public PricingSource getPricingSource()
Get the 'PricingSource' attribute value. It can be used to indicate whether the fare is public or private.

Returns:
value

setPricingSource

public void setPricingSource(PricingSource pricingSource)
Set the 'PricingSource' attribute value. It can be used to indicate whether the fare is public or private.

Parameters:
pricingSource -

getReprice

public java.lang.Boolean getReprice()
Get the 'Reprice' attribute value. If true repricing is requested.

Returns:
value

setReprice

public void setReprice(java.lang.Boolean reprice)
Set the 'Reprice' attribute value. If true repricing is requested.

Parameters:
reprice -

getValidatingAirlineCode

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

Returns:
value

setValidatingAirlineCode

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

Parameters:
validatingAirlineCode -

getRequestedTicketingDate

public java.lang.String getRequestedTicketingDate()
Get the 'RequestedTicketingDate' attribute value. The date on which the customer requests the booking to be ticketed.

Returns:
value

setRequestedTicketingDate

public void setRequestedTicketingDate(java.lang.String requestedTicketingDate)
Set the 'RequestedTicketingDate' attribute value. The date on which the customer requests the booking to be ticketed.

Parameters:
requestedTicketingDate -

getSaleCountry

public java.lang.String getSaleCountry()
Get the 'SaleCountry' attribute value. The country in which the booking will be made (sold).

Returns:
value

setSaleCountry

public void setSaleCountry(java.lang.String saleCountry)
Set the 'SaleCountry' attribute value. The country in which the booking will be made (sold).

Parameters:
saleCountry -

getCabin

public Cabin getCabin()
Get the 'CabinType' attribute value. Identifies the type of cabin (i.e., first, business, economy) requested.

Returns:
value

setCabin

public void setCabin(Cabin cabin)
Set the 'CabinType' attribute value. Identifies the type of cabin (i.e., first, business, economy) requested.

Parameters:
cabin -

getTicketingCountry

public java.lang.String getTicketingCountry()
Get the 'TicketingCountry' attribute value. The ISO country code where the ticket will be issued.

Returns:
value

setTicketingCountry

public void setTicketingCountry(java.lang.String ticketingCountry)
Set the 'TicketingCountry' attribute value. The ISO country code where the ticket will be issued.

Parameters:
ticketingCountry -

getOverrideAirlineCode

public java.lang.String getOverrideAirlineCode()
Get the 'OverrideAirlineCode' attribute value. The airline which should be used to override the system selected pricing airline.

Returns:
value

setOverrideAirlineCode

public void setOverrideAirlineCode(java.lang.String overrideAirlineCode)
Set the 'OverrideAirlineCode' attribute value. The airline which should be used to override the system selected pricing airline.

Parameters:
overrideAirlineCode -