Charging less for cash is identical to charging more for credit, is it not?
It is not. It's the converse.
And the effect is likely quite different -- discounts for cash are usually significantly less than surcharges for credit cards.
Perhaps, but as I said:
...discounts for cash are usually significantly
less than surcharges for credit cards.
At least that's been my experience.