org.ota.air
Class TicketingInfo

java.lang.Object
  extended by org.ota.air.TicketingInfo
Direct Known Subclasses:
TicketingInfoRS

public class TicketingInfo
extends java.lang.Object

Minimum information about ticketing required to complete the booking transaction. 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="TicketingInfoType">
   <xs:sequence>
     <xs:element name="TicketAdvisory" minOccurs="0" maxOccurs="10">
       <!-- Reference to inner class TicketAdvisory -->
     </xs:element>
     <xs:element name="TicketingVendor" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="PricingSystem" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="TotalFare" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:dateTime" use="optional" name="TicketTimeLimit"/>
   <xs:attribute type="xs:boolean" use="optional" name="CancelOnExpiryInd"/>
   <xs:attribute type="ns:TicketType" use="optional" name="TicketType"/>
   <xs:attribute type="xs:string" use="optional" name="TicketingStatus"/>
   <xs:attribute type="xs:string" use="optional" name="FlightSegmentRefNumber"/>
   <xs:attribute type="xs:string" use="optional" name="TravelerRefNumber"/>
   <xs:attribute type="xs:boolean" use="optional" name="ReverseTktgSegmentsInd"/>
   <xs:attribute type="xs:string" use="optional" name="PseudoCityCode"/>
   <xs:attribute type="xs:string" use="optional" name="RequestedTicketingDate"/>
   <xs:attribute type="xs:int" use="optional" name="TimeLimitMinutes"/>
   <xs:attribute use="optional" name="BookingChangeType">
     <xs:simpleType>
       <!-- Reference to inner class BookingChange -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:string" use="optional" name="TicketDocumentNbr"/>
   <xs:attribute type="xs:string" use="optional" name="PassengerTypeCode"/>
   <xs:attribute type="ns:ActionType" use="optional" name="Operation"/>
   <xs:attribute type="xs:string" use="optional" name="MiscTicketingCode"/>
 </xs:complexType>
 


Nested Class Summary
static class TicketingInfo.BookingChange
          Schema fragment(s) for this class:
static class TicketingInfo.TicketAdvisory
          Open text field available for additional ticket information.
 
