org.ota.hotel
Class SelectedLoyaltyGroup

java.lang.Object
  extended by org.ota.hotel.SelectedLoyaltyGroup

public class SelectedLoyaltyGroup
extends java.lang.Object

SelectedLoyalty communicates the Loyalty program and points to be credited for a specific stay. The SelectedLoyalty class originates in the CRS Reservation Synchronization standard. 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="SelectedLoyaltyGroup">
   <xs:attribute type="xs:string" use="optional" name="ReservationActionType"/>
   <xs:attribute type="xs:string" use="optional" name="SelectedLoyaltyRPH"/>
   <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:string" use="optional" name="PointsEarned"/>
 </xs:attributeGroup>
 


Constructor Summary
SelectedLoyaltyGroup()
           
 
Method Summary
 java.lang.String getAccountID()
          Get the 'AccountID' attribute value.
 java.lang.String getBonusCode()
          Get the 'BonusCode' attribute value.
 java.lang.String getPointsEarned()
          Get the 'PointsEarned' attribute value.
 java.lang.String getProgramCode()
          Get the 'ProgramCode' attribute value.
 java.lang.String getReservationAction()
          Get the 'ReservationActionType' attribute value.
 java.lang.String getSelectedLoyaltyRPH()
          Get the 'SelectedLoyaltyRPH' 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.String pointsEarned)
          Set the 'PointsEarned' attribute value.
 void setProgramCode(java.lang.String programCode)
          Set the 'ProgramCode' attribute value.
 void setReservationAction(java.lang.String reservationAction)
          Set the 'ReservationActionType' attribute value.
 void setSelectedLoyaltyRPH(java.lang.String selectedLoyaltyRPH)
          Set the 'SelectedLoyaltyRPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedLoyaltyGroup

public SelectedLoyaltyGroup()
Method Detail

getReservationAction

public java.lang.String getReservationAction()
Get the 'ReservationActionType' attribute value. Tells the status of the reservation (e.g. stay, no-show, cancelled, etc.).

Returns:
value

setReservationAction

public void setReservationAction(java.lang.String reservationAction)
Set the 'ReservationActionType' attribute value. Tells the status of the reservation (e.g. stay, no-show, cancelled, etc.).

Parameters:
reservationAction -

getSelectedLoyaltyRPH

public java.lang.String getSelectedLoyaltyRPH()
Get the 'SelectedLoyaltyRPH' attribute value.

Returns:
value

setSelectedLoyaltyRPH

public void setSelectedLoyaltyRPH(java.lang.String selectedLoyaltyRPH)
Set the 'SelectedLoyaltyRPH' attribute value.

Parameters:
selectedLoyaltyRPH -

getProgramCode

public java.lang.String getProgramCode()
Get the 'ProgramCode' attribute value. This may be used for different loyalty awards (e.g. points and miles awarded).

Returns:
value

setProgramCode

public void setProgramCode(java.lang.String programCode)
Set the 'ProgramCode' attribute value. This may be used for different loyalty awards (e.g. points and miles awarded).

Parameters:
programCode -

getBonusCode

public java.lang.String getBonusCode()
Get the 'BonusCode' attribute value.

Returns:
value

setBonusCode

public void setBonusCode(java.lang.String bonusCode)
Set the 'BonusCode' attribute value.

Parameters:
bonusCode -

getAccountID

public java.lang.String getAccountID()
Get the 'AccountID' attribute value.

Returns:
value

setAccountID

public void setAccountID(java.lang.String accountID)
Set the 'AccountID' attribute value.

Parameters:
accountID -

getPointsEarned

public java.lang.String getPointsEarned()
Get the 'PointsEarned' attribute value.

Returns:
value

setPointsEarned

public void setPointsEarned(java.lang.String pointsEarned)
Set the 'PointsEarned' attribute value.

Parameters:
pointsEarned -