org.ota.pkg
Class CostRQ

java.lang.Object
  extended by org.ota.pkg.CostRQ

public class CostRQ
extends java.lang.Object

A request for a costing of a specific profile of a package. 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_PkgCostRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element name="ProvisionalID" minOccurs="0">
         <!-- Reference to inner class ProvisionalID -->
       </xs:element>
       <xs:element type="ns:PackageType" name="PackageRequest"/>
       <xs:element name="PassengerListItems" minOccurs="0">
         <!-- Reference to inner class PassengerListItems -->
       </xs:element>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ReqRespVersion"/>
     <xs:attribute type="ns:TransactionActionType" use="required" name="ActionType"/>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion">
   <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class CostRQ.PassengerListItems
          Details of all passengers in a reservation or reservation segment.
static class CostRQ.ProvisionalID
          A temporary reference supplied when inventory has been reserved pending booking confirmation.
 
Constructor Summary
CostRQ()
           
 
Method Summary
 TransactionAction getAction()
          Get the 'ActionType' attribute value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 _package getPackageRequest()
          Get the 'PackageRequest' element value.
 CostRQ.PassengerListItems getPassengerListItems()
          Get the 'PassengerListItems' element value.
 POS getPOS()
          Get the 'POS' element value.
 CostRQ.ProvisionalID getProvisionalID()
          Get the 'ProvisionalID' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setAction(TransactionAction action)
          Set the 'ActionType' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPackageRequest(_package packageRequest)
          Set the 'PackageRequest' element value.
 void setPassengerListItems(CostRQ.PassengerListItems passengerListItems)
          Set the 'PassengerListItems' element value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setProvisionalID(CostRQ.ProvisionalID provisionalID)
          Set the 'ProvisionalID' element value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostRQ

public CostRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object

Parameters:
POS -

getProvisionalID

public CostRQ.ProvisionalID getProvisionalID()
Get the 'ProvisionalID' element value.

Returns:
value

setProvisionalID

public void setProvisionalID(CostRQ.ProvisionalID provisionalID)
Set the 'ProvisionalID' element value.

Parameters:
provisionalID -

getPackageRequest

public _package getPackageRequest()
Get the 'PackageRequest' element value. Contains the codes and itinerary items identifying the package to be costed.

Returns:
value

setPackageRequest

public void setPackageRequest(_package packageRequest)
Set the 'PackageRequest' element value. Contains the codes and itinerary items identifying the package to be costed.

Parameters:
packageRequest -

getPassengerListItems

public CostRQ.PassengerListItems getPassengerListItems()
Get the 'PassengerListItems' element value.

Returns:
value

setPassengerListItems

public void setPassengerListItems(CostRQ.PassengerListItems passengerListItems)
Set the 'PassengerListItems' element value.

Parameters:
passengerListItems -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getReqRespVersion

public java.lang.String getReqRespVersion()
Get the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Returns:
value

setReqRespVersion

public void setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Parameters:
reqRespVersion -

getAction

public TransactionAction getAction()
Get the 'ActionType' attribute value. Type of action required - Hold or Quote. 'Hold' is generally used when the requestor has to get payment authorisation before confirming the booking and wishes the supplier to make a provisional booking and reserve the stock pending a booking confirmation request. 'Quote' does not require any stock action. If this attribute is absent, 'Quote' will be assumed.

Returns:
value

setAction

public void setAction(TransactionAction action)
Set the 'ActionType' attribute value. Type of action required - Hold or Quote. 'Hold' is generally used when the requestor has to get payment authorisation before confirming the booking and wishes the supplier to make a provisional booking and reserve the stock pending a booking confirmation request. 'Quote' does not require any stock action. If this attribute is absent, 'Quote' will be assumed.

Parameters:
action -