org.ota.hotel
Class HotelDescriptiveContent.Policies.Policy

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.Policies.Policy
Enclosing class:
HotelDescriptiveContent.Policies

public static class HotelDescriptiveContent.Policies.Policy
extends java.lang.Object

Describes the policies of the hotel, such as the type of payments, or whether children or pets are accepted. 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="Policy" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:CancelPenaltiesType" name="CancelPolicy" minOccurs="0"/>
       <xs:element name="GuaranteePaymentPolicy" minOccurs="0">
         <!-- Reference to inner class GuaranteePaymentPolicy -->
       </xs:element>
       <xs:element name="PolicyInfoCodes" minOccurs="0">
         <!-- Reference to inner class PolicyInfoCodes -->
       </xs:element>
       <xs:element name="CheckoutCharges" minOccurs="0">
         <!-- Reference to inner class CheckoutCharges -->
       </xs:element>
       <xs:element name="PolicyInfo" minOccurs="0">
         <!-- Reference to inner class PolicyInfo -->
       </xs:element>
       <xs:element name="TaxPolicies" minOccurs="0">
         <!-- Reference to inner class TaxPolicies -->
       </xs:element>
       <xs:element name="PetsPolicies" minOccurs="0">
         <!-- Reference to inner class PetsPolicies -->
       </xs:element>
       <xs:element name="StayRequirements" minOccurs="0">
         <!-- Reference to inner class StayRequirements -->
       </xs:element>
       <xs:element name="CommissionPolicy" minOccurs="0">
         <!-- Reference to inner class CommissionPolicy -->
       </xs:element>
       <xs:element name="FeePolicies" minOccurs="0">
         <!-- Reference to inner class FeePolicies -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:int" use="optional" name="DefaultValidBookingMinOffset"/>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:dateTime" use="optional" name="LastUpdated"/>
     <xs:attributeGroup ref="ns:DOW_PatternGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.Policies.Policy.CheckoutCharges
          Schema fragment(s) for this class:
static class HotelDescriptiveContent.Policies.Policy.CommissionPolicy
          Used to define the property's high-level commission policy.
static class HotelDescriptiveContent.Policies.Policy.FeePolicies
          A collection of fees that may apply to a reservation.
static class HotelDescriptiveContent.Policies.Policy.GuaranteePaymentPolicy
          A collection of deposit policies, guarantees policy, and/or accepted forms of payment.
static class HotelDescriptiveContent.Policies.Policy.PetsPolicies
          Schema fragment(s) for this class:
static class HotelDescriptiveContent.Policies.Policy.PolicyInfo
          Schema fragment(s) for this class:
static class HotelDescriptiveContent.Policies.Policy.PolicyInfoCodes
          Schema fragment(s) for this class:
static class HotelDescriptiveContent.Policies.Policy.StayRequirements
          Collection of stay requirements.
static class HotelDescriptiveContent.Policies.Policy.TaxPolicies
          Schema fragment(s) for this class:
 
