Hi
Im trying to create a custom sales discount provider that utilizes a voucherlist.
Unfortunately the VoucherList class (VoucherList.vb) only looks for specific derived types when dealing with voucherlists. The following methods are the culprits:
GetUnusedVoucherLists CheckDiscount GetDiscountForList
This makes it hard to create a custom discount provider that uses a voucherlist and at the same time keep as much of the standard functionality as possible (mailing vouchers to users etc.).
Optimally I would like some interface to implement when creating my custom provider. ex:
Public Class MyCustomVoucherListDiscountProvider Inherits SalesDiscountProvider Implements IUsesVoucherList
version: 8.8.1