tm.vouchercode

A vouchercode is a unique code that gives the holder of the code the rights of the linked voucher.

Fields

FieldDescription
id
int
ID
voucherid
int
Link to the voucher

References: tm.voucher

code
string
Unique code for this voucher code
amount
decimal
Value of this voucher code (only used for vouchers of type Payment)
amountused
decimal
Value of this voucher code that already has been used
createdts
timestamp
Created timestamp
expiryts
timestamp
Timestamp when this code will expire
inactive
boolean
Indicates if this vouchercode is inactive which means that the vouchercode can no longer be used but that it might have been used before and can not be deleted. Vouchercodes will become inactive if the product that generated the vouchercode is removed from the original order.