Indicates that the RewardIssuance has been successfully issued but not yet redeemed by the client. This is
the default value of an issuance when created.
Indicates that the RewardIssuance has been successfully redeemed. If the RewardIssuance has a NON_PERSISTENT
Type, then, after a successful redemption, the MongoRewardIssuanceDao will immediately attempt
to delete the RewardIssuance.
TODO: since we cannot guarantee that we will both successfully redeem a NON_PERSISTENT RewardIssuance and
TODO: successfully delete it since mongo does not support transactions, we may need some scheduled cleanup
TODO: process to clear them out (setting a new expiration date will not work since that
TODO: likewise cannot be done atomically).
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.