org.ota.hotel
Class HotelSearchCriterion.Service

java.lang.Object
  extended by org.ota.hotel.HotelSearchCriterion.Service
Enclosing class:
HotelSearchCriterion

public static class HotelSearchCriterion.Service
extends java.lang.Object

Identifies services of interest. 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="Service" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="BusinessServiceCode"/>
     <xs:attribute type="xs:string" use="optional" name="ServiceInventoryCode"/>
     <xs:attribute type="xs:int" use="optional" name="Quantity"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelSearchCriterion.Service()
           
 
Method Summary
 java.lang.String getBusinessServiceCode()
          Get the 'BusinessServiceCode' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getServiceInventoryCode()
          Get the 'ServiceInventoryCode' attribute value.
 void setBusinessServiceCode(java.lang.String businessServiceCode)
          Set the 'BusinessServiceCode' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setServiceInventoryCode(java.lang.String serviceInventoryCode)
          Set the 'ServiceInventoryCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelSearchCriterion.Service

public HotelSearchCriterion.Service()
Method Detail

getBusinessServiceCode

public java.lang.String getBusinessServiceCode()
Get the 'BusinessServiceCode' attribute value. Used to identify a specific business service. Refer to OpenTravel Code list Business Srvc Type (BUS).

Returns:
value

setBusinessServiceCode

public void setBusinessServiceCode(java.lang.String businessServiceCode)
Set the 'BusinessServiceCode' attribute value. Used to identify a specific business service. Refer to OpenTravel Code list Business Srvc Type (BUS).

Parameters:
businessServiceCode -

getServiceInventoryCode

public java.lang.String getServiceInventoryCode()
Get the 'ServiceInventoryCode' attribute value. The representation of the specific service being reserved.

Returns:
value

setServiceInventoryCode

public void setServiceInventoryCode(java.lang.String serviceInventoryCode)
Set the 'ServiceInventoryCode' attribute value. The representation of the specific service being reserved.

Parameters:
serviceInventoryCode -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. The number of services (e.g., tickets, rounds of golf).

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. The number of services (e.g., tickets, rounds of golf).

Parameters:
quantity -