org.ota.hotel
Class InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode

java.lang.Object
  extended by org.ota.hotel.InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode
Enclosing class:
InvBlock.RoomTypes.Room.RatePlans.RatePlan

public static class InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode
extends java.lang.Object

This is user specific information used for tracking and market segmentation reporting. 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="MarketCode" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="MarketCode"/>
     <xs:attribute type="xs:string" use="optional" name="MarketCodeName"/>
     <xs:attribute type="xs:boolean" use="optional" name="CommissionableIndicator"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode()
           
 
Method Summary
 java.lang.Boolean getCommissionableIndicator()
          Get the 'CommissionableIndicator' attribute value.
 java.lang.String getMarketCode()
          Get the 'MarketCode' attribute value.
 java.lang.String getMarketCodeName()
          Get the 'MarketCodeName' attribute value.
 void setCommissionableIndicator(java.lang.Boolean commissionableIndicator)
          Set the 'CommissionableIndicator' attribute value.
 void setMarketCode(java.lang.String marketCode)
          Set the 'MarketCode' attribute value.
 void setMarketCodeName(java.lang.String marketCodeName)
          Set the 'MarketCodeName' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode

public InvBlock.RoomTypes.Room.RatePlans.RatePlan.MarketCode()
Method Detail

getMarketCode

public java.lang.String getMarketCode()
Get the 'MarketCode' attribute value. The company specific code that relates to the market being sold to (e.g. corporate, government, association, social).

Returns:
value

setMarketCode

public void setMarketCode(java.lang.String marketCode)
Set the 'MarketCode' attribute value. The company specific code that relates to the market being sold to (e.g. corporate, government, association, social).

Parameters:
marketCode -

getMarketCodeName

public java.lang.String getMarketCodeName()
Get the 'MarketCodeName' attribute value. The descriptive name of the code that relates to the market being sold to (e.g. corporate, government, association, social).

Returns:
value

setMarketCodeName

public void setMarketCodeName(java.lang.String marketCodeName)
Set the 'MarketCodeName' attribute value. The descriptive name of the code that relates to the market being sold to (e.g. corporate, government, association, social).

Parameters:
marketCodeName -

getCommissionableIndicator

public java.lang.Boolean getCommissionableIndicator()
Get the 'CommissionableIndicator' attribute value. If true, indicates that the rate for this market code is commissionable. The Commission element may be used to send details regarding the commission.

Returns:
value

setCommissionableIndicator

public void setCommissionableIndicator(java.lang.Boolean commissionableIndicator)
Set the 'CommissionableIndicator' attribute value. If true, indicates that the rate for this market code is commissionable. The Commission element may be used to send details regarding the commission.

Parameters:
commissionableIndicator -