Public Member Functions | |
isValid () | |
setTransactionId ($transactionId) | |
setAmount ($amount) |
Definition at line 34 of file Settle.php.
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
Mage_AmazonPayments_Model_Api_Asp_Amount | $amount |
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
string | $transactionId |
Definition at line 53 of file Settle.php.
00054 { 00055 return $this->setData('ReserveTransactionId', $transactionId); 00056 }