Can anyone advise me if a payment module written for osCommerce is in any way similar to a payment module for Zen Cart?

I need a payment module for Australia's ANZ eGate, and there is one written for osCommerce, but not for Zen Cart.

I was wondering if the osCommerce one would be modifiable to suit Zen Cart, or if the Zen one needs to be built from scratch.

Thanks

John