org.ota.air
Class DemandTicketRS.TicketItemInfo

java.lang.Object
  extended by org.ota.air.DemandTicketRS.TicketItemInfo
Enclosing class:
DemandTicketRS

public static class DemandTicketRS.TicketItemInfo
extends java.lang.Object

Information for the ticket that was issued. 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="TicketItemInfo" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PassengerName" minOccurs="0">
         <!-- Reference to inner class PassengerName -->
       </xs:element>
       <xs:element name="ConjunctiveTicket" minOccurs="0" maxOccurs="3">
         <!-- Reference to inner class ConjunctiveTicket -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="TicketNumber"/>
     <xs:attribute type="ns:TicketType" use="optional" name="Type"/>
     <xs:attribute type="xs:string" use="optional" name="ItemNumber"/>
     <xs:attribute type="xs:string" use="optional" name="InvoiceNumber"/>
     <xs:attribute type="xs:float" use="optional" name="TotalAmount"/>
     <xs:attribute type="xs:float" use="optional" name="CommissionAmount"/>
     <xs:attribute type="xs:string" use="optional" name="PaymentType"/>
     <xs:attribute type="xs:float" use="optional" name="NetAmount"/>
     <xs:attribute type="xs:string" use="optional" name="TicketingStatus"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class DemandTicketRS.TicketItemInfo.ConjunctiveTicket
          Used to specify conjunctive ticket/document numbers.
static class DemandTicketRS.TicketItemInfo.PassengerName
          The name of the person for whom the ticket was issued.
 
Constructor Summary
DemandTicketRS.TicketItemInfo()
           
 
Method Summary
 void addConjunctiveTicket(DemandTicketRS.TicketItemInfo.ConjunctiveTicket item)
          Add a 'ConjunctiveTicket' element item.
 void clearConjunctiveTickets()
          Remove all 'ConjunctiveTicket' element items.
 java.lang.Float getCommissionAmount()
          Get the 'CommissionAmount' attribute value.
 DemandTicketRS.TicketItemInfo.ConjunctiveTicket getConjunctiveTicket(int index)
          Get 'ConjunctiveTicket' element item by position.
 java.util.List<DemandTicketRS.TicketItemInfo.ConjunctiveTicket> getConjunctiveTickets()
          Get the list of 'ConjunctiveTicket' element items.
 java.lang.String getInvoiceNumber()
          Get the 'InvoiceNumber' attribute value.
 java.lang.String getItemNumber()
          Get the 'ItemNumber' attribute value.
 java.lang.Float getNetAmount()
          Get the 'NetAmount' attribute value.
 DemandTicketRS.TicketItemInfo.PassengerName getPassengerName()
          Get the 'PassengerName' element value.
 java.lang.String getPayment()
          Get the 'PaymentType' attribute value.
 java.lang.String getTicketingStatus()
          Get the 'TicketingStatus' attribute value.
 java.lang.String getTicketNumber()
          Get the 'TicketNumber' attribute value.
 java.lang.Float getTotalAmount()
          Get the 'TotalAmount' attribute value.
 Ticket getType()
          Get the 'Type' attribute value.
 void setCommissionAmount(java.lang.Float commissionAmount)
          Set the 'CommissionAmount' attribute value.
 void setConjunctiveTickets(java.util.List<DemandTicketRS.TicketItemInfo.ConjunctiveTicket> list)
          Set the list of 'ConjunctiveTicket' element items.
 void setInvoiceNumber(java.lang.String invoiceNumber)
          Set the 'InvoiceNumber' attribute value.
 void setItemNumber(java.lang.String itemNumber)
          Set the 'ItemNumber' attribute value.
 void setNetAmount(java.lang.Float netAmount)
          Set the 'NetAmount' attribute value.
 void setPassengerName(DemandTicketRS.TicketItemInfo.PassengerName passengerName)
          Set the 'PassengerName' element value.
 void setPayment(java.lang.String payment)
          Set the 'PaymentType' attribute value.
 void setTicketingStatus(java.lang.String ticketingStatus)
          Set the 'TicketingStatus' attribute value.
 void setTicketNumber(java.lang.String ticketNumber)
          Set the 'TicketNumber' attribute value.
 void setTotalAmount(java.lang.Float totalAmount)
          Set the 'TotalAmount' attribute value.
 void setType(Ticket type)
          Set the 'Type' attribute value.
 int sizeConjunctiveTickets()
          Get the number of 'ConjunctiveTicket' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemandTicketRS.TicketItemInfo

public DemandTicketRS.TicketItemInfo()
Method Detail

getPassengerName

public DemandTicketRS.TicketItemInfo.PassengerName getPassengerName()
Get the 'PassengerName' element value.

Returns:
value

setPassengerName

