Code review of an Order object implemented as a state machine
blog.arkency.com