Permalink
Browse files

change the name of the manager to all inclusive

  • Loading branch information...
1 parent c0f0dc8 commit c20e1be110f472ea495ae43a39a7f50d0499fcc5 @iampersistent iampersistent committed Jan 19, 2013
View
25 lib/Vespolina/Billing/Manager/BillingManager.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * (c) 2013 Vespolina Project http://www.vespolina-project.org
+ *
+ * This source file is subject to the MIT license that is bundled
+ * with this source code in the file LICENSE.
+ */
+
+namespace Vespolina\Billing\Manager;
+
+use Vespolina\Entity\Order\OrderInterface;
+use Vespolina\Entity\Partner\PartnerInterface;
+
+class BillingManager implements BillingManagerInterface
+{
+ public function createBillingAgreement(OrderInterface $order)
+ {
+
+ }
+
+ function createBillingRequest(PartnerInterface $partner)
+ {
+
+ }
+}
View
8 ...anager/BillingRequestManagerInterface.php → ...lling/Manager/BillingManagerInterface.php
@@ -1,22 +1,26 @@
<?php
/**
- * (c) 2012 Vespolina Project http://www.vespolina-project.org
+ * (c) 2012-2013 Vespolina Project http://www.vespolina-project.org
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Vespolina\Billing\Manager;
+use Vespolina\Entity\Order\OrderInterface;
use Vespolina\Entity\Partner\PartnerInterface;
/**
* An interface to manage the creation of billing requests
*
* @author Daniel Kucharski <daniel-xerias.be>
*/
-interface BillingRequestManagerInterface
+interface BillingManagerInterface
{
+
+ function createBillingAgreement(OrderInterface $order);
+
/**
* Create a new billing request
*

0 comments on commit c20e1be

Please sign in to comment.