Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Abstract Class Reference

Inheritance diagram for Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Abstract:

Varien_Object Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Cancel Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Refund Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Settle

List of all members.

Public Member Functions

 init ($actionCode)
 getActionCode ()
 isValid ()

Protected Member Functions

 initDefaultParams ()


Detailed Description

Definition at line 34 of file Abstract.php.


Member Function Documentation

getActionCode (  ) 

Return request action code

Returns:
string

Definition at line 69 of file Abstract.php.

00070     {
00071         return $this->_actionCode;
00072     }

init ( actionCode  ) 

Init object

Parameters:
string $actionCode
Returns:
Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Abstract

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

Returns:
bool

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     }    


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