Public Member Functions | |
setStoreId ($id) | |
getStoreId () | |
Public Attributes | |
const | PAY_ACTION_SETTLE = 0 |
const | PAY_ACTION_SETTLE_CAPTURE = 1 |
Protected Member Functions | |
_getAmount () | |
_isSandbox () | |
_getConfig ($path) | |
Protected Attributes | |
$paymentCode = 'amazonpayments_asp' | |
$_amountModel = 'amazonpayments/api_asp_amount' | |
$_storeId = null |
Definition at line 34 of file Abstract.php.
_getAmount | ( | ) | [protected] |
Get singleton with AmazonPayments ASP Amount Model
Definition at line 84 of file Abstract.php.
00085 { 00086 return Mage::getSingleton($this->_amountModel); 00087 }
_getConfig | ( | $ | path | ) | [protected] |
Get value from the module config
string | $path |
Definition at line 105 of file Abstract.php.
00106 { 00107 return Mage::getStoreConfig('payment/' . $this->paymentCode . '/' . $path, $this->getStoreId()); 00108 }
_isSandbox | ( | ) | [protected] |
Return sandbox mode flag
Definition at line 94 of file Abstract.php.
00095 { 00096 return $this->_getConfig('is_sandbox'); 00097 }
getStoreId | ( | ) |
setStoreId | ( | $ | id | ) |
Set store id for current operation
$id | string |
Definition at line 63 of file Abstract.php.
$_amountModel = 'amazonpayments/api_asp_amount' [protected] |
Amount model path
Definition at line 50 of file Abstract.php.
$_storeId = null [protected] |
Store id for current operation
Definition at line 55 of file Abstract.php.
$paymentCode = 'amazonpayments_asp' [protected] |
rewrited for Mage_AmazonPayments_Model_Api_Abstract
Reimplemented from Mage_AmazonPayments_Model_Api_Abstract.
Definition at line 45 of file Abstract.php.
const PAY_ACTION_SETTLE = 0 |
payment actions
Definition at line 39 of file Abstract.php.
const PAY_ACTION_SETTLE_CAPTURE = 1 |
Definition at line 40 of file Abstract.php.