How do businesses classify credit card sales?

Credit card transactions are normally considered cash there are some exceptions but that's the great part about accounting NOTHING is black and white there are many many shades of gray