We should make the commerce coupon entity use a subclass of the Entity class as it's entity class.
It's how the Drupal 8 entity system is going to work (lets use the coding standard of tomorrow), and it will give a lot of handy methods on the loaded coupons, like basic CRUD and more.
Comments
Comment #1
pcambraI don't think we're doing big structural changes at all at this point in the 1.x branch... check commerce discount module, that this one will use as base for the 2.x branch