Which accounting method records income when the money is received and records expenses when payment is made?

Which accounting method records income when the money is received and records expenses when payment is made?