Internal overhaul
This commit is contained in:
@@ -8,13 +8,15 @@
|
||||
* @author Deon George
|
||||
* @copyright (c) 2009-2013 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*
|
||||
* @todo Does this need to be Serializable?
|
||||
*/
|
||||
abstract class Checkout_Plugin implements Serializable {
|
||||
protected $co; // Our Checkout Object
|
||||
protected $_object;
|
||||
|
||||
// Our required abstract classes
|
||||
// Our required abstract classes
|
||||
|
||||
public function serialize() {
|
||||
return (string)$this->_object;
|
||||
}
|
||||
@@ -23,6 +25,7 @@ abstract class Checkout_Plugin implements Serializable {
|
||||
}
|
||||
|
||||
// Required abstract classes
|
||||
|
||||
// Present pre-plugin processing information
|
||||
abstract public function before(Cart $co);
|
||||
abstract public function notify(Model_Checkout_Notify $cno);
|
||||
|
Reference in New Issue
Block a user