Constructor Summary
TicketingInfo()
           
 
Method Summary
 void addTicketAdvisory(TicketingInfo.TicketAdvisory item)
          Add a 'TicketAdvisory' element item.
 void clearTicketAdvisories()
          Remove all 'TicketAdvisory' element items.
 TicketingInfo.BookingChange getBookingChange()
          Get the 'BookingChangeType' attribute value.
 java.lang.Boolean getCancelOnExpiryInd()
          Get the 'CancelOnExpiryInd' attribute value.
 java.lang.String getFlightSegmentRefNumber()
          Get the 'FlightSegmentRefNumber' attribute value.
 java.lang.String getMiscTicketingCode()
          Get the 'MiscTicketingCode' attribute value.
 Action getOperation()
          Get the 'Operation' attribute value.
 java.lang.String getPassengerTypeCode()
          Get the 'PassengerTypeCode' attribute value.
 CompanyIDAttributesGroup getPricingSystem()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 java.lang.String getPseudoCityCode()
          Get the 'PseudoCityCode' attribute value.
 java.lang.String getRequestedTicketingDate()
          Get the 'RequestedTicketingDate' attribute value.
 java.lang.Boolean getReverseTktgSegmentsInd()
          Get the 'ReverseTktgSegmentsInd' attribute value.
 Ticket getTicket()
          Get the 'TicketType' attribute value.
 java.util.List<TicketingInfo.TicketAdvisory> getTicketAdvisories()
          Get the list of 'TicketAdvisory' element items.
 TicketingInfo.TicketAdvisory getTicketAdvisory(int index)
          Get 'TicketAdvisory' element item by position.
 java.lang.String getTicketDocumentNbr()
          Get the 'TicketDocumentNbr' attribute value.
 java.lang.String getTicketingStatus()
          Get the 'TicketingStatus' attribute value.
 CompanyIDAttributesGroup getTicketingVendor()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 java.util.Date getTicketTimeLimit()
          Get the 'TicketTimeLimit' attribute value.
 java.lang.Integer getTimeLimitMinutes()
          Get the 'TimeLimitMinutes' attribute value.
 CurrencyAmountGroup getTotalFare()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getTravelerRefNumber()
          Get the 'TravelerRefNumber' attribute value.
 void setBookingChange(TicketingInfo.BookingChange bookingChange)
          Set the 'BookingChangeType' attribute value.
 void setCancelOnExpiryInd(java.lang.Boolean cancelOnExpiryInd)
          Set the 'CancelOnExpiryInd' attribute value.
 void setFlightSegmentRefNumber(java.lang.String flightSegmentRefNumber)
          Set the 'FlightSegmentRefNumber' attribute value.
 void setMiscTicketingCode(java.lang.String miscTicketingCode)
          Set the 'MiscTicketingCode' attribute value.
 void setOperation(Action operation)
          Set the 'Operation' attribute value.
 void setPassengerTypeCode(java.lang.String passengerTypeCode)
          Set the 'PassengerTypeCode' attribute value.
 void setPricingSystem(CompanyIDAttributesGroup pricingSystem)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setPseudoCityCode(java.lang.String pseudoCityCode)
          Set the 'PseudoCityCode' attribute value.
 void setRequestedTicketingDate(java.lang.String requestedTicketingDate)
          Set the 'RequestedTicketingDate' attribute value.
 void setReverseTktgSegmentsInd(java.lang.Boolean reverseTktgSegmentsInd)
          Set the 'ReverseTktgSegmentsInd' attribute value.
 void setTicket(Ticket ticket)
          Set the 'TicketType' attribute value.
 void setTicketAdvisories(java.util.List<TicketingInfo.TicketAdvisory> list)
          Set the list of 'TicketAdvisory' element items.
 void setTicketDocumentNbr(java.lang.String ticketDocumentNbr)
          Set the 'TicketDocumentNbr' attribute value.
 void setTicketingStatus(java.lang.String ticketingStatus)
          Set the 'TicketingStatus' attribute value.
 void setTicketingVendor(CompanyIDAttributesGroup ticketingVendor)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setTicketTimeLimit(java.util.Date ticketTimeLimit)
          Set the 'TicketTimeLimit' attribute value.
 void setTimeLimitMinutes(java.lang.Integer timeLimitMinutes)
          Set the 'TimeLimitMinutes' attribute value.
 void setTotalFare(CurrencyAmountGroup totalFare)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setTravelerRefNumber(java.lang.String travelerRefNumber)
          Set the 'TravelerRefNumber' attribute value.
 int sizeTicketAdvisories()
          Get the number of 'TicketAdvisory' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketingInfo

public TicketingInfo()
Method Detail

getTicketAdvisories

public java.util.List<TicketingInfo.TicketAdvisory> getTicketAdvisories()
Get the list of 'TicketAdvisory' element items.

Returns:
list

setTicketAdvisories

public void setTicketAdvisories(java.util.List<TicketingInfo.TicketAdvisory> list)
Set the list of 'TicketAdvisory' element items.

Parameters:
list -

sizeTicketAdvisories

public int sizeTicketAdvisories()
Get the number of 'TicketAdvisory' element items.

Returns:
count

addTicketAdvisory

public void addTicketAdvisory(TicketingInfo.TicketAdvisory item)
Add a 'TicketAdvisory' element item.

Parameters:
item -

getTicketAdvisory

public TicketingInfo.TicketAdvisory getTicketAdvisory(int index)
Get 'TicketAdvisory' element item by position.

Parameters:
index -
Returns:
item

clearTicketAdvisories

public void clearTicketAdvisories()
Remove all 'TicketAdvisory' element items.


getTicketingVendor

public CompanyIDAttributesGroup getTicketingVendor()
Get the 'CompanyID_AttributesGroup' attributeGroup value. The code of the vendor that issues or services the ticket.

Returns:
value

setTicketingVendor

public void setTicketingVendor(CompanyIDAttributesGroup ticketingVendor)
Set the 'CompanyID_AttributesGroup' attributeGroup value. The code of the vendor that issues or services the ticket.

Parameters:
ticketingVendor -

getPricingSystem