public void setPassengerName(DemandTicketRS.TicketItemInfo.PassengerName passengerName)
Set the 'PassengerName' element value.

Parameters:
passengerName -

getConjunctiveTickets

public java.util.List<DemandTicketRS.TicketItemInfo.ConjunctiveTicket> getConjunctiveTickets()
Get the list of 'ConjunctiveTicket' element items.

Returns:
list

setConjunctiveTickets

public void setConjunctiveTickets(java.util.List<DemandTicketRS.TicketItemInfo.ConjunctiveTicket> list)
Set the list of 'ConjunctiveTicket' element items.

Parameters:
list -

sizeConjunctiveTickets

public int sizeConjunctiveTickets()
Get the number of 'ConjunctiveTicket' element items.

Returns:
count

addConjunctiveTicket

public void addConjunctiveTicket(DemandTicketRS.TicketItemInfo.ConjunctiveTicket item)
Add a 'ConjunctiveTicket' element item.

Parameters:
item -

getConjunctiveTicket

public DemandTicketRS.TicketItemInfo.ConjunctiveTicket getConjunctiveTicket(int index)
Get 'ConjunctiveTicket' element item by position.

Parameters:
index -
Returns:
item

clearConjunctiveTickets

public void clearConjunctiveTickets()
Remove all 'ConjunctiveTicket' element items.


getTicketNumber

public java.lang.String getTicketNumber()
Get the 'TicketNumber' attribute value. The number of the document that was issued.

Returns:
value

setTicketNumber

public void setTicketNumber(java.lang.String ticketNumber)
Set the 'TicketNumber' attribute value. The number of the document that was issued.

Parameters:
ticketNumber -

getType

public Ticket getType()
Get the 'Type' attribute value. The type of document that was issued (e.g., electronic ticket, MCO).

Returns:
value

setType

public void setType(Ticket type)
Set the 'Type' attribute value. The type of document that was issued (e.g., electronic ticket, MCO).

Parameters:
type -

getItemNumber

public java.lang.String getItemNumber()
Get the 'ItemNumber' attribute value. The number associated with the document for back office accounting purposes.

Returns:
value

setItemNumber

public void setItemNumber(java.lang.String itemNumber)
Set the 'ItemNumber' attribute value. The number associated with the document for back office accounting purposes.

Parameters:
itemNumber -

getInvoiceNumber

public java.lang.String getInvoiceNumber()
Get the 'InvoiceNumber' attribute value. The invoice number associated with the document that was issued.

Returns:
value

setInvoiceNumber

public void setInvoiceNumber(java.lang.String invoiceNumber)
Set the 'InvoiceNumber' attribute value. The invoice number associated with the document that was issued.

Parameters:
invoiceNumber -

getTotalAmount

public java.lang.Float getTotalAmount()
Get the 'TotalAmount' attribute value. The gross total amount of the ticket.

Returns:
value

setTotalAmount

public void setTotalAmount(java.lang.Float totalAmount)
Set the 'TotalAmount' attribute value. The gross total amount of the ticket.

Parameters:
totalAmount -

getCommissionAmount

public java.lang.Float getCommissionAmount()
Get the 'CommissionAmount' attribute value. The amount of commission that will be paid.

Returns:
value

setCommissionAmount

public void setCommissionAmount(java.lang.Float commissionAmount)
Set the 'CommissionAmount' attribute value. The amount of commission that will be paid.

Parameters:
commissionAmount -

getPayment

public java.lang.String getPayment()
Get the 'PaymentType' attribute value. The form of payment for the ticket. Refer to OpenTravel Code list Payment Type (PMT).

Returns:
value

setPayment

public void setPayment(java.lang.String payment)
Set the 'PaymentType' attribute value. The form of payment for the ticket. Refer to OpenTravel Code list Payment Type (PMT).

Parameters:
payment -

getNetAmount

public java.lang.Float getNetAmount()
Get the 'NetAmount' attribute value. The monetary value of the ticket after any applicable deductions have been made to the total (i.e., gross) amount.

Returns:
value

setNetAmount

public void setNetAmount(java.lang.Float netAmount)
Set the 'NetAmount' attribute value. The monetary value of the ticket after any applicable deductions have been made to the total (i.e., gross) amount.

Parameters:
netAmount -

getTicketingStatus

public java.lang.String getTicketingStatus()
Get the 'TicketingStatus' attribute value. The status of the ticket. Refer to OpenTravel Code List Ticketing Status (TST).

Returns:
value

setTicketingStatus

public void setTicketingStatus(java.lang.String ticketingStatus)
Set the 'TicketingStatus' attribute value. The status of the ticket. Refer to OpenTravel Code List Ticketing Status (TST).

Parameters:
ticketingStatus -