org.ota.air
Class AirReservation.PricingOverview

java.lang.Object
  extended by org.ota.air.AirReservation.PricingOverview
Enclosing class:
AirReservation

public static class AirReservation.PricingOverview
extends java.lang.Object

Information applicable to the pricing of the reservation. 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="PricingOverview" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PricingIndicator" minOccurs="0" maxOccurs="5">
         <xs:complexType>
           <xs:attributeGroup ref="ns:PricingInfoGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="Account" minOccurs="0" maxOccurs="5">
         <!-- Reference to inner class Account -->
       </xs:element>
       <xs:element type="ns:FreeTextType" name="Comment" minOccurs="0" maxOccurs="10"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="StatisticalCode"/>
     <xs:attribute type="xs:string" use="optional" name="ValidatingAirlineCode"/>
     <xs:attribute type="xs:string" use="optional" name="DepartureDate"/>
     <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>
 </xs:element>
 


Nested Class Summary
static class AirReservation.PricingOverview.Account
          Specifies an account code applicable to the pricing and reservation.
 
Constructor Summary
AirReservation.PricingOverview()
           
 
Method Summary
 void addAccount(AirReservation.PricingOverview.Account item)
          Add a 'Account' element item.
 void addComment(FreeText item)
          Add a 'Comment' element item.
 void addPricingIndicator(PricingInfoGroup item)
          Add a 'PricingIndicator' element item.
 void clearAccounts()
          Remove all 'Account' element items.
 void clearComments()
          Remove all 'Comment' element items.
 void clearPricingIndicators()
          Remove all 'PricingIndicator' element items.
 AirReservation.PricingOverview.Account getAccount(int index)
          Get 'Account' element item by position.
 java.util.List<AirReservation.PricingOverview.Account> getAccounts()
          Get the list of 'Account' element items.
 FreeText getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<FreeText> getComments()
          Get the list of 'Comment' element items.
 java.lang.String getDepartureDate()
          Get the 'DepartureDate' attribute value.
 java.lang.Float getExchangeRate()
          Get the 'ExchangeRate' attribute value.
 java.lang.Float getNUCRate()
          Get the 'NUC_Rate' attribute value.
 java.lang.String getPrice()
          Get the 'PriceType' attribute value.
 PricingInfoGroup getPricingIndicator(int index)
          Get 'PricingIndicator' element item by position.
 java.util.List<PricingInfoGroup> getPricingIndicators()
          Get the list of 'PricingIndicator' element items.
 java.lang.String getStatisticalCode()
          Get the 'StatisticalCode' attribute value.
 java.lang.String getValidatingAirlineCode()
          Get the 'ValidatingAirlineCode' attribute value.
 void setAccounts(java.util.List<AirReservation.PricingOverview.Account> list)
          Set the list of 'Account' element items.
 void setComments(java.util.List<FreeText> list)
          Set the list of 'Comment' element items.
 void setDepartureDate(java.lang.String departureDate)
          Set the 'DepartureDate' attribute value.
 void setExchangeRate(java.lang.Float exchangeRate)
          Set the 'ExchangeRate' attribute value.
 void setNUCRate(java.lang.Float NUCRate)
          Set the 'NUC_Rate' attribute value.
 void setPrice(java.lang.String price)
          Set the 'PriceType' attribute value.
 void setPricingIndicators(java.util.List<PricingInfoGroup> list)
          Set the list of 'PricingIndicator' element items.
 void setStatisticalCode(java.lang.String statisticalCode)
          Set the 'StatisticalCode' attribute value.
 void setValidatingAirlineCode(java.lang.String validatingAirlineCode)
          Set the 'ValidatingAirlineCode' attribute value.
 int sizeAccounts()
          Get the number of 'Account' element items.
 int sizeComments()
          Get the number of 'Comment' element items.
 int sizePricingIndicators()
          Get the number of 'PricingIndicator' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirReservation.PricingOverview

public AirReservation.PricingOverview()
Method Detail

getPricingIndicators

public java.util.List<PricingInfoGroup> getPricingIndicators()
Get the list of 'PricingIndicator' element items. Specific information about the price.

Returns:
list

setPricingIndicators

public void setPricingIndicators(java.util.List<PricingInfoGroup> list)
Set the list of 'PricingIndicator' element items. Specific information about the price.

Parameters:
list -

sizePricingIndicators

public int sizePricingIndicators()
Get the number of 'PricingIndicator' element items.

Returns:
count

addPricingIndicator

public void addPricingIndicator(PricingInfoGroup item)
Add a 'PricingIndicator' element item.

Parameters:
item -

getPricingIndicator

public PricingInfoGroup getPricingIndicator(int index)
Get 'PricingIndicator' element item by position.

Parameters:
index -
Returns:
item

clearPricingIndicators

public void clearPricingIndicators()
Remove all 'PricingIndicator' element items.


getAccounts

public java.util.List<AirReservation.PricingOverview.Account> getAccounts()
Get the list of 'Account' element items.

Returns:
list

setAccounts

public void setAccounts(java.util.List<AirReservation.PricingOverview.Account> list)
Set the list of 'Account' element items.

Parameters:
list -

sizeAccounts

public int sizeAccounts()
Get the number of 'Account' element items.

Returns:
count

addAccount

public void addAccount(AirReservation.PricingOverview.Account item)
Add a 'Account' element item.

Parameters:
item -

getAccount

public AirReservation.PricingOverview.Account getAccount(int index)
Get 'Account' element item by position.

Parameters:
index -
Returns:
item

clearAccounts

public void clearAccounts()
Remove all 'Account' element items.


getComments

public java.util.List<FreeText> getComments()
Get the list of 'Comment' element items. A comment applicable to all the pricing information.

Returns:
list

setComments

public void setComments(java.util.List<FreeText> list)
Set the list of 'Comment' element items. A comment applicable to all the pricing information.

Parameters:
list -

sizeComments

public int sizeComments()
Get the number of 'Comment' element items.

Returns:
count

addComment

public void addComment(FreeText item)
Add a 'Comment' element item.

Parameters:
item -

getComment

public FreeText getComment(int index)
Get 'Comment' element item by position.

Parameters:
index -
Returns:
item

clearComments

public void clearComments()
Remove all 'Comment' element items.


getStatisticalCode

public java.lang.String getStatisticalCode()
Get the 'StatisticalCode' attribute value. Used for domestic or international sales differentiation.

Returns:
value

setStatisticalCode

public void setStatisticalCode(java.lang.String statisticalCode)
Set the 'StatisticalCode' attribute value. Used for domestic or international sales differentiation.

Parameters:
statisticalCode -

getValidatingAirlineCode

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

Returns:
value

setValidatingAirlineCode

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

Parameters:
validatingAirlineCode -

getDepartureDate

public java.lang.String getDepartureDate()
Get the 'DepartureDate' attribute value. The departure date of the first leg of the booked itinerary.

Returns:
value

setDepartureDate

public void setDepartureDate(java.lang.String departureDate)
Set the 'DepartureDate' attribute value. The departure date of the first leg of the booked itinerary.

Parameters:
departureDate -

getPrice

public java.lang.String getPrice()
Get the 'PriceType' attribute value. Used to specify the type of price.

Returns:
value

setPrice

public void setPrice(java.lang.String price)
Set the 'PriceType' attribute value. Used to specify the type of price.

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 -