.
A restaurant tab is a debt!
No it isn’t. Not legally. Last time I checked, a private business can still dictate terms of service. If the restaurant doesn’t take cash there’s nothing you can do about it other than paying by card or find another restaurant that takes cash.
We have places here that only take cash. A debit card is considered cash but they won’t take it.
That’s the nice thing about choices.