Mage_AmazonPayments_Model_Payment Class Reference

Inheritance diagram for Mage_AmazonPayments_Model_Payment:

Mage_Payment_Model_Method_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getOrderPlaceRedirectUrl ()
 getRedirectUrl ()

Public Attributes

const ACTION_AUTHORIZE = 0
const ACTION_AUTHORIZE_CAPTURE = 1

Protected Attributes

 $_code = 'amazonpayments'
 $_formBlockType = 'amazonpayments/form'


Detailed Description

Definition at line 27 of file Payment.php.


Constructor & Destructor Documentation

__construct (  ) 

Constructor

By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 35 of file Payment.php.

00036     {
00037         echo 'hello';
00038     }


Member Function Documentation

getOrderPlaceRedirectUrl (  ) 

Definition at line 40 of file Payment.php.

00041     {
00042         return $this->getRedirectUrl();
00043     }

getRedirectUrl (  ) 

Definition at line 45 of file Payment.php.

00046     {
00047         #Mage::exception($this, 'worldpay');
00048         #throw new Exception('qwe')
00049         die('test2');
00050         $_url = Mage::getUrl('amazonepayments/redirect');
00051         echo "url: {$_url}<br />";
00052         return $_url;
00053     }


Member Data Documentation

$_code = 'amazonpayments' [protected]

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 29 of file Payment.php.

$_formBlockType = 'amazonpayments/form' [protected]

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 30 of file Payment.php.

const ACTION_AUTHORIZE = 0

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 32 of file Payment.php.

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 33 of file Payment.php.


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:31 2009 for Magento by  doxygen 1.5.8