I am trying to override Voucher jalo class to override OTB VoucherValue getVoucherValue(AbstractOrder anOrder) method. Voucher jalo is an abstract class. I have followed this post and have defined a spring bean using the fully qualified class name of the voucher jalo class. Like below
<bean id="de.hybris.platform.voucher.jalo.Voucher" class="co.xx.xxxx.jalo.MyVoucher" scope="prototype" />
But my overrided method is not called. hybris experts, can you have any idea how to achieve this ?