fixed Order#isCredit method