Not that familiar with the US, but presumably (just because it seems reasonable, and is the case here) they don't have to serve you at all (err, as long as it's not discriminating on grounds of a protected characteristic) so it would be weird for the law to require accepting cash when it also allowed them to nominally comply with that but then refuse to serve anyone who wouldn't pay by card?