Deprecated getDebit and getCredit methods on entities