org.ota.hotel
Class HotelDescriptiveContent.Policies.Policy.PetsPolicies.PetsPolicy

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

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

Detailed policy information when Pets are Allowed. 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="PetsPolicy" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ParagraphType" name="Description" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="PetsPolicyCode"/>
     <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
     <xs:attribute type="xs:int" use="optional" name="MaxPetQuantity"/>
     <xs:attribute type="xs:float" use="optional" name="RefundableDeposit"/>
     <xs:attribute type="xs:float" use="optional" name="NonRefundableFee"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ChargeCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="RestrictionInd"/>
     <xs:attribute type="xs:float" use="optional" name="MinUnitOfMeasureQuantity"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelDescriptiveContent.Policies.Policy.PetsPolicies.PetsPolicy()
           
 
Method Summary
 void addDescription(Paragraph item)
          Add a 'Description' element item.
 void clearDescriptions()
          Remove all 'Description' element items.
 java.lang.String getChargeCode()
          Get the 'ChargeCode' attribute value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Paragraph getDescription(int index)
          Get 'Description' element item by position.
 java.util.List<Paragraph> getDescriptions()
          Get the list of 'Description' element items.
 java.lang.Integer getMaxPetQuantity()
          Get the 'MaxPetQuantity' attribute value.
 java.lang.Float getMinUnitOfMeasureQuantity()
          Get the 'MinUnitOfMeasureQuantity' attribute value.
 java.lang.Float getNonRefundableFee()
          Get the 'NonRefundableFee' attribute value.
 java.lang.String getPetsPolicyCode()
          Get the 'PetsPolicyCode' attribute value.
 java.lang.Float getRefundableDeposit()
          Get the 'RefundableDeposit' attribute value.
 java.lang.Boolean getRestrictionInd()
          Get the 'RestrictionInd' attribute value.
 UnitsOfMeasureGroup getUnitsOfMeasureGroup()
          Get the 'UnitsOfMeasureGroup' attributeGroup value.
 void setChargeCode(java.lang.String chargeCode)
          Set the 'ChargeCode' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setDescriptions(java.util.List<Paragraph> list)
          Set the list of 'Description' element items.
 void setMaxPetQuantity(java.lang.Integer maxPetQuantity)
          Set the 'MaxPetQuantity' attribute value.
 void setMinUnitOfMeasureQuantity(java.lang.Float minUnitOfMeasureQuantity)
          Set the 'MinUnitOfMeasureQuantity' attribute value.
 void setNonRefundableFee(java.lang.Float nonRefundableFee)
          Set the 'NonRefundableFee' attribute value.
 void setPetsPolicyCode(java.lang.String petsPolicyCode)
          Set the 'PetsPolicyCode' attribute value.
 void setRefundableDeposit(java.lang.Float refundableDeposit)
          Set the 'RefundableDeposit' attribute value.
 void setRestrictionInd(java.lang.Boolean restrictionInd)
          Set the 'RestrictionInd' attribute value.
 void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
          Set the 'UnitsOfMeasureGroup' attributeGroup value.
 int sizeDescriptions()
          Get the number of 'Description' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.Policies.Policy.PetsPolicies.PetsPolicy

public HotelDescriptiveContent.Policies.Policy.PetsPolicies.PetsPolicy()
Method Detail

getDescriptions

public java.util.List<Paragraph> getDescriptions()
Get the list of 'Description' element items. A description of the pet policy.

Returns:
list

setDescriptions

public void setDescriptions(java.util.List<Paragraph> list)
Set the list of 'Description' element items. A description of the pet policy.

Parameters:
list -

sizeDescriptions

public int sizeDescriptions()
Get the number of 'Description' element items.

Returns:
count

addDescription

public void addDescription(Paragraph item)
Add a 'Description' element item.

Parameters:
item -

getDescription

public Paragraph getDescription(int index)
Get 'Description' element item by position.

Parameters:
index -
Returns:
item

clearDescriptions

