org.ota.shared
Class PaymentForm.Choice.Ticket

java.lang.Object
  extended by org.ota.shared.PaymentForm.Choice.Ticket
Enclosing class:
PaymentForm.Choice

public static class PaymentForm.Choice.Ticket
extends java.lang.Object

Details of a ticket to be exchanged. 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="Ticket">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ConjunctionTicketNbr" minOccurs="0" maxOccurs="16">
         <!-- Reference to inner class ConjunctionTicketNbr -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" name="TicketNumber"/>
     <xs:attributeGroup ref="ns:OriginalIssueAttributes"/>
     <xs:attribute use="optional" name="ReroutingType">
       <xs:simpleType>
         <!-- Reference to inner class Rerouting -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:string" use="optional" name="ReasonForReroute"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PaymentForm.Choice.Ticket.ConjunctionTicketNbr
          Conjunction ticket number in case a conjunjunction ticket is exchanged.
static class PaymentForm.Choice.Ticket.Rerouting
          Schema fragment(s) for this class:
 
Constructor Summary
PaymentForm.Choice.Ticket()
           
 
Method Summary
 void addConjunctionTicketNbr(PaymentForm.Choice.Ticket.ConjunctionTicketNbr item)
          Add a 'ConjunctionTicketNbr' element item.
 void clearConjunctionTicketNbrs()
          Remove all 'ConjunctionTicketNbr' element items.
 PaymentForm.Choice.Ticket.ConjunctionTicketNbr getConjunctionTicketNbr(int index)
          Get 'ConjunctionTicketNbr' element item by position.
 java.util.List<PaymentForm.Choice.Ticket.ConjunctionTicketNbr> getConjunctionTicketNbrs()
          Get the list of 'ConjunctionTicketNbr' element items.
 OriginalIssueAttributes getOriginalIssueAttributes()
          Get the 'OriginalIssueAttributes' attributeGroup value.
 java.lang.String getReasonForReroute()
          Get the 'ReasonForReroute' attribute value.
 PaymentForm.Choice.Ticket.Rerouting getRerouting()
          Get the 'ReroutingType' attribute value.
 java.lang.String getTicketNumber()
          Get the 'TicketNumber' attribute value.
 void setConjunctionTicketNbrs(java.util.List<PaymentForm.Choice.Ticket.ConjunctionTicketNbr> list)
          Set the list of 'ConjunctionTicketNbr' element items.
 void setOriginalIssueAttributes(OriginalIssueAttributes originalIssueAttributes)
          Set the 'OriginalIssueAttributes' attributeGroup value.
 void setReasonForReroute(java.lang.String reasonForReroute)
          Set the 'ReasonForReroute' attribute value.
 void setRerouting(PaymentForm.Choice.Ticket.Rerouting rerouting)
          Set the 'ReroutingType' attribute value.
 void setTicketNumber(java.lang.String ticketNumber)
          Set the 'TicketNumber' attribute value.
 int sizeConjunctionTicketNbrs()
          Get the number of 'ConjunctionTicketNbr' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentForm.Choice.Ticket

public PaymentForm.Choice.Ticket()
Method Detail

getConjunctionTicketNbrs

public java.util.List<PaymentForm.Choice.Ticket.ConjunctionTicketNbr> getConjunctionTicketNbrs()
Get the list of 'ConjunctionTicketNbr' element items.

Returns:
list

setConjunctionTicketNbrs

public void setConjunctionTicketNbrs(java.util.List<PaymentForm.Choice.Ticket.ConjunctionTicketNbr> list)
Set the list of 'ConjunctionTicketNbr' element items.

Parameters:
list -

sizeConjunctionTicketNbrs

public int sizeConjunctionTicketNbrs()
Get the number of 'ConjunctionTicketNbr' element items.

Returns:
count

addConjunctionTicketNbr

public void addConjunctionTicketNbr(PaymentForm.Choice.Ticket.ConjunctionTicketNbr item)
Add a 'ConjunctionTicketNbr' element item.

Parameters:
item -

getConjunctionTicketNbr

public PaymentForm.Choice.Ticket.ConjunctionTicketNbr getConjunctionTicketNbr(int index)
Get 'ConjunctionTicketNbr' element item by position.

Parameters:
index -
Returns:
item

clearConjunctionTicketNbrs

public void clearConjunctionTicketNbrs()
Remove all 'ConjunctionTicketNbr' element items.


getTicketNumber

public java.lang.String getTicketNumber()
Get the 'TicketNumber' attribute value. The ticket number which is exchanged.

Returns:
value

setTicketNumber

public void setTicketNumber(java.lang.String ticketNumber)
Set the 'TicketNumber' attribute value. The ticket number which is exchanged.

Parameters:
ticketNumber -

getOriginalIssueAttributes

public OriginalIssueAttributes getOriginalIssueAttributes()
Get the 'OriginalIssueAttributes' attributeGroup value.

Returns:
value

setOriginalIssueAttributes

public void setOriginalIssueAttributes(OriginalIssueAttributes originalIssueAttributes)
Set the 'OriginalIssueAttributes' attributeGroup value.

Parameters:
originalIssueAttributes -

getRerouting

public PaymentForm.Choice.Ticket.Rerouting getRerouting()
Get the 'ReroutingType' attribute value. Indicates if the rerouting, which made the exchange necessary was voluntary or involuntary.

Returns:
value

setRerouting

public void setRerouting(PaymentForm.Choice.Ticket.Rerouting rerouting)
Set the 'ReroutingType' attribute value. Indicates if the rerouting, which made the exchange necessary was voluntary or involuntary.

Parameters:
rerouting -

getReasonForReroute

public java.lang.String getReasonForReroute()
Get the 'ReasonForReroute' attribute value. Gives more information about the rerouting.

Returns:
value

setReasonForReroute

public void setReasonForReroute(java.lang.String reasonForReroute)
Set the 'ReasonForReroute' attribute value. Gives more information about the rerouting.

Parameters:
reasonForReroute -