Jane Street interview question

Class Design OOP given high level abstraction