org.ota.air
Class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.SaleDateRestriction

java.lang.Object
  extended by org.ota.air.FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.SaleDateRestriction
Enclosing class:
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction

public static class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.SaleDateRestriction
extends java.lang.Object

Restrict sale dates for this contract. 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="SaleDateRestriction" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:date" use="optional" name="StartDate"/>
     <xs:attribute type="xs:date" use="optional" name="EndDate"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeIndicator"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.SaleDateRestriction()
           
 
Method Summary
 java.sql.Date getEndDate()
          Get the 'EndDate' attribute value.
 java.lang.Boolean getIncludeIndicator()
          Get the 'IncludeIndicator' attribute value.
 java.sql.Date getStartDate()
          Get the 'StartDate' attribute value.
 void setEndDate(java.sql.Date endDate)
          Set the 'EndDate' attribute value.
 void setIncludeIndicator(java.lang.Boolean includeIndicator)
          Set the 'IncludeIndicator' attribute value.
 void setStartDate(java.sql.Date startDate)
          Set the 'StartDate' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.SaleDateRestriction

public FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.SaleDateRestriction()
Method Detail

getStartDate

public java.sql.Date getStartDate()
Get the 'StartDate' attribute value. The start date (inclusive) of the date range within which this fare can be sold.

Returns:
value

setStartDate

public void setStartDate(java.sql.Date startDate)
Set the 'StartDate' attribute value. The start date (inclusive) of the date range within which this fare can be sold.

Parameters:
startDate -

getEndDate

public java.sql.Date getEndDate()
Get the 'EndDate' attribute value. The end date (inclusive) of the date range within which this fare can be sold.

Returns:
value

setEndDate

public void setEndDate(java.sql.Date endDate)
Set the 'EndDate' attribute value. The end date (inclusive) of the date range within which this fare can be sold.

Parameters:
endDate -

getIncludeIndicator

public java.lang.Boolean getIncludeIndicator()
Get the 'IncludeIndicator' attribute value. When true, this fare can be sold within the date range. When false, this fare cannot be sold within the date range.

Returns:
value

setIncludeIndicator

public void setIncludeIndicator(java.lang.Boolean includeIndicator)
Set the 'IncludeIndicator' attribute value. When true, this fare can be sold within the date range. When false, this fare cannot be sold within the date range.

Parameters:
includeIndicator -