org.ota.shared
Class CustomerLoyaltyGroup

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

public class CustomerLoyaltyGroup
extends java.lang.Object

Program rewarding frequent use by accumulating credits for services provided by vendors. 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="CustomerLoyaltyGroup">
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attribute type="xs:string" name="ProgramID"/>
   <xs:attribute type="xs:string" name="MembershipID"/>
   <xs:attribute type="xs:string" use="optional" name="TravelSector"/>
   <xs:attributeGroup ref="ns:LoyalLevelGroup"/>
   <xs:attributeGroup ref="ns:SingleVendorIndGroup"/>
   <xs:attributeGroup ref="ns:SignupDateGroup"/>
   <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
   <xs:attribute type="xs:string" name="RPH"/>
   <xs:attribute type="xs:string" use="optional" name="VendorCode"/>
   <xs:attribute type="xs:boolean" use="optional" name="PrimaryLoyaltyIndicator"/>
   <xs:attribute type="xs:string" use="optional" name="AllianceLoyaltyLevelName"/>
   <xs:attribute type="xs:string" use="optional" name="CustomerType"/>
   <xs:attribute type="xs:string" use="optional" name="CustomerValue"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SignupDateGroup">
   <xs:attribute type="xs:date" use="optional" name="SignupDate"/>
 </xs:attributeGroup>
 


Constructor Summary
CustomerLoyaltyGroup()
           
 
Method Summary
 java.lang.String getAllianceLoyaltyLevelName()
          Get the 'AllianceLoyaltyLevelName' attribute value.
 java.lang.String getCustomer()
          Get the 'CustomerType' attribute value.
 java.lang.String getCustomerValue()
          Get the 'CustomerValue' attribute value.
 EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 LoyalLevelGroup getLoyalLevelGroup()
          Get the 'LoyalLevelGroup' attributeGroup value.
 java.lang.String getMembershipID()
          Get the 'MembershipID' attribute value.
 java.lang.Boolean getPrimaryLoyaltyIndicator()
          Get the 'PrimaryLoyaltyIndicator' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.lang.String getProgramID()
          Get the 'ProgramID' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 java.sql.Date getSignupDate()
          Get the 'SignupDate' attribute value.
 SingleVendorIndGroup getSingleVendorIndGroup()
          Get the 'SingleVendorIndGroup' attributeGroup value.
 java.lang.String getTravelSector()
          Get the 'TravelSector' attribute value.
 java.lang.String getVendorCode()
          Get the 'VendorCode' attribute value.
 void setAllianceLoyaltyLevelName(java.lang.String allianceLoyaltyLevelName)
          Set the 'AllianceLoyaltyLevelName' attribute value.
 void setCustomer(java.lang.String customer)
          Set the 'CustomerType' attribute value.
 void setCustomerValue(java.lang.String customerValue)
          Set the 'CustomerValue' attribute value.
 void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setLoyalLevelGroup(LoyalLevelGroup loyalLevelGroup)
          Set the 'LoyalLevelGroup' attributeGroup value.
 void setMembershipID(java.lang.String membershipID)
          Set the 'MembershipID' attribute value.
 void setPrimaryLoyaltyIndicator(java.lang.Boolean primaryLoyaltyIndicator)
          Set the 'PrimaryLoyaltyIndicator' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setProgramID(java.lang.String programID)
          Set the 'ProgramID' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 void setSignupDate(java.sql.Date signupDate)
          Set the 'SignupDate' attribute value.
 void setSingleVendorIndGroup(SingleVendorIndGroup singleVendorIndGroup)
          Set the 'SingleVendorIndGroup' attributeGroup value.
 void setTravelSector(java.lang.String travelSector)
          Set the 'TravelSector' attribute value.
 void setVendorCode(java.lang.String vendorCode)
          Set the 'VendorCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerLoyaltyGroup

public CustomerLoyaltyGroup()
Method Detail

getPrivacyGroup

public PrivacyGroup getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value.

Returns:
value

setPrivacyGroup

public void setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value.

Parameters:
privacyGroup -

getProgramID

public java.lang.String getProgramID()
Get the 'ProgramID' attribute value. Identifier to indicate the company owner of the loyalty program.

Returns:
value

setProgramID

public void setProgramID(java.lang.String programID)
Set the 'ProgramID' attribute value. Identifier to indicate the company owner of the loyalty program.

