* *@version 0.3 * *@package Quinta * @subpackage Classes */ class PayByMailAction extends PaymentActionBase{ /** * PayByMailAction Constructor * * @param Order objOrder - the Order to process */ public function __construct(Order $objOrder){ try { parent::__construct($objOrder); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } /** * There is nothing to do with this payment method - all processing waits until we receive * a check and then must be completed via the adminstration interface. The Order has been * saved already as "Pending" - but we set it again here to trigger an email to the customer. *@return bool true on success */ public function Process(){ $this->blnApproved = true; $this->objOrder->SetStatus(OrderStatusType::Pending); IndexPage::$objShoppingCart->DeleteAllShoppingCartItems(); return true; } public function PreProcess(){ return true;} public function PostProcess(){ return true;} protected function handleResponse(){} protected function createPOSTRequest(){} protected function createGETRequest(){} }//end class }//end define ?>