swipestripe/silverstripe-swipestripe — pull request #59 by silverstripe-elliot (2014-06-23 09:38:33+00:00)
Title: Replace new Price() with Price::create() to allow it to be overridden with Object::hasCustomClass()

This change will allow modules to extend the Price object, then allow it to be overridden with an extended class using Object::hasCustomClass()