Public Member Functions | |
assignData ($data) | |
getPayableTo () | |
getMailingAddress () | |
Protected Attributes | |
$_code = 'checkmo' | |
$_formBlockType = 'payment/form_checkmo' | |
$_infoBlockType = 'payment/info_checkmo' |
Definition at line 28 of file Checkmo.php.
assignData | ( | $ | data | ) |
Assign data to info model instance
mixed | $data |
Reimplemented from Mage_Payment_Model_Method_Abstract.
Definition at line 41 of file Checkmo.php.
00042 { 00043 $details = array(); 00044 if ($this->getPayableTo()) { 00045 $details['payable_to'] = $this->getPayableTo(); 00046 } 00047 if ($this->getMailingAddress()) { 00048 $details['mailing_address'] = $this->getMailingAddress(); 00049 } 00050 if (!empty($details)) { 00051 $this->getInfoInstance()->setAdditionalData(serialize($details)); 00052 } 00053 return $this; 00054 }
getMailingAddress | ( | ) |
Definition at line 61 of file Checkmo.php.
00062 { 00063 return $this->getConfigData('mailing_address'); 00064 }
getPayableTo | ( | ) |
Definition at line 56 of file Checkmo.php.
00057 { 00058 return $this->getConfigData('payable_to'); 00059 }
$_code = 'checkmo' [protected] |
$_formBlockType = 'payment/form_checkmo' [protected] |
$_infoBlockType = 'payment/info_checkmo' [protected] |