org.ota.shared
Class RateQualifierCoreGroup

java.lang.Object
  extended by org.ota.shared.RateQualifierCoreGroup

public class RateQualifierCoreGroup
extends java.lang.Object

Defines the rate information that is common to all transactions. Such information may include rate codes, rate type, promotional codes, etc. This information may be used to determine the rate that is made available. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RateQualifierCoreGroup">
   <xs:attribute type="xs:string" use="optional" name="TravelPurpose"/>
   <xs:attribute type="xs:string" use="optional" name="RateCategory"/>
   <xs:attribute type="xs:string" use="optional" name="CorpDiscountNmbr"/>
   <xs:attributeGroup ref="ns:PromotionCodeGroup"/>
   <xs:attribute type="xs:string" use="optional" name="RateQualifier"/>
   <xs:attribute type="ns:RatePeriodSimpleType" use="optional" name="RatePeriod"/>
   <xs:attribute type="xs:boolean" use="optional" name="GuaranteedInd"/>
 </xs:attributeGroup>
 


Constructor Summary
RateQualifierCoreGroup()
           
 
Method Summary
 java.lang.String getCorpDiscountNmbr()
          Get the 'CorpDiscountNmbr' attribute value.
 java.lang.Boolean getGuaranteedInd()
          Get the 'GuaranteedInd' attribute value.
 PromotionCodeGroup getPromotionCodeGroup()
          Get the 'PromotionCodeGroup' attributeGroup value.
 java.lang.String getRateCategory()
          Get the 'RateCategory' attribute value.
 RatePeriodSimple getRatePeriod()
          Get the 'RatePeriod' attribute value.
 java.lang.String getRateQualifier()
          Get the 'RateQualifier' attribute value.
 java.lang.String getTravelPurpose()
          Get the 'TravelPurpose' attribute value.
 void setCorpDiscountNmbr(java.lang.String corpDiscountNmbr)
          Set the 'CorpDiscountNmbr' attribute value.
 void setGuaranteedInd(java.lang.Boolean guaranteedInd)
          Set the 'GuaranteedInd' attribute value.
 void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
          Set the 'PromotionCodeGroup' attributeGroup value.
 void setRateCategory(java.lang.String rateCategory)
          Set the 'RateCategory' attribute value.
 void setRatePeriod(RatePeriodSimple ratePeriod)
          Set the 'RatePeriod' attribute value.
 void setRateQualifier(java.lang.String rateQualifier)
          Set the 'RateQualifier' attribute value.
 void setTravelPurpose(java.lang.String travelPurpose)
          Set the 'TravelPurpose' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateQualifierCoreGroup

public RateQualifierCoreGroup()
Method Detail

getTravelPurpose

public java.lang.String getTravelPurpose()
Get the 'TravelPurpose' attribute value. Used to indicate the purpose, whether for business, personal or other. Refer to OpenTravel Code List Travel Purpose (TVP).

Returns:
value

setTravelPurpose

public void setTravelPurpose(java.lang.String travelPurpose)
Set the 'TravelPurpose' attribute value. Used to indicate the purpose, whether for business, personal or other. Refer to OpenTravel Code List Travel Purpose (TVP).

Parameters:
travelPurpose -

getRateCategory

public java.lang.String getRateCategory()
Get the 'RateCategory' attribute value. The RateCategory attribute defines a set of valid values for the category of a rate. Typically rates are offered as either Leisure rates or Business (Corporate) rates, with a business rate usually including additional costs such as the cost of insurance, etc. This set of values defines the rate categories. Refer to OpenTravel Code List Rate Category(RTC).

Returns:
value

setRateCategory

public void setRateCategory(java.lang.String rateCategory)
Set the 'RateCategory' attribute value. The RateCategory attribute defines a set of valid values for the category of a rate. Typically rates are offered as either Leisure rates or Business (Corporate) rates, with a business rate usually including additional costs such as the cost of insurance, etc. This set of values defines the rate categories. Refer to OpenTravel Code List Rate Category(RTC).

Parameters:
rateCategory -

getCorpDiscountNmbr

public java.lang.String getCorpDiscountNmbr()
Get the 'CorpDiscountNmbr' attribute value. This is the vendor specific code used to identify a special rate associated with a specific organization.

Returns:
value

setCorpDiscountNmbr

public void setCorpDiscountNmbr(java.lang.String corpDiscountNmbr)
Set the 'CorpDiscountNmbr' attribute value. This is the vendor specific code used to identify a special rate associated with a specific organization.

Parameters:
corpDiscountNmbr -

getPromotionCodeGroup

public PromotionCodeGroup getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value. Promotion code is the identifier used by the host to link directly with a specific named advertising campaign. By including the required code, the client is able to gain access to special offers which may have been created for a specifically targeted group via a CRM system or for a wider advertising campaign using Television or press adverts.

Returns:
value

setPromotionCodeGroup

public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value. Promotion code is the identifier used by the host to link directly with a specific named advertising campaign. By including the required code, the client is able to gain access to special offers which may have been created for a specifically targeted group via a CRM system or for a wider advertising campaign using Television or press adverts.

Parameters:
promotionCodeGroup -

getRateQualifier

public java.lang.String getRateQualifier()
Get the 'RateQualifier' attribute value. This is the vendor specific code for rate codes (e.g. WES, 2A, DLY00).

Returns:
value

setRateQualifier

public void setRateQualifier(java.lang.String rateQualifier)
Set the 'RateQualifier' attribute value. This is the vendor specific code for rate codes (e.g. WES, 2A, DLY00).

Parameters:
rateQualifier -

getRatePeriod

public RatePeriodSimple getRatePeriod()
Get the 'RatePeriod' attribute value. The RatePeriod attribute defines the type of rate that may be applied. For example, typically car rental rates differ based upon the duration of the rental, and the actual rate is then expressed in terms of the period of the rental.

Returns:
value

setRatePeriod

public void setRatePeriod(RatePeriodSimple ratePeriod)
Set the 'RatePeriod' attribute value. The RatePeriod attribute defines the type of rate that may be applied. For example, typically car rental rates differ based upon the duration of the rental, and the actual rate is then expressed in terms of the period of the rental.

Parameters:
ratePeriod -

getGuaranteedInd

public java.lang.Boolean getGuaranteedInd()
Get the 'GuaranteedInd' attribute value. When true, only guaranteed rates should be returned. When false, all rates should be returned

Returns:
value

setGuaranteedInd

public void setGuaranteedInd(java.lang.Boolean guaranteedInd)
Set the 'GuaranteedInd' attribute value. When true, only guaranteed rates should be returned. When false, all rates should be returned

Parameters:
guaranteedInd -