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(Voucher voucher)
Sends a notification that the voucher will expire in x days (as defined in the voucher
configuration).
|
barcode, buy, cancel, changeExpirationDate, exportToCSV, generate, getBuyData, getData, getGenerateData, getRedeemData, getRedeemInitialData, getSearchData, listTypesForBuy, listTypesForGenerate, loadByToken, print, printAll, redeem, search, searchWithSummaryvoid expire(Voucher voucher)
Voucher findByToken(java.lang.String token)
void notifyAboutToExpire(Voucher voucher)