Read-only view of a single points debit (points spent or otherwise deducted) for display in a participant's own rewards summary. Wraps a PointsDebit entity, copying out just the fields a "my rewards" page needs: when the points were used, how many, and why. Produced by MyRewardInfo.getMyPointDebits and consumed by the rewards views; it is not persisted itself.


Properties

PropertyReturnsDescription
numPointsdoubleThe number of points used by this debit.
reasonStringPlain text description of why the points were debited, as recorded on the underlying PointsDebit.
usedDateDateThe date these points were used, taken from the debit's issued date.

Methods

getUsedDate()

Returns: Date

The date these points were used, taken from the debit's issued date.

getNumPoints()

Returns: double

The number of points used by this debit.

getReason()

Returns: String

Plain text description of why the points were debited, as recorded on the underlying PointsDebit.

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