org.ota.air
Class PTCFareBreakdown.Endorsements

java.lang.Object
  extended by org.ota.air.PTCFareBreakdown.Endorsements
Enclosing class:
PTCFareBreakdown

public static class PTCFareBreakdown.Endorsements
extends java.lang.Object

Container for endorsements. 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="Endorsements" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Endorsement" maxOccurs="9">
         <!-- Reference to inner class Endorsement -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="NonRefundableIndicator"/>
     <xs:attribute type="xs:boolean" use="optional" name="NonEndorsableIndicator"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PTCFareBreakdown.Endorsements.Endorsement
          Specifies ticket endorsement information.
 
Constructor Summary
PTCFareBreakdown.Endorsements()
           
 
Method Summary
 void addEndorsement(PTCFareBreakdown.Endorsements.Endorsement item)
          Add a 'Endorsement' element item.
 void clearEndorsements()
          Remove all 'Endorsement' element items.
 PTCFareBreakdown.Endorsements.Endorsement getEndorsement(int index)
          Get 'Endorsement' element item by position.
 java.util.List<PTCFareBreakdown.Endorsements.Endorsement> getEndorsements()
          Get the list of 'Endorsement' element items.
 java.lang.Boolean getNonEndorsableIndicator()
          Get the 'NonEndorsableIndicator' attribute value.
 java.lang.Boolean getNonRefundableIndicator()
          Get the 'NonRefundableIndicator' attribute value.
 void setEndorsements(java.util.List<PTCFareBreakdown.Endorsements.Endorsement> list)
          Set the list of 'Endorsement' element items.
 void setNonEndorsableIndicator(java.lang.Boolean nonEndorsableIndicator)
          Set the 'NonEndorsableIndicator' attribute value.
 void setNonRefundableIndicator(java.lang.Boolean nonRefundableIndicator)
          Set the 'NonRefundableIndicator' attribute value.
 int sizeEndorsements()
          Get the number of 'Endorsement' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTCFareBreakdown.Endorsements

public PTCFareBreakdown.Endorsements()
Method Detail

getEndorsements

public java.util.List<PTCFareBreakdown.Endorsements.Endorsement> getEndorsements()
Get the list of 'Endorsement' element items.

Returns:
list

setEndorsements

public void setEndorsements(java.util.List<PTCFareBreakdown.Endorsements.Endorsement> list)
Set the list of 'Endorsement' element items.

Parameters:
list -

sizeEndorsements

public int sizeEndorsements()
Get the number of 'Endorsement' element items.

Returns:
count

addEndorsement

public void addEndorsement(PTCFareBreakdown.Endorsements.Endorsement item)
Add a 'Endorsement' element item.

Parameters:
item -

getEndorsement

public PTCFareBreakdown.Endorsements.Endorsement getEndorsement(int index)
Get 'Endorsement' element item by position.

Parameters:
index -
Returns:
item

clearEndorsements

public void clearEndorsements()
Remove all 'Endorsement' element items.


getNonRefundableIndicator

public java.lang.Boolean getNonRefundableIndicator()
Get the 'NonRefundableIndicator' attribute value. Indicates whether the ticket is refundable. If true, the ticket is NOT refundable.

Returns:
value

setNonRefundableIndicator

public void setNonRefundableIndicator(java.lang.Boolean nonRefundableIndicator)
Set the 'NonRefundableIndicator' attribute value. Indicates whether the ticket is refundable. If true, the ticket is NOT refundable.

Parameters:
nonRefundableIndicator -

getNonEndorsableIndicator

public java.lang.Boolean getNonEndorsableIndicator()
Get the 'NonEndorsableIndicator' attribute value. Indicates whether the ticket is endorsable. If true, the ticket is NOT endorsable.

Returns:
value

setNonEndorsableIndicator

public void setNonEndorsableIndicator(java.lang.Boolean nonEndorsableIndicator)
Set the 'NonEndorsableIndicator' attribute value. Indicates whether the ticket is endorsable. If true, the ticket is NOT endorsable.

Parameters:
nonEndorsableIndicator -