Cedar interview question

Metrics calculation with OOP in billing process