I'm creating a new module for allowing me to work with currency exchanges. For doing this I'm extending this class:
Overriding this method:
abstract protected function _convert($currencyFrom, $currencyTo);
Now that my module is installed, I don't know how I can call this method from my checkout classes. I want to convert some prices.
I could call it using:
But I had to change first that previous function visibility, from protected to public.
How do I use this new function?