Safeway interview question

Design questions, How you implement rewards for customer