org.ota.air
Class VoluntaryChanges.Penalty

java.lang.Object
  extended by org.ota.air.VoluntaryChanges.Penalty
Enclosing class:
VoluntaryChanges

public static class VoluntaryChanges.Penalty
extends java.lang.Object

Specifies penalty charges as either a currency amount or a percentage of the fare 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="Penalty" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="PenaltyType"/>
     <xs:attribute type="xs:string" use="optional" name="DepartureStatus"/>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute type="xs:float" name="Percent"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VoluntaryChanges.Penalty()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getDepartureStatus()
          Get the 'DepartureStatus' attribute value.
 java.lang.String getPenalty()
          Get the 'PenaltyType' attribute value.
 java.lang.Float getPercent()
          Get the 'Percent' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDepartureStatus(java.lang.String departureStatus)
          Set the 'DepartureStatus' attribute value.
 void setPenalty(java.lang.String penalty)
          Set the 'PenaltyType' attribute value.
 void setPercent(java.lang.Float percent)
          Set the 'Percent' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoluntaryChanges.Penalty

public VoluntaryChanges.Penalty()
Method Detail

getPenalty

public java.lang.String getPenalty()
Get the 'PenaltyType' attribute value. Indicates the type of penalty involved in the search or response.

Returns:
value

setPenalty

public void setPenalty(java.lang.String penalty)
Set the 'PenaltyType' attribute value. Indicates the type of penalty involved in the search or response.

Parameters:
penalty -

getDepartureStatus

public java.lang.String getDepartureStatus()
Get the 'DepartureStatus' attribute value. Identifier used to indicate whether the change occurs before or after departure from the origin city.

Returns:
value

setDepartureStatus

public void setDepartureStatus(java.lang.String departureStatus)
Set the 'DepartureStatus' attribute value. Identifier used to indicate whether the change occurs before or after departure from the origin city.

Parameters:
departureStatus -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The penalty charge defined a fee in terms of its amount, currency and decimal laces.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The penalty charge defined a fee in terms of its amount, currency and decimal laces.

Parameters:
currencyAmountGroup -

getPercent

public java.lang.Float getPercent()
Get the 'Percent' attribute value. The penalty charge conveyed as a percent of the total fare.

Returns:
value

setPercent

public void setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. The penalty charge conveyed as a percent of the total fare.

Parameters:
percent -