org.ota.air
Class PriceRS

java.lang.Object
  extended by org.ota.air.PriceRS

public class PriceRS
extends java.lang.Object

The Pricing Response message contains a 'Priced Itinerary'. This includes: - The set of flights sent in the Pricing request message - Pricing information including taxes and full fare breakdown for each passenger type - Ticketing information - Fare Basis Codes and the information necessary to make a Fare Rules entry. This message contains similar information to a standard airline CRS or GDS itinerary pricing response message. 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="OTA_AirPriceRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence maxOccurs="2">
         <!-- Reference to inner class Sequence -->
       </xs:sequence>
       <xs:element type="ns:ErrorsType" name="Errors"/>
     </xs:choice>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PriceRS.Sequence
          Schema fragment(s) for this class:
 
Constructor Summary
PriceRS()
           
 
Method Summary
 void addSequence(PriceRS.Sequence item)
          Add a sequence item.
 void clearChoiceSelect()
          Clear the choice selection.
 void clearSequences()
          Remove all sequence items.
 Errors getErrors()
          Get the 'Errors' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 PriceRS.Sequence getSequence(int index)
          Get sequence item by position.
 java.util.List<PriceRS.Sequence> getSequences()
          Get the list of sequence items.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSequence()
          Check if Sequences is current selection for choice.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setSequences(java.util.List<PriceRS.Sequence> list)
          Set the list of sequence items.
 int sizeSequences()
          Get the number of sequence items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceRS

public PriceRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSequence

public boolean ifSequence()
Check if Sequences is current selection for choice.

Returns:
true if selection, false if not

getSequences

public java.util.List<PriceRS.Sequence> getSequences()
Get the list of sequence items.

Returns:
list

setSequences

public void setSequences(java.util.List<PriceRS.Sequence> list)
Set the list of sequence items.

Parameters:
list -

sizeSequences

public int sizeSequences()
Get the number of sequence items.

Returns:
count

addSequence

public void addSequence(PriceRS.Sequence item)
Add a sequence item.

Parameters:
item -

getSequence

public PriceRS.Sequence getSequence(int index)
Get sequence item by position.

Parameters:
index -
Returns:
item

clearSequences

public void clearSequences()
Remove all sequence items.


ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value. A collection of errors that occurred during the processing of a message.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value. A collection of errors that occurred during the processing of a message.

Parameters:
errors -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel messages.

Parameters:
OTAPayloadStdAttributes -