Buildium interview question

simple OOP exercise and logical algorithm