A single entry in one of MyRewardInfo's leaderboards: a participant and their points total for the containing reward. Wraps either a ProfileBean or OrgData for the participant, chosen based on whether they are a profile or an organisation, and honours the enclosing MyRewardInfo's extendedProfiles setting for profile entries.
Properties
| Property | Returns | Description |
|---|---|---|
| member | EntityBean | The participant this leaderboard entry represents. |
| mostPoints | Double | The greatest points total earned by any member of the leaderboard this entry belongs to. The same value is shared by every entry in the list, so it can be used to calculate a relative percentage. |
| numPoints | Double | The points total this participant earned within the leaderboard's date bounds. |
| percent | long | This entry's points total as a percentage of the leaderboard's top points total. |
Methods
getMember()
Returns: EntityBean
The participant this leaderboard entry represents.
getNumPoints()
Returns: Double
The points total this participant earned within the leaderboard's date bounds.
getMostPoints()
Returns: Double
The greatest points total earned by any member of the leaderboard this entry belongs to. The same value is shared by every entry in the list, so it can be used to calculate a relative percentage.
getPercent()
Returns: long
This entry's points total as a percentage of the leaderboard's top points total.