Read-only view of a single points award (points credited to a participant) for display in a participant's own rewards summary. Wraps a Points entity, copying out just the fields a "my rewards" page needs: when the points were awarded, how many, and why. Produced by MyRewardInfo.getMyPoints and consumed by the rewards views; it is not persisted itself.


Properties

PropertyReturnsDescription
awardedDateDateThe date these points were awarded, taken from the underlying Points entity's issued date.
numPointsdoubleThe number of points awarded by this credit.
reasonStringPlain text description of why the points were granted, as recorded on the underlying Points entity.

Methods

getAwardedDate()

Returns: Date

The date these points were awarded, taken from the underlying Points entity's issued date.

getNumPoints()

Returns: double

The number of points awarded by this credit.

getReason()

Returns: String

Plain text description of why the points were granted, as recorded on the underlying Points entity.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.