public CompanyIDAttributesGroup getPricingSystem()
Get the 'CompanyID_AttributesGroup' attributeGroup value. The code of the system that priced the itinerary for the ticket.

Returns:
value

setPricingSystem

public void setPricingSystem(CompanyIDAttributesGroup pricingSystem)
Set the 'CompanyID_AttributesGroup' attributeGroup value. The code of the system that priced the itinerary for the ticket.

Parameters:
pricingSystem -

getTotalFare

public CurrencyAmountGroup getTotalFare()
Get the 'CurrencyAmountGroup' attributeGroup value. Details for the total price paid for this ticket.

Returns:
value

setTotalFare

public void setTotalFare(CurrencyAmountGroup totalFare)
Set the 'CurrencyAmountGroup' attributeGroup value. Details for the total price paid for this ticket.

Parameters:
totalFare -

getTicketTimeLimit

public java.util.Date getTicketTimeLimit()
Get the 'TicketTimeLimit' attribute value. TicketTimeLimit - Indicates the ticketing arrangement, and allows for the requirement that an itinerary must be ticketed by a certain date and time.

Returns:
value

setTicketTimeLimit

public void setTicketTimeLimit(java.util.Date ticketTimeLimit)
Set the 'TicketTimeLimit' attribute value. TicketTimeLimit - Indicates the ticketing arrangement, and allows for the requirement that an itinerary must be ticketed by a certain date and time.

Parameters:
ticketTimeLimit -

getCancelOnExpiryInd

public java.lang.Boolean getCancelOnExpiryInd()
Get the 'CancelOnExpiryInd' attribute value. When true, unticketed bookings should be cancelled when the TicketTimeLimit has expired.

Returns:
value

setCancelOnExpiryInd

public void setCancelOnExpiryInd(java.lang.Boolean cancelOnExpiryInd)
Set the 'CancelOnExpiryInd' attribute value. When true, unticketed bookings should be cancelled when the TicketTimeLimit has expired.

Parameters:
cancelOnExpiryInd -

getTicket

public Ticket getTicket()
Get the 'TicketType' attribute value. TicketType - Indicates the type of ticket (Paper, eTicket)

Returns:
value

setTicket

public void setTicket(Ticket ticket)
Set the 'TicketType' attribute value. TicketType - Indicates the type of ticket (Paper, eTicket)

Parameters:
ticket -

getTicketingStatus

public java.lang.String getTicketingStatus()
Get the 'TicketingStatus' attribute value. Code for setting and displaying detailed ticketing information. Refer to OpenTravel Code List Ticketing Status (TST).

Returns:
value

setTicketingStatus

public void setTicketingStatus(java.lang.String ticketingStatus)
Set the 'TicketingStatus' attribute value. Code for setting and displaying detailed ticketing information. Refer to OpenTravel Code List Ticketing Status (TST).

Parameters:
ticketingStatus -

getFlightSegmentRefNumber

public java.lang.String getFlightSegmentRefNumber()
Get the 'FlightSegmentRefNumber' attribute value. Specifies one or more segment numbers for ticketing purposes. This RPH is associated with the RPH contained in the FlightSegment element in AirBookRQ.

Returns:
value

setFlightSegmentRefNumber

public void setFlightSegmentRefNumber(java.lang.String flightSegmentRefNumber)
Set the 'FlightSegmentRefNumber' attribute value. Specifies one or more segment numbers for ticketing purposes. This RPH is associated with the RPH contained in the FlightSegment element in AirBookRQ.

Parameters:
flightSegmentRefNumber -

getTravelerRefNumber

public java.lang.String getTravelerRefNumber()
Get the 'TravelerRefNumber' attribute value. Specifies one or more traveler names for ticketing purposes. This RPH is associated with the RPH contained in the TravelerRefNumber element in AirBookRQ.

Returns:
value

setTravelerRefNumber

public void setTravelerRefNumber(java.lang.String travelerRefNumber)
Set the 'TravelerRefNumber' attribute value. Specifies one or more traveler names for ticketing purposes. This RPH is associated with the RPH contained in the TravelerRefNumber element in AirBookRQ.

Parameters:
travelerRefNumber -

getReverseTktgSegmentsInd

