|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.PriceRQ
public class PriceRQ
The Price Request message requests pricing information for specific flights on specific dates for a specific number and type of passengers. Optional information in the message allows fare restriction preferences and negotiated fare contract codes to be included in the message. The pricing request contains the information necessary to perform an availability / sell from availability / price series of entries on an airline CRS or GDS. 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_AirPriceRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS"/> <xs:element type="ns:AirItineraryType" name="AirItinerary" minOccurs="0"/> <xs:element name="TravelerInfoSummary"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:TravelerInfoSummaryType"> <xs:sequence> <xs:element type="ns:PaymentDetailType" name="PaymentDetail" minOccurs="0"/> <xs:element name="PricingPref" minOccurs="0" maxOccurs="20"> <xs:complexType> <xs:attributeGroup ref="ns:PricingInfoGroup"/> </xs:complexType> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:element type="ns:UniqueID_Type" name="BookingReferenceID" minOccurs="0"/> <xs:element name="FlightReference" minOccurs="0" maxOccurs="16"> <!-- Reference to inner class FlightReference --> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attribute type="xs:string" use="optional" name="Type"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
PriceRQ.FlightReference
Used to reference flight segments that have already been booked for which pricing is requested. |
Constructor Summary | |
---|---|
PriceRQ()
|
Method Summary | |
---|---|
void |
addFlightReference(PriceRQ.FlightReference item)
Add a 'FlightReference' element item. |
void |
addTravelerInfoSummaryPricingPref(PricingInfoGroup item)
Add a 'PricingPref' element item. |
void |
clearFlightReferences()
Remove all 'FlightReference' element items. |
void |
clearTravelerInfoSummaryPricingPrefs()
Remove all 'PricingPref' element items. |
AirItinerary |
getAirItinerary()
Get the 'AirItinerary' element value. |
UniqueID |
getBookingReferenceID()
Get the 'BookingReferenceID' element value. |
PriceRQ.FlightReference |
getFlightReference(int index)
Get 'FlightReference' element item by position. |
java.util.List<PriceRQ.FlightReference> |
getFlightReferences()
Get the list of 'FlightReference' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
PaymentDetail |
getTravelerInfoSummaryPaymentDetail()
Get the 'PaymentDetail' element value. |
PricingInfoGroup |
getTravelerInfoSummaryPricingPref(int index)
Get 'PricingPref' element item by position. |
java.util.List<PricingInfoGroup> |
getTravelerInfoSummaryPricingPrefs()
Get the list of 'PricingPref' element items. |
TravelerInfoSummary |
getTravelerInfoSummaryTravelerInfoSummary()
Get the extension value. |
java.lang.String |
getType()
Get the 'Type' attribute value. |
void |
setAirItinerary(AirItinerary airItinerary)
Set the 'AirItinerary' element value. |
void |
setBookingReferenceID(UniqueID bookingReferenceID)
Set the 'BookingReferenceID' element value. |
void |
setFlightReferences(java.util.List<PriceRQ.FlightReference> list)
Set the list of 'FlightReference' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setTravelerInfoSummaryPaymentDetail(PaymentDetail travelerInfoSummaryPaymentDetail)
Set the 'PaymentDetail' element value. |
void |
setTravelerInfoSummaryPricingPrefs(java.util.List<PricingInfoGroup> list)
Set the list of 'PricingPref' element items. |
void |
setTravelerInfoSummaryTravelerInfoSummary(TravelerInfoSummary travelerInfoSummaryTravelerInfoSummary)
Set the extension value. |
void |
setType(java.lang.String type)
Set the 'Type' attribute value. |
int |
sizeFlightReferences()
Get the number of 'FlightReference' element items. |
int |
sizeTravelerInfoSummaryPricingPrefs()
Get the number of 'PricingPref' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PriceRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public AirItinerary getAirItinerary()
public void setAirItinerary(AirItinerary airItinerary)
airItinerary
- public TravelerInfoSummary getTravelerInfoSummaryTravelerInfoSummary()
public void setTravelerInfoSummaryTravelerInfoSummary(TravelerInfoSummary travelerInfoSummaryTravelerInfoSummary)
travelerInfoSummaryTravelerInfoSummary
- public PaymentDetail getTravelerInfoSummaryPaymentDetail()
public void setTravelerInfoSummaryPaymentDetail(PaymentDetail travelerInfoSummaryPaymentDetail)
travelerInfoSummaryPaymentDetail
- public java.util.List<PricingInfoGroup> getTravelerInfoSummaryPricingPrefs()
public void setTravelerInfoSummaryPricingPrefs(java.util.List<PricingInfoGroup> list)
list
- public int sizeTravelerInfoSummaryPricingPrefs()
public void addTravelerInfoSummaryPricingPref(PricingInfoGroup item)
item
- public PricingInfoGroup getTravelerInfoSummaryPricingPref(int index)
index
-
public void clearTravelerInfoSummaryPricingPrefs()
public UniqueID getBookingReferenceID()
public void setBookingReferenceID(UniqueID bookingReferenceID)
bookingReferenceID
- public java.util.List<PriceRQ.FlightReference> getFlightReferences()
public void setFlightReferences(java.util.List<PriceRQ.FlightReference> list)
list
- public int sizeFlightReferences()
public void addFlightReference(PriceRQ.FlightReference item)
item
- public PriceRQ.FlightReference getFlightReference(int index)
index
-
public void clearFlightReferences()
public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- public java.lang.String getType()
public void setType(java.lang.String type)
type
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |