Public Member Functions | |
isValid () | |
setTransactionId ($transactionId) | |
setReferenceId ($referenceId) | |
setDescription ($description) | |
setAmount ($amount) |
Definition at line 34 of file Refund.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 Refund.php.
00040 { 00041 if (!$this->getData('TransactionId') || 00042 !$this->getData('CallerReference')) { 00043 return false; 00044 } 00045 return parent::isValid(); 00046 }
setAmount | ( | $ | amount | ) |
Set request amount
Mage_AmazonPayments_Model_Api_Asp_Amount | $amount |
Definition at line 87 of file Refund.php.
00088 { 00089 return $this->setData('RefundAmount.Value', $amount->getValue()) 00090 ->setData('RefundAmount.CurrencyCode', $amount->getCurrencyCode()); 00091 }
setDescription | ( | $ | description | ) |
Set request description
string | $description |
Definition at line 76 of file Refund.php.
00077 { 00078 return $this->setData('CallerDescription', $description); 00079 }
setReferenceId | ( | $ | referenceId | ) |
Set request referenceId
string | $referenceId |
Definition at line 65 of file Refund.php.
00066 { 00067 return $this->setData('CallerReference', $referenceId); 00068 }
setTransactionId | ( | $ | transactionId | ) |
Set request transactionId
string | $transactionId |
Definition at line 54 of file Refund.php.
00055 { 00056 return $this->setData('TransactionId', $transactionId); 00057 }