public java.lang.Boolean getReverseTktgSegmentsInd()
Get the 'ReverseTktgSegmentsInd' attribute value. Applies a reverse sequence of the outbound travel to the inbound travel.

Returns:
value

setReverseTktgSegmentsInd

public void setReverseTktgSegmentsInd(java.lang.Boolean reverseTktgSegmentsInd)
Set the 'ReverseTktgSegmentsInd' attribute value. Applies a reverse sequence of the outbound travel to the inbound travel.

Parameters:
reverseTktgSegmentsInd -

getPseudoCityCode

public java.lang.String getPseudoCityCode()
Get the 'PseudoCityCode' attribute value. An identification code assigned to an office/agency by a reservation system.

Returns:
value

setPseudoCityCode

public void setPseudoCityCode(java.lang.String pseudoCityCode)
Set the 'PseudoCityCode' attribute value. An identification code assigned to an office/agency by a reservation system.

Parameters:
pseudoCityCode -

getRequestedTicketingDate

public java.lang.String getRequestedTicketingDate()
Get the 'RequestedTicketingDate' attribute value. The date on which ticketing should occur.

Returns:
value

setRequestedTicketingDate

public void setRequestedTicketingDate(java.lang.String requestedTicketingDate)
Set the 'RequestedTicketingDate' attribute value. The date on which ticketing should occur.

Parameters:
requestedTicketingDate -

getTimeLimitMinutes

public java.lang.Integer getTimeLimitMinutes()
Get the 'TimeLimitMinutes' attribute value. The number of minutes until the ticket must be issued for the itinerary.

Returns:
value

setTimeLimitMinutes

public void setTimeLimitMinutes(java.lang.Integer timeLimitMinutes)
Set the 'TimeLimitMinutes' attribute value. The number of minutes until the ticket must be issued for the itinerary.

Parameters:
timeLimitMinutes -

getBookingChange

public TicketingInfo.BookingChange getBookingChange()
Get the 'BookingChangeType' attribute value. Indicates that the booking has changed since this ticket was issued and the two are no longer in sync and identifies what has changed in the booking.

Returns:
value

setBookingChange

public void setBookingChange(TicketingInfo.BookingChange bookingChange)
Set the 'BookingChangeType' attribute value. Indicates that the booking has changed since this ticket was issued and the two are no longer in sync and identifies what has changed in the booking.

Parameters:
bookingChange -

getTicketDocumentNbr

public java.lang.String getTicketDocumentNbr()
Get the 'TicketDocumentNbr' attribute value. The ticket document number including the airline code, the form code, and the serial number.

Returns:
value

setTicketDocumentNbr

public void setTicketDocumentNbr(java.lang.String ticketDocumentNbr)
Set the 'TicketDocumentNbr' attribute value. The ticket document number including the airline code, the form code, and the serial number.

Parameters:
ticketDocumentNbr -

getPassengerTypeCode

public java.lang.String getPassengerTypeCode()
Get the 'PassengerTypeCode' attribute value. Code used to indicate the ticketing-relevant type of traveler that has been quoted (e.g., MIL, CHD, INF, SEN).

Returns:
value

setPassengerTypeCode

public void setPassengerTypeCode(java.lang.String passengerTypeCode)
Set the 'PassengerTypeCode' attribute value. Code used to indicate the ticketing-relevant type of traveler that has been quoted (e.g., MIL, CHD, INF, SEN).

Parameters:
passengerTypeCode -

getOperation

public Action getOperation()
Get the 'Operation' attribute value. Indicates the required modification to the element.

Returns:
value

setOperation

public void setOperation(Action operation)
Set the 'Operation' attribute value. Indicates the required modification to the element.

Parameters:
operation -

getMiscTicketingCode

public java.lang.String getMiscTicketingCode()
Get the 'MiscTicketingCode' attribute value. Specifies one or more ticketing relevant codes. Refer to OpenTravel code list Misc Ticketing Code (MTC).

Returns:
value

setMiscTicketingCode

public void setMiscTicketingCode(java.lang.String miscTicketingCode)
Set the 'MiscTicketingCode' attribute value. Specifies one or more ticketing relevant codes. Refer to OpenTravel code list Misc Ticketing Code (MTC).

Parameters:
miscTicketingCode -