Constructor Summary
HotelDescriptiveContent.Policies.Policy()
           
 
Method Summary
 CancelPenalties getCancelPolicy()
          Get the 'CancelPolicy' element value.
 HotelDescriptiveContent.Policies.Policy.CheckoutCharges getCheckoutCharges()
          Get the 'CheckoutCharges' element value.
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 HotelDescriptiveContent.Policies.Policy.CommissionPolicy getCommissionPolicy()
          Get the 'CommissionPolicy' element value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 java.lang.Integer getDefaultValidBookingMinOffset()
          Get the 'DefaultValidBookingMinOffset' attribute value.
 DOWPatternGroup getDOWPatternGroup()
          Get the 'DOW_PatternGroup' attributeGroup value.
 HotelDescriptiveContent.Policies.Policy.FeePolicies getFeePolicies()
          Get the 'FeePolicies' element value.
 HotelDescriptiveContent.Policies.Policy.GuaranteePaymentPolicy getGuaranteePaymentPolicy()
          Get the 'GuaranteePaymentPolicy' element value.
 java.util.Date getLastUpdated()
          Get the 'LastUpdated' attribute value.
 HotelDescriptiveContent.Policies.Policy.PetsPolicies getPetsPolicies()
          Get the 'PetsPolicies' element value.
 HotelDescriptiveContent.Policies.Policy.PolicyInfo getPolicyInfo()
          Get the 'PolicyInfo' element value.
 HotelDescriptiveContent.Policies.Policy.PolicyInfoCodes getPolicyInfoCodes()
          Get the 'PolicyInfoCodes' element value.
 HotelDescriptiveContent.Policies.Policy.StayRequirements getStayRequirements()
          Get the 'StayRequirements' element value.
 HotelDescriptiveContent.Policies.Policy.TaxPolicies getTaxPolicies()
          Get the 'TaxPolicies' element value.
 void setCancelPolicy(CancelPenalties cancelPolicy)
          Set the 'CancelPolicy' element value.
 void setCheckoutCharges(HotelDescriptiveContent.Policies.Policy.CheckoutCharges checkoutCharges)
          Set the 'CheckoutCharges' element value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setCommissionPolicy(HotelDescriptiveContent.Policies.Policy.CommissionPolicy commissionPolicy)
          Set the 'CommissionPolicy' element value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDefaultValidBookingMinOffset(java.lang.Integer defaultValidBookingMinOffset)
          Set the 'DefaultValidBookingMinOffset' attribute value.
 void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
          Set the 'DOW_PatternGroup' attributeGroup value.
 void setFeePolicies(HotelDescriptiveContent.Policies.Policy.FeePolicies feePolicies)
          Set the 'FeePolicies' element value.
 void setGuaranteePaymentPolicy(HotelDescriptiveContent.Policies.Policy.GuaranteePaymentPolicy guaranteePaymentPolicy)
          Set the 'GuaranteePaymentPolicy' element value.
 void setLastUpdated(java.util.Date lastUpdated)
          Set the 'LastUpdated' attribute value.
 void setPetsPolicies(HotelDescriptiveContent.Policies.Policy.PetsPolicies petsPolicies)
          Set the 'PetsPolicies' element value.
 void setPolicyInfo(HotelDescriptiveContent.Policies.Policy.PolicyInfo policyInfo)
          Set the 'PolicyInfo' element value.
 void setPolicyInfoCodes(HotelDescriptiveContent.Policies.Policy.PolicyInfoCodes policyInfoCodes)
          Set the 'PolicyInfoCodes' element value.
 void setStayRequirements(HotelDescriptiveContent.Policies.Policy.StayRequirements stayRequirements)
          Set the 'StayRequirements' element value.
 void setTaxPolicies(HotelDescriptiveContent.Policies.Policy.TaxPolicies taxPolicies)
          Set the 'TaxPolicies' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.Policies.Policy

public HotelDescriptiveContent.Policies.Policy()
Method Detail

getCancelPolicy

public CancelPenalties getCancelPolicy()
Get the 'CancelPolicy' element value. Defines the cancellation policy of the hotel facility.

Returns:
value

setCancelPolicy

public void setCancelPolicy(CancelPenalties cancelPolicy)
Set the 'CancelPolicy' element value. Defines the cancellation policy of the hotel facility.

Parameters:
cancelPolicy -

getGuaranteePaymentPolicy

public HotelDescriptiveContent.Policies.Policy.GuaranteePaymentPolicy getGuaranteePaymentPolicy()
Get the 'GuaranteePaymentPolicy' element value.

Returns:
value

setGuaranteePaymentPolicy

public void setGuaranteePaymentPolicy(HotelDescriptiveContent.Policies.Policy.GuaranteePaymentPolicy guaranteePaymentPolicy)
Set the 'GuaranteePaymentPolicy' element value.

Parameters:
guaranteePaymentPolicy -

getPolicyInfoCodes

public HotelDescriptiveContent.Policies.Policy.PolicyInfoCodes getPolicyInfoCodes()
Get the 'PolicyInfoCodes' element value.

Returns:
value

setPolicyInfoCodes

public void setPolicyInfoCodes(HotelDescriptiveContent.Policies.Policy.PolicyInfoCodes policyInfoCodes)
Set the 'PolicyInfoCodes' element value.

Parameters:
policyInfoCodes -

getCheckoutCharges

public HotelDescriptiveContent.Policies.Policy.CheckoutCharges getCheckoutCharges()
Get the 'CheckoutCharges' element value.

