Mage_AmazonPayments_Model_Api_Asp_Ipn_Request Class Reference

Inheritance diagram for Mage_AmazonPayments_Model_Api_Asp_Ipn_Request:

Varien_Object

List of all members.

Public Member Functions

 init ($requestParams)
 toString ($format='')

Public Attributes

const STATUS_CANCEL_CUSTOMER = 'A'
const STATUS_CANCEL_TRANSACTION = 'CANCELLED'
const STATUS_RESERVE_SUCCESSFUL = 'PR'
const STATUS_PAYMENT_INITIATED = 'PI'
const STATUS_PAYMENT_SUCCESSFUL = 'PS'
const STATUS_PAYMENT_FAILED = 'PF'
const STATUS_REFUND_SUCCESSFUL = 'RS'
const STATUS_REFUND_FAILED = 'RF'
const STATUS_SYSTEM_ERROR = 'SE'


Detailed Description

Definition at line 34 of file Request.php.


Member Function Documentation

init ( requestParams  ) 

Init object

Parameters:
array $requestParams
Returns:
Mage_AmazonPayments_Model_Api_Asp_Ipn_Request

Definition at line 60 of file Request.php.

00061     {
00062         if (!$this->_validateRequestParams($requestParams)) {
00063             return false;
00064         }    
00065         $this->requestParams = $requestParams;
00066         $this->_setRequestParamsToData($this->_convertRequestParams($requestParams));
00067         return $this;
00068     }

toString ( format = ''  ) 

rewrited for Varien_Object

Reimplemented from Varien_Object.

Definition at line 207 of file Request.php.

00208     {
00209         $resultString = '';
00210         foreach($this->getData() as $kay => $value){
00211             $resultString .= "[$kay] = $value<br/>"; 
00212         }
00213         return $resultString;
00214     }


Member Data Documentation

Definition at line 39 of file Request.php.

const STATUS_CANCEL_TRANSACTION = 'CANCELLED'

Definition at line 40 of file Request.php.

const STATUS_PAYMENT_FAILED = 'PF'

Definition at line 44 of file Request.php.

Definition at line 42 of file Request.php.

Definition at line 43 of file Request.php.

const STATUS_REFUND_FAILED = 'RF'

Definition at line 46 of file Request.php.

Definition at line 45 of file Request.php.

Definition at line 41 of file Request.php.

const STATUS_SYSTEM_ERROR = 'SE'

Definition at line 47 of file Request.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