When you get a suspension, it is automatically cut from your salary, NBA players get paid per game basis and not per year basis to be fair, we do talk about per year basis because its easier to make the calculation that way, but they actually do get paid per game. That means, if you play all 82 games and you get paid 82 million (nobody does, just to make it easy example) that means you get paid 1 million per game. Injury doesn't count into that, if you get injured then you get paid every game as well, but on the game day, not beforehand, not afterwards. So when you are suspended, that means it will be cut from your salary, or at least that's the normal conduct, don't know if warriors would make a special case for Draymond and pay him, but they do have the right to not pay him if they do not want to, its in the contract.
Draymond Green has a $100 million 4-year deal. There's still a yearly computation because NBA salaries usually increase each year until the whole contract is consumed. So Green is averaging $25 million per year and paid around $300k per game. His 5 days suspension when he choked Gobert cost him over a million then. Yet here he is again punching someone in the face.
So it seems like losing a million doesn't bother him at all. Well tbh, if I have around $200 hundred million worth of assets and another $100 million coming into my bank account in the next few years I wouldn't mind losing a few million as well, especially when I bet a lot.