Does Starbucks record revenue when they receive cash from their customers (cash-basis accounting) or do they follow a different rubric (for example, accrual accounting)?

A. Cash-basis accounting
B. Accrual accounting
C. Both
D. Neither