Parameters:
programID -

getMembershipID

public java.lang.String getMembershipID()
Get the 'MembershipID' attribute value. Unique identifier of the member in the program (membership number, account number, etc.).

Returns:
value

setMembershipID

public void setMembershipID(java.lang.String membershipID)
Set the 'MembershipID' attribute value. Unique identifier of the member in the program (membership number, account number, etc.).

Parameters:
membershipID -

getTravelSector

public java.lang.String getTravelSector()
Get the 'TravelSector' attribute value. Identifies the travel sector. Refer to OpenTravel Code List Travel Sector (TVS).

Returns:
value

setTravelSector

public void setTravelSector(java.lang.String travelSector)
Set the 'TravelSector' attribute value. Identifies the travel sector. Refer to OpenTravel Code List Travel Sector (TVS).

Parameters:
travelSector -

getLoyalLevelGroup

public LoyalLevelGroup getLoyalLevelGroup()
Get the 'LoyalLevelGroup' attributeGroup value. Provides the level of this customer within a loyalty program.

Returns:
value

setLoyalLevelGroup

public void setLoyalLevelGroup(LoyalLevelGroup loyalLevelGroup)
Set the 'LoyalLevelGroup' attributeGroup value. Provides the level of this customer within a loyalty program.

Parameters:
loyalLevelGroup -

getSingleVendorIndGroup

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

Returns:
value

setSingleVendorIndGroup

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

Parameters:
singleVendorIndGroup -

getSignupDate

public java.sql.Date getSignupDate()
Get the 'SignupDate' attribute value. Indicates when the member signed up for the loyalty program.

Returns:
value

setSignupDate

public void setSignupDate(java.sql.Date signupDate)
Set the 'SignupDate' attribute value. Indicates when the member signed up for the loyalty program.

Parameters:
signupDate -

getEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The effective date and/or expiration date of this customer's membership in this loytalty program.

Returns:
value

setEffectiveExpireOptionalDateGroup

public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The effective date and/or expiration date of this customer's membership in this loytalty program.

Parameters:
effectiveExpireOptionalDateGroup -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. A reference placeholder for this loyalty membership.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. A reference placeholder for this loyalty membership.

Parameters:
RPH -

getVendorCode

public java.lang.String getVendorCode()
Get the 'VendorCode' attribute value. Indicate the partner(s)/vendor(s) for which the customer loyalty number is valid.

Returns:
value

setVendorCode

public void setVendorCode(java.lang.String vendorCode)
Set the 'VendorCode' attribute value. Indicate the partner(s)/vendor(s) for which the customer loyalty number is valid.

Parameters:
vendorCode -

getPrimaryLoyaltyIndicator

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

Returns:
value

setPrimaryLoyaltyIndicator

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

Parameters:
primaryLoyaltyIndicator -

getAllianceLoyaltyLevelName

public java.lang.String getAllianceLoyaltyLevelName()
Get the 'AllianceLoyaltyLevelName' attribute value. Name of the alliance loyalty level (e.g.,OneWorld uses Emerald, Ruby, etc and SkyTeam uses Elite, etc.).

Returns:
value

setAllianceLoyaltyLevelName

public void setAllianceLoyaltyLevelName(java.lang.String allianceLoyaltyLevelName)
Set the 'AllianceLoyaltyLevelName' attribute value. Name of the alliance loyalty level (e.g.,OneWorld uses Emerald, Ruby, etc and SkyTeam uses Elite, etc.).

Parameters:
allianceLoyaltyLevelName -

getCustomer

public java.lang.String getCustomer()
Get the 'CustomerType' attribute value. Original assessment of the customer by the travel agent.

Returns:
value

setCustomer

public void setCustomer(java.lang.String customer)
Set the 'CustomerType' attribute value. Original assessment of the customer by the travel agent.

Parameters:
customer -

getCustomerValue

public java.lang.String getCustomerValue()
Get the 'CustomerValue' attribute value. The supplier's ranking of the customer (e.g., VIP, numerical ranking).

Returns:
value

setCustomerValue

public void setCustomerValue(java.lang.String customerValue)
Set the 'CustomerValue' attribute value. The supplier's ranking of the customer (e.g., VIP, numerical ranking).

Parameters:
customerValue -