Amazon Interview Question

Design an OOP codebase for a given scenario.