A stand-in transaction created when an active credit expires unused, so the expiry shows up as a debit-like entry in the line item history even though no real PointsDebit record backs it.
Implements: RewardTransactionItem
Properties
| Property | Returns | Description |
|---|---|---|
| id | long | The synthetic identifier assigned to this expired-credit entry, unique within one calc run. |
| issuedBy | Profile | The profile who issued the original credit that has now expired. |
| issuedDate | Date | The date the expiry was evaluated, used as this synthetic transaction's own issued date. |
| issuedTo | BaseEntity | The account the expired credit was originally issued to. |
| numPoints | double | The number of points that expired unused. |
| reason | String | A human-readable description of the expiry, combining the original credit's reason and issue date. |
| reward | Reward | The reward the original, now-expired credit was redeemed from. |
Methods
getIssuedTo() · getIssuedDate() · getIssuedBy() · getReward() · getNumPoints() · asCredit() · asDebit() · getReason() · getId()
getIssuedTo()
Returns: BaseEntity
The account the expired credit was originally issued to.
getIssuedDate()
Returns: Date
The date the expiry was evaluated, used as this synthetic transaction's own issued date.
getIssuedBy()
Returns: Profile
The profile who issued the original credit that has now expired.
getReward()
Returns: Reward
The reward the original, now-expired credit was redeemed from.
getNumPoints()
Returns: double
The number of points that expired unused.
asCredit()
Returns: Points
Synthetic expired-credit entries are represented as neither a credit nor a debit, so this always returns null.
asDebit()
Returns: PointsDebit
Synthetic expired-credit entries are represented as neither a credit nor a debit, so this always returns null.
getReason()
Returns: String
A human-readable description of the expiry, combining the original credit's reason and issue date.
getId()
Returns: long
The synthetic identifier assigned to this expired-credit entry, unique within one calc run.