To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
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
| Property | Returns | Description |
|---|---|---|
| numPoints | double | The number of points used by this debit. |
| reason | String | Plain text description of why the points were debited, as recorded on the underlying PointsDebit. |
| usedDate | Date | The 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.