Yes. I'm not sure if legal tender is the correct term but yes.
Many stores now do not accept cash of any kind.