org.ota.dynamicpkg
Class AvailRQ.PromotionCodes.PromotionCode

java.lang.Object
  extended by org.ota.dynamicpkg.AvailRQ.PromotionCodes.PromotionCode
Enclosing class:
AvailRQ.PromotionCodes

public static class AvailRQ.PromotionCodes.PromotionCode
extends java.lang.Object

Used to apply discounts and tracking codes to a package. 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="PromotionCode" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="RPH"/>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRQ.PromotionCodes.PromotionCode()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRQ.PromotionCodes.PromotionCode

public AvailRQ.PromotionCodes.PromotionCode()
Method Detail

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. This is a reference placeholder, used as a unique index for this promotion code in this message.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. This is a reference placeholder, used as a unique index for this promotion code in this message.

Parameters:
RPH -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. The code identiying the tracking or discount promotion. Each code may be referenced by one or more component specific search criteria.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. The code identiying the tracking or discount promotion. Each code may be referenced by one or more component specific search criteria.

Parameters:
code -