org.ota.profile
Class LoyaltyProgram

java.lang.Object
  extended by org.ota.profile.LoyaltyProgram

public class LoyaltyProgram
extends java.lang.Object

Identifies a membership or loyalty program offered by the company by name of the program. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LoyaltyProgramType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" use="optional" name="ProgramCode"/>
       <xs:attributeGroup ref="ns:SingleVendorIndGroup"/>
       <xs:attribute type="xs:string" use="optional" name="LoyaltyLevel"/>
       <xs:attribute type="xs:string" use="optional" name="RPH"/>
       <xs:attribute type="xs:boolean" use="optional" name="PrimaryLoyaltyIndicator"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Constructor Summary
LoyaltyProgram()
           
 
Method Summary
 java.lang.String getLoyaltyLevel()
          Get the 'LoyaltyLevel' attribute value.
 java.lang.Boolean getPrimaryLoyaltyIndicator()
          Get the 'PrimaryLoyaltyIndicator' attribute value.
 java.lang.String getProgramCode()
          Get the 'ProgramCode' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 SingleVendorIndGroup getSingleVendorIndGroup()
          Get the 'SingleVendorIndGroup' attributeGroup value.
 java.lang.String getString()
          Get the extension value.
 void setLoyaltyLevel(java.lang.String loyaltyLevel)
          Set the 'LoyaltyLevel' attribute value.
 void setPrimaryLoyaltyIndicator(java.lang.Boolean primaryLoyaltyIndicator)
          Set the 'PrimaryLoyaltyIndicator' attribute value.
 void setProgramCode(java.lang.String programCode)
          Set the 'ProgramCode' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 void setSingleVendorIndGroup(SingleVendorIndGroup singleVendorIndGroup)
          Set the 'SingleVendorIndGroup' attributeGroup value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoyaltyProgram

public LoyaltyProgram()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getProgramCode

public java.lang.String getProgramCode()
Get the 'ProgramCode' attribute value. Identification of the loyalty program by code.

Returns:
value

setProgramCode

public void setProgramCode(java.lang.String programCode)
Set the 'ProgramCode' attribute value. Identification of the loyalty program by code.

Parameters:
programCode -

getSingleVendorIndGroup

public SingleVendorIndGroup getSingleVendorIndGroup()
Get the 'SingleVendorIndGroup' attributeGroup value. Indicates the alliance status of the loyalty program.

Returns:
value

setSingleVendorIndGroup

public void setSingleVendorIndGroup(SingleVendorIndGroup singleVendorIndGroup)
Set the 'SingleVendorIndGroup' attributeGroup value. Indicates the alliance status of the loyalty program.

Parameters:
singleVendorIndGroup -

getLoyaltyLevel

public java.lang.String getLoyaltyLevel()
Get the 'LoyaltyLevel' attribute value. Indicates special privileges in program assigned to individual.

Returns:
value

setLoyaltyLevel

public void setLoyaltyLevel(java.lang.String loyaltyLevel)
Set the 'LoyaltyLevel' attribute value. Indicates special privileges in program assigned to individual.

Parameters:
loyaltyLevel -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. A unique reference for a loyalty program within this message.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. A unique reference for a loyalty program within this message.

Parameters:
RPH -

getPrimaryLoyaltyIndicator

public java.lang.Boolean getPrimaryLoyaltyIndicator()
Get the 'PrimaryLoyaltyIndicator' attribute value. When true, indicates this is the primary loyalty program and when false, indicates this is not the primary loyalty program.

Returns:
value

setPrimaryLoyaltyIndicator

public void setPrimaryLoyaltyIndicator(java.lang.Boolean primaryLoyaltyIndicator)
Set the 'PrimaryLoyaltyIndicator' attribute value. When true, indicates this is the primary loyalty program and when false, indicates this is not the primary loyalty program.

Parameters:
primaryLoyaltyIndicator -