public interface VoucherServiceLocal extends VoucherService
VoucherService| Modifier and Type | Method and Description |
|---|---|
void |
expire(Voucher voucher)
Expire the given voucher
|
Voucher |
findByToken(java.lang.String token)
Returns a voucher by token code
|
void |
notifyAboutToExpire(VoucherPack pack)
If the pack has open vouchers, send a notification that they will expire in x days (as defined in the voucher
configuration).
|
barcode, buy, cancel, exportToCSV, generate, getBuyData, getData, getGenerateData, getRedeemData, getRedeemInitialData, getSearchData, listTypesForBuy, listTypesForGenerate, print, printAll, redeem, search, searchWithSummaryvoid expire(Voucher voucher) throws FrameworkException
FrameworkExceptionVoucher findByToken(java.lang.String token) throws FrameworkException
FrameworkExceptionvoid notifyAboutToExpire(VoucherPack pack) throws FrameworkException
FrameworkException