There is a FundingInstrument class, but until recently you could really only credit a BankAccount. This library has not been updated to be more generic with this. I remember this has been somewhat painful in the past dealing with deserialization. The generic Transaction comes to mind.