To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Properties
Name | Returns | Notes | Example |
---|---|---|---|
allVoucherTypes | List |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
findRedeemerOrgs ( curUser, website ) | List | ||
canRedeem ( voucher ) | boolean | ||
redeem ( voucher, redeemer, notes, redeemerOrg ) | boolean | ||
findVoucherById ( id ) | Voucher | ||
toVoucherBean ( voucher ) | VoucherBean | ||
createVouchers ( voucherType, numVouchers ) | List | Create vouchers from voucher type and numVouchers | |
allocate ( b ) | Voucher | ||
findAvailableVoucher ( vt ) | Voucher | ||
allocate ( voucher, profile, allocatedToId, notes, redeemerOrg ) | Voucher | Allocate voucher to a profile | |
generateIdFromTemplate ( voucherIdTemplate ) | String | Generate voucher id from a template | |
randomHex ( numDigits ) | String | ||
newVoucherAllocationBuilder ( type ) | VoucherAllocationBuilder |