Pregunta de entrevista de Safeway

Design questions, How you implement rewards for customer