Public Member Functions | |
init ($actionCode) | |
getActionCode () | |
isValid () | |
Protected Member Functions | |
initDefaultParams () |
Definition at line 34 of file Abstract.php.
getActionCode | ( | ) |
init | ( | $ | actionCode | ) |
Init object
string | $actionCode |
Definition at line 47 of file Abstract.php.
00048 { 00049 if (is_null($this->_actionCode)) { 00050 $this->_actionCode = $actionCode; 00051 $this->initDefaultParams(); 00052 } 00053 return $this; 00054 }
initDefaultParams | ( | ) | [protected] |
Init default request params
Definition at line 59 of file Abstract.php.
00060 { 00061 $this->setData('Action', $this->getActionCode()); 00062 }
isValid | ( | ) |
Validation request params
Reimplemented in Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Cancel, Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Refund, and Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Settle.
Definition at line 79 of file Abstract.php.
00080 { 00081 if (!$this->getData('Action')) { 00082 return false; 00083 } 00084 return true; 00085 }