It is different when you play online, as you can earn credits through doing challenges (daily and weekly) as well as earning in-game "Commendations" (such as 50 kills with a pistol or something like that). Earning 400,000 credits offline would require quite a lot of farming in the Firefight mode, I think.