org.ota.hotel
Class HotelAdditionalCharges.AdditionalCharge

java.lang.Object
  extended by org.ota.hotel.HotelAdditionalCharges.AdditionalCharge
Enclosing class:
HotelAdditionalCharges

public static class HotelAdditionalCharges.AdditionalCharge
extends java.lang.Object

Amenities or services to which a charge applies. 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="AdditionalCharge" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:TotalType" name="Amount" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="RoomAmenityCode"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 


Constructor Summary
HotelAdditionalCharges.AdditionalCharge()
           
 
Method Summary
 Total getAmount()
          Get the 'Amount' element value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getRoomAmenityCode()
          Get the 'RoomAmenityCode' attribute value.
 void setAmount(Total amount)
          Set the 'Amount' element value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setRoomAmenityCode(java.lang.String roomAmenityCode)
          Set the 'RoomAmenityCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelAdditionalCharges.AdditionalCharge

public HotelAdditionalCharges.AdditionalCharge()
Method Detail

getAmount

public Total getAmount()
Get the 'Amount' element value. The amount charged for an amenity or service.

Returns:
value

setAmount

public void setAmount(Total amount)
Set the 'Amount' element value. The amount charged for an amenity or service.

Parameters:
amount -

getRoomAmenityCode

public java.lang.String getRoomAmenityCode()
Get the 'RoomAmenityCode' attribute value. Identifes the types of room amenities to which a charge applies. Refer to OpenTravel Code List Room Amenity Type (RMA).

Returns:
value

setRoomAmenityCode

public void setRoomAmenityCode(java.lang.String roomAmenityCode)
Set the 'RoomAmenityCode' attribute value. Identifes the types of room amenities to which a charge applies. Refer to OpenTravel Code List Room Amenity Type (RMA).

Parameters:
roomAmenityCode -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -