org.ota.tour
Class TourInformation.PolicyInfo

java.lang.Object
  extended by org.ota.tour.TourInformation.PolicyInfo
Enclosing class:
TourInformation

public static class TourInformation.PolicyInfo
extends java.lang.Object

Policy information pertaining to the tour. 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="PolicyInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CustomerPolicy" minOccurs="0">
         <!-- Reference to inner class CustomerPolicy -->
       </xs:element>
       <xs:element name="BookingPolicy" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:InvBlockCutoffGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class TourInformation.PolicyInfo.CustomerPolicy
          Basic customer policy information pertaining to the tour.
 
Constructor Summary
TourInformation.PolicyInfo()
           
 
Method Summary
 InvBlockCutoffGroup getBookingPolicy()
          Get the 'InvBlockCutoffGroup' attributeGroup value.
 TourInformation.PolicyInfo.CustomerPolicy getCustomerPolicy()
          Get the 'CustomerPolicy' element value.
 void setBookingPolicy(InvBlockCutoffGroup bookingPolicy)
          Set the 'InvBlockCutoffGroup' attributeGroup value.
 void setCustomerPolicy(TourInformation.PolicyInfo.CustomerPolicy customerPolicy)
          Set the 'CustomerPolicy' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TourInformation.PolicyInfo

public TourInformation.PolicyInfo()
Method Detail

getCustomerPolicy

public TourInformation.PolicyInfo.CustomerPolicy getCustomerPolicy()
Get the 'CustomerPolicy' element value.

Returns:
value

setCustomerPolicy

public void setCustomerPolicy(TourInformation.PolicyInfo.CustomerPolicy customerPolicy)
Set the 'CustomerPolicy' element value.

Parameters:
customerPolicy -

getBookingPolicy

public InvBlockCutoffGroup getBookingPolicy()
Get the 'InvBlockCutoffGroup' attributeGroup value. The date (AbsoluteCutoff) or period before departure (OffsetDuration) after which no bookings are permitted. The OffsetCalculationMode attribute is not required for Tours.

Returns:
value

setBookingPolicy

public void setBookingPolicy(InvBlockCutoffGroup bookingPolicy)
Set the 'InvBlockCutoffGroup' attributeGroup value. The date (AbsoluteCutoff) or period before departure (OffsetDuration) after which no bookings are permitted. The OffsetCalculationMode attribute is not required for Tours.

Parameters:
bookingPolicy -