public function installDefaultMethods()
 {
     $ext = new Extension();
     $defaults = array('stripe' => '\\Razor\\Core\\Payment\\Method\\Stripe\\Stripe', 'invoice' => '\\Razor\\Core\\Payment\\Method\\Invoice\\Invoice');
     foreach ($defaults as $handle => $namespace) {
         $ext->register('payment_method', $handle, $namespace);
     }
 }
 public function installDefaultMethods()
 {
     $ext = new Extension();
     $defaults = array('flat_rate' => '\\Razor\\Core\\Shipping\\Method\\FlatRate', 'free_shipping' => '\\Razor\\Core\\Shipping\\Method\\FreeShipping', 'pickup' => '\\Razor\\Core\\Shipping\\Method\\Pickup');
     foreach ($defaults as $handle => $namespace) {
         $ext->register('shipping_method', $handle, $namespace);
     }
 }
 public function installDefaultTypes()
 {
     $ext = new Extension();
     $defaults = array('standard' => '\\Razor\\Core\\Product\\Type\\Standard');
     foreach ($defaults as $handle => $namespace) {
         $ext->register('product_type', $handle, $namespace);
     }
 }