public void clearDescriptions()
Remove all 'Description' element items.


getPetsPolicyCode

public java.lang.String getPetsPolicyCode()
Get the 'PetsPolicyCode' attribute value. Use OpenTravel Code Table Pet Policy Code list (PET).

Returns:
value

setPetsPolicyCode

public void setPetsPolicyCode(java.lang.String petsPolicyCode)
Set the 'PetsPolicyCode' attribute value. Use OpenTravel Code Table Pet Policy Code list (PET).

Parameters:
petsPolicyCode -

getUnitsOfMeasureGroup

public UnitsOfMeasureGroup getUnitsOfMeasureGroup()
Get the 'UnitsOfMeasureGroup' attributeGroup value. This is used to designate the maximum pet weight and unit of weight measure (e.g., pounds or kilograms).

Returns:
value

setUnitsOfMeasureGroup

public void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
Set the 'UnitsOfMeasureGroup' attributeGroup value. This is used to designate the maximum pet weight and unit of weight measure (e.g., pounds or kilograms).

Parameters:
unitsOfMeasureGroup -

getMaxPetQuantity

public java.lang.Integer getMaxPetQuantity()
Get the 'MaxPetQuantity' attribute value. Maximum Number of Pets allowed in the accommodation provided.

Returns:
value

setMaxPetQuantity

public void setMaxPetQuantity(java.lang.Integer maxPetQuantity)
Set the 'MaxPetQuantity' attribute value. Maximum Number of Pets allowed in the accommodation provided.

Parameters:
maxPetQuantity -

getRefundableDeposit

public java.lang.Float getRefundableDeposit()
Get the 'RefundableDeposit' attribute value.

Returns:
value

setRefundableDeposit

public void setRefundableDeposit(java.lang.Float refundableDeposit)
Set the 'RefundableDeposit' attribute value.

Parameters:
refundableDeposit -

getNonRefundableFee

public java.lang.Float getNonRefundableFee()
Get the 'NonRefundableFee' attribute value. Specifies the charge associated with a pet staying in the room.

Returns:
value

setNonRefundableFee

public void setNonRefundableFee(java.lang.Float nonRefundableFee)
Set the 'NonRefundableFee' attribute value. Specifies the charge associated with a pet staying in the room.

Parameters:
nonRefundableFee -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -

getChargeCode

public java.lang.String getChargeCode()
Get the 'ChargeCode' attribute value. Used to provide charge information for a pet. Refer to OpenTravel Code list Charge Type (CHG).

Returns:
value

setChargeCode

public void setChargeCode(java.lang.String chargeCode)
Set the 'ChargeCode' attribute value. Used to provide charge information for a pet. Refer to OpenTravel Code list Charge Type (CHG).

Parameters:
chargeCode -

getRestrictionInd

public java.lang.Boolean getRestrictionInd()
Get the 'RestrictionInd' attribute value. When true, there is a restriction associated with this pet policy. When false, there is not a restriction associated with this pet policy.

Returns:
value

setRestrictionInd

public void setRestrictionInd(java.lang.Boolean restrictionInd)
Set the 'RestrictionInd' attribute value. When true, there is a restriction associated with this pet policy. When false, there is not a restriction associated with this pet policy.

Parameters:
restrictionInd -

getMinUnitOfMeasureQuantity

public java.lang.Float getMinUnitOfMeasureQuantity()
Get the 'MinUnitOfMeasureQuantity' attribute value. This is used to designate the minimum pet weight allowed. The unit of measure code may indicate the associated unit of weight measure (e.g., pounds or kilograms).

Returns:
value

setMinUnitOfMeasureQuantity

public void setMinUnitOfMeasureQuantity(java.lang.Float minUnitOfMeasureQuantity)
Set the 'MinUnitOfMeasureQuantity' attribute value. This is used to designate the minimum pet weight allowed. The unit of measure code may indicate the associated unit of weight measure (e.g., pounds or kilograms).

Parameters:
minUnitOfMeasureQuantity -