org.ota.air
Class AirCheckIn.PassengerInfo.TicketingInfo.CouponInfo

java.lang.Object
  extended by org.ota.air.AirCheckIn.PassengerInfo.TicketingInfo.CouponInfo
Enclosing class:
AirCheckIn.PassengerInfo.TicketingInfo

public static class AirCheckIn.PassengerInfo.TicketingInfo.CouponInfo
extends java.lang.Object

Identifies the coupon to be used to check-in for a flight segment or segments. 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="CouponInfo" maxOccurs="16">
   <xs:complexType>
     <xs:attribute type="xs:string" use="required" name="FlightRPH"/>
     <xs:attribute type="xs:int" use="required" name="CouponNumber"/>
     <xs:attribute type="xs:string" use="optional" name="DocumentNumberCheckDigit"/>
     <xs:attribute type="xs:boolean" use="optional" name="PaperTicketInd"/>
     <xs:attribute type="xs:string" use="optional" name="CouponReference"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AirCheckIn.PassengerInfo.TicketingInfo.CouponInfo()
           
 
Method Summary
 java.lang.Integer getCouponNumber()
          Get the 'CouponNumber' attribute value.
 java.lang.String getCouponReference()
          Get the 'CouponReference' attribute value.
 java.lang.String getDocumentNumberCheckDigit()
          Get the 'DocumentNumberCheckDigit' attribute value.
 java.lang.String getFlightRPH()
          Get the 'FlightRPH' attribute value.
 java.lang.Boolean getPaperTicketInd()
          Get the 'PaperTicketInd' attribute value.
 void setCouponNumber(java.lang.Integer couponNumber)
          Set the 'CouponNumber' attribute value.
 void setCouponReference(java.lang.String couponReference)
          Set the 'CouponReference' attribute value.
 void setDocumentNumberCheckDigit(java.lang.String documentNumberCheckDigit)
          Set the 'DocumentNumberCheckDigit' attribute value.
 void setFlightRPH(java.lang.String flightRPH)
          Set the 'FlightRPH' attribute value.
 void setPaperTicketInd(java.lang.Boolean paperTicketInd)
          Set the 'PaperTicketInd' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirCheckIn.PassengerInfo.TicketingInfo.CouponInfo

public AirCheckIn.PassengerInfo.TicketingInfo.CouponInfo()
Method Detail

getFlightRPH

public java.lang.String getFlightRPH()
Get the 'FlightRPH' attribute value. A reference place holder used as a pointer to link back to the flight.

Returns:
value

setFlightRPH

public void setFlightRPH(java.lang.String flightRPH)
Set the 'FlightRPH' attribute value. A reference place holder used as a pointer to link back to the flight.

Parameters:
flightRPH -

getCouponNumber

public java.lang.Integer getCouponNumber()
Get the 'CouponNumber' attribute value. The coupon number.

Returns:
value

setCouponNumber

public void setCouponNumber(java.lang.Integer couponNumber)
Set the 'CouponNumber' attribute value. The coupon number.

Parameters:
couponNumber -

getDocumentNumberCheckDigit

public java.lang.String getDocumentNumberCheckDigit()
Get the 'DocumentNumberCheckDigit' attribute value. The number calculated by the check digit routine.

Returns:
value

setDocumentNumberCheckDigit

public void setDocumentNumberCheckDigit(java.lang.String documentNumberCheckDigit)
Set the 'DocumentNumberCheckDigit' attribute value. The number calculated by the check digit routine.

Parameters:
documentNumberCheckDigit -

getPaperTicketInd

public java.lang.Boolean getPaperTicketInd()
Get the 'PaperTicketInd' attribute value. Indicates whether passenger is using a paper ticket for this segment. If true, passenger is using a paper ticket to check-in for this segment. If false or unpopulated, the passenger is using an electronic ticket for this segment.

Returns:
value

setPaperTicketInd

public void setPaperTicketInd(java.lang.Boolean paperTicketInd)
Set the 'PaperTicketInd' attribute value. Indicates whether passenger is using a paper ticket for this segment. If true, passenger is using a paper ticket to check-in for this segment. If false or unpopulated, the passenger is using an electronic ticket for this segment.

Parameters:
paperTicketInd -

getCouponReference

public java.lang.String getCouponReference()
Get the 'CouponReference' attribute value. Coupon number, relative to total number of coupons (e.g., 10 of 12)

Returns:
value

setCouponReference

public void setCouponReference(java.lang.String couponReference)
Set the 'CouponReference' attribute value. Coupon number, relative to total number of coupons (e.g., 10 of 12)

Parameters:
couponReference -