Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Settle Class Reference

Inheritance diagram for Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Settle:

Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Abstract Varien_Object

List of all members.

Public Member Functions

 isValid ()
 setTransactionId ($transactionId)
 setAmount ($amount)


Detailed Description

Definition at line 34 of file Settle.php.


Member Function Documentation

isValid (  ) 

rewrited for Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Abstract

Reimplemented from Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Abstract.

Definition at line 39 of file Settle.php.

00040     {
00041         if (!$this->getData('ReserveTransactionId')) {
00042             return false;
00043         }
00044         return parent::isValid();
00045     }    

setAmount ( amount  ) 

Set request amount

Parameters:
Mage_AmazonPayments_Model_Api_Asp_Amount $amount
Returns:
Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Settle

Definition at line 64 of file Settle.php.

00065     {
00066         return $this->setData('TransactionAmount.Value', $amount->getValue())
00067                     ->setData('TransactionAmount.CurrencyCode', $amount->getCurrencyCode());
00068     }

setTransactionId ( transactionId  ) 

Set request transactionId

Parameters:
string $transactionId
Returns:
Mage_AmazonPayments_Model_Api_Asp_Fps_Request_Settle

Definition at line 53 of file Settle.php.

00054     {
00055         return $this->setData('ReserveTransactionId', $transactionId);
00056     }


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