Mage_Payment_Model_Method_Purchaseorder Class Reference

Inheritance diagram for Mage_Payment_Model_Method_Purchaseorder:

Mage_Payment_Model_Method_Abstract Varien_Object

List of all members.

Public Member Functions

 assignData ($data)

Protected Attributes

 $_code = 'purchaseorder'
 $_formBlockType = 'payment/form_purchaseorder'
 $_infoBlockType = 'payment/info_purchaseorder'


Detailed Description

Definition at line 28 of file Purchaseorder.php.


Member Function Documentation

assignData ( data  ) 

Assign data to info model instance

Parameters:
mixed $data
Returns:
Mage_Payment_Model_Method_Purchaseorder

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 40 of file Purchaseorder.php.

00041     {
00042         if (!($data instanceof Varien_Object)) {
00043             $data = new Varien_Object($data);
00044         }
00045 
00046         $this->getInfoInstance()->setPoNumber($data->getPoNumber());
00047         return $this;
00048     }


Member Data Documentation

$_code = 'purchaseorder' [protected]

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 30 of file Purchaseorder.php.

$_formBlockType = 'payment/form_purchaseorder' [protected]

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 31 of file Purchaseorder.php.

$_infoBlockType = 'payment/info_purchaseorder' [protected]

Reimplemented from Mage_Payment_Model_Method_Abstract.

Definition at line 32 of file Purchaseorder.php.


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

Generated on Sat Jul 4 17:24:32 2009 for Magento by  doxygen 1.5.8