Magento . , , , Magento , .
, , . , , .
File: app/code/core/Mage/Payment/Model/Method/Abstract.php
class abstract class Mage_Payment_Model_Method_Abstract
{
/**
* Authorize
*
* @param Varien_Object $orderPayment
* @return Mage_Payment_Model_Abstract
*/
public function authorize(Varien_Object $payment, $amount)
...
/**
* Capture payment
*
* @param Varien_Object $orderPayment
* @return Mage_Payment_Model_Abstract
*/
public function capture(Varien_Object $payment, $amount)
...
/**
* Void payment
*
* @param Varien_Object $invoicePayment
* @return Mage_Payment_Model_Abstract
*/
public function void(Varien_Object $payment)
...
/**
* Refund money
*
* @param Varien_Object $invoicePayment
* @return Mage_Payment_Model_Abstract
*/
//public function refund(Varien_Object $payment, $amount)
public function refund(Varien_Object $payment, $amount)
...
/**
* Cancel payment (GoogleCheckout)
*
* @param Varien_Object $invoicePayment
* @return Mage_Payment_Model_Abstract
*/
public function cancel(Varien_Object $payment)
...
, , refund - , , capture - -. , cancel - Google Checkout. , .