Returns:
value

setCheckoutCharges

public void setCheckoutCharges(HotelDescriptiveContent.Policies.Policy.CheckoutCharges checkoutCharges)
Set the 'CheckoutCharges' element value.

Parameters:
checkoutCharges -

getPolicyInfo

public HotelDescriptiveContent.Policies.Policy.PolicyInfo getPolicyInfo()
Get the 'PolicyInfo' element value.

Returns:
value

setPolicyInfo

public void setPolicyInfo(HotelDescriptiveContent.Policies.Policy.PolicyInfo policyInfo)
Set the 'PolicyInfo' element value.

Parameters:
policyInfo -

getTaxPolicies

public HotelDescriptiveContent.Policies.Policy.TaxPolicies getTaxPolicies()
Get the 'TaxPolicies' element value.

Returns:
value

setTaxPolicies

public void setTaxPolicies(HotelDescriptiveContent.Policies.Policy.TaxPolicies taxPolicies)
Set the 'TaxPolicies' element value.

Parameters:
taxPolicies -

getPetsPolicies

public HotelDescriptiveContent.Policies.Policy.PetsPolicies getPetsPolicies()
Get the 'PetsPolicies' element value.

Returns:
value

setPetsPolicies

public void setPetsPolicies(HotelDescriptiveContent.Policies.Policy.PetsPolicies petsPolicies)
Set the 'PetsPolicies' element value.

Parameters:
petsPolicies -

getStayRequirements

public HotelDescriptiveContent.Policies.Policy.StayRequirements getStayRequirements()
Get the 'StayRequirements' element value.

Returns:
value

setStayRequirements

public void setStayRequirements(HotelDescriptiveContent.Policies.Policy.StayRequirements stayRequirements)
Set the 'StayRequirements' element value.

Parameters:
stayRequirements -

getCommissionPolicy

public HotelDescriptiveContent.Policies.Policy.CommissionPolicy getCommissionPolicy()
Get the 'CommissionPolicy' element value.

Returns:
value

setCommissionPolicy

public void setCommissionPolicy(HotelDescriptiveContent.Policies.Policy.CommissionPolicy commissionPolicy)
Set the 'CommissionPolicy' element value.

Parameters:
commissionPolicy -

getFeePolicies

public HotelDescriptiveContent.Policies.Policy.FeePolicies getFeePolicies()
Get the 'FeePolicies' element value.

Returns:
value

setFeePolicies

public void setFeePolicies(HotelDescriptiveContent.Policies.Policy.FeePolicies feePolicies)
Set the 'FeePolicies' element value.

Parameters:
feePolicies -

getDefaultValidBookingMinOffset

public java.lang.Integer getDefaultValidBookingMinOffset()
Get the 'DefaultValidBookingMinOffset' attribute value. Defines the default minimum number of days in advance that a booking must be made at this hotel.

Returns:
value

setDefaultValidBookingMinOffset

public void setDefaultValidBookingMinOffset(java.lang.Integer defaultValidBookingMinOffset)
Set the 'DefaultValidBookingMinOffset' attribute value. Defines the default minimum number of days in advance that a booking must be made at this hotel.

Parameters:
defaultValidBookingMinOffset -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. Used to indicate the effective dates of the policy.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. Used to indicate the effective dates of the policy.

Parameters:
dateTimeSpanGroup -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. The code identifying this policy.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. The code identifying this policy.

Parameters:
code -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Parameters:
codeInfoGroup -

getLastUpdated

public java.util.Date getLastUpdated()
Get the 'LastUpdated' attribute value. The date and time when the policy information for this hotel was last updated.

Returns:
value

setLastUpdated

public void setLastUpdated(java.util.Date lastUpdated)
Set the 'LastUpdated' attribute value. The date and time when the policy information for this hotel was last updated.

Parameters:
lastUpdated -

getDOWPatternGroup

public DOWPatternGroup getDOWPatternGroup()
Get the 'DOW_PatternGroup' attributeGroup value. Used to indicate the effective day for the policy.

Returns:
value

setDOWPatternGroup

public void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
Set the 'DOW_PatternGroup' attributeGroup value. Used to indicate the effective day for the policy.

Parameters:
DOWPatternGroup -