org.ota.hotel
Class Membership.MembershipInner

java.lang.Object
  extended by org.ota.hotel.Membership.MembershipInner
Enclosing class:
Membership

public static class Membership.MembershipInner
extends java.lang.Object

The SelectedMembership object identifies the frequent customer reward program and (optionally) indicates points awarded for stay activity. 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="Membership" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="ProgramCode"/>
     <xs:attribute type="xs:string" use="optional" name="BonusCode"/>
     <xs:attribute type="xs:string" use="optional" name="AccountID"/>
     <xs:attribute type="xs:int" use="optional" name="PointsEarned"/>
     <xs:attribute type="xs:string" use="optional" name="TravelSector"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Membership.MembershipInner()
           
 
Method Summary
 java.lang.String getAccountID()
          Get the 'AccountID' attribute value.
 java.lang.String getBonusCode()
          Get the 'BonusCode' attribute value.
 java.lang.Integer getPointsEarned()
          Get the 'PointsEarned' attribute value.
 java.lang.String getProgramCode()
          Get the 'ProgramCode' attribute value.
 java.lang.String getTravelSector()
          Get the 'TravelSector' attribute value.
 void setAccountID(java.lang.String accountID)
          Set the 'AccountID' attribute value.
 void setBonusCode(java.lang.String bonusCode)
          Set the 'BonusCode' attribute value.
 void setPointsEarned(java.lang.Integer pointsEarned)
          Set the 'PointsEarned' attribute value.
 void setProgramCode(java.lang.String programCode)
          Set the 'ProgramCode' attribute value.
 void setTravelSector(java.lang.String travelSector)
          Set the 'TravelSector' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Membership.MembershipInner

public Membership.MembershipInner()
Method Detail

getProgramCode

public java.lang.String getProgramCode()
Get the 'ProgramCode' attribute value. The code or name of the membership program ('Hertz', 'AAdvantage', etc.).

Returns:
value

setProgramCode

public void setProgramCode(java.lang.String programCode)
Set the 'ProgramCode' attribute value. The code or name of the membership program ('Hertz', 'AAdvantage', etc.).

Parameters:
programCode -

getBonusCode

public java.lang.String getBonusCode()
Get the 'BonusCode' attribute value. The code or name of the bonus program. BonusCode can be used to indicate the level of membership (Gold Club, Platinum member, etc.)

Returns:
value

setBonusCode

public void setBonusCode(java.lang.String bonusCode)
Set the 'BonusCode' attribute value. The code or name of the bonus program. BonusCode can be used to indicate the level of membership (Gold Club, Platinum member, etc.)

Parameters:
bonusCode -

getAccountID

public java.lang.String getAccountID()
Get the 'AccountID' attribute value. The account identification number for this particular member in this particular program.

Returns:
value

setAccountID

public void setAccountID(java.lang.String accountID)
Set the 'AccountID' attribute value. The account identification number for this particular member in this particular program.

Parameters:
accountID -

getPointsEarned

public java.lang.Integer getPointsEarned()
Get the 'PointsEarned' attribute value. The total number of points earned through the selected membership.

Returns:
value

setPointsEarned

public void setPointsEarned(java.lang.Integer pointsEarned)
Set the 'PointsEarned' attribute value. The total number of points earned through the selected membership.

Parameters:
pointsEarned -

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 -