Class Mage_Payment_Model_Method_Abstract
Payment method abstract model
- Varien_Object
- Mage_Payment_Model_Method_Abstract
Direct known subclasses
Mage_GoogleCheckout_Model_Payment, Mage_Payment_Model_Method_Banktransfer, Phoenix_Moneybookers_Model_Abstract, Mage_Payment_Model_Method_Cashondelivery, Mage_Payment_Model_Method_Cc, Mage_Payment_Model_Method_Checkmo, Mage_Payment_Model_Method_Free, Mage_Payment_Model_Method_Purchaseorder, Mage_Paypal_Model_Express, Mage_Paypal_Model_Standard, Mage_Sales_Model_Payment_Method_Billing_AgreementAbstractIndirect known subclasses
Mage_Authorizenet_Model_Directpost, Mage_Paygate_Model_Authorizenet, Mage_PaypalUk_Model_Express, Mage_XmlConnect_Model_Payment_Method_Paypal_Mecl, Mage_XmlConnect_Model_Payment_Method_Paypal_Mep, Phoenix_Moneybookers_Model_Acc, Phoenix_Moneybookers_Model_Csi, Phoenix_Moneybookers_Model_Did, Phoenix_Moneybookers_Model_Dnk, Phoenix_Moneybookers_Model_Ebt, Phoenix_Moneybookers_Model_Ent, Phoenix_Moneybookers_Model_Gcb, Mage_Payment_Model_Method_Ccsave, Phoenix_Moneybookers_Model_Gir, Phoenix_Moneybookers_Model_Idl, Phoenix_Moneybookers_Model_Lsr, Phoenix_Moneybookers_Model_Mae, Phoenix_Moneybookers_Model_Npy, Phoenix_Moneybookers_Model_Obt, Phoenix_Moneybookers_Model_Pli, Phoenix_Moneybookers_Model_Psp, Phoenix_Moneybookers_Model_Pwy, Phoenix_Moneybookers_Model_Sft, Mage_Paypal_Model_Direct, Phoenix_Moneybookers_Model_So2, Phoenix_Moneybookers_Model_Wlt, Mage_Paypal_Model_Hostedpro, Mage_Paypal_Model_Method_Agreement, Mage_Paypal_Model_Payflowadvanced, Mage_Paypal_Model_Payflowlink, Mage_Paypal_Model_Payflowpro, Mage_PaypalUk_Model_DirectPackage: Mage\Payment
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Payment/Model/Method/Abstract.php
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
#
fetchTransactionInfo(
Fetch transaction info |
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
Mage_Payment_Model_Abstract
|
|
public
Mage_Payment_Model_Abstract
|
|
public
Mage_Payment_Model_Abstract
|
|
public
Mage_Payment_Model_Abstract
|
|
public
|
#
processInvoice(
Set capture transaction ID to invoice for informational purposes |
public
|
#
processBeforeRefund(
Set refund transaction id to payment object for informational purposes Candidate to be deprecated: there can be multiple refunds per payment, thus payment.refund_transaction_id doesn't make big sense |
public
Mage_Payment_Model_Abstract
|
|
public
|
#
processCreditmemo(
Set transaction ID into creditmemo for informational purposes |
public
Mage_Payment_Model_Abstract
|
|
public
Mage_Payment_Model_Abstract
|
|
public
boolean
|
#
canReviewPayment(
Whether this method can accept or deny payment |
public
boolean
|
#
acceptPayment(
Attempt to accept a payment that us under review |
public
boolean
|
|
public
string
|
|
public
mixed
|
#
getConfigData( string $field, integer|string|null|
Retrieve information from payment configuration |
public
|
|
public
Mage_Payment_Model_Abstract
|
|
public
boolean
|
|
public
Mage_Payment_Model_Abstract
|
#
initialize( string $paymentAction, object $stateObject )
Method that will be executed instead of authorize or capture if flag isInitializeNeeded set to true |
public
string
|
#
getConfigPaymentAction( )
Get config payment action url Used to universalize payment actions when processing payment place |
protected
|
|
public
boolean
|
|
public
|
string |
ACTION_ORDER
|
'order' |
|
string |
ACTION_AUTHORIZE
|
'authorize' |
|
string |
ACTION_AUTHORIZE_CAPTURE
|
'authorize_capture' |
|
string |
STATUS_UNKNOWN
|
'UNKNOWN' |
|
string |
STATUS_APPROVED
|
'APPROVED' |
|
string |
STATUS_ERROR
|
'ERROR' |
|
string |
STATUS_DECLINED
|
'DECLINED' |
|
string |
STATUS_VOID
|
'VOID' |
|
string |
STATUS_SUCCESS
|
'SUCCESS' |
protected
mixed
|
$_code |
|
|
protected
string
|
$_formBlockType | 'payment/form' |
|
protected
string
|
$_infoBlockType | 'payment/info' |
|
protected
boolean
|
$_isGateway | false |
#
Payment Method features |
protected
boolean
|
$_canOrder | false |
|
protected
boolean
|
$_canAuthorize | false |
|
protected
boolean
|
$_canCapture | false |
|
protected
boolean
|
$_canCapturePartial | false |
|
protected
boolean
|
$_canRefund | false |
|
protected
boolean
|
$_canRefundInvoicePartial | false |
|
protected
boolean
|
$_canVoid | false |
|
protected
boolean
|
$_canUseInternal | true |
|
protected
boolean
|
$_canUseCheckout | true |
|
protected
boolean
|
$_canUseForMultishipping | true |
|
protected
boolean
|
$_isInitializeNeeded | false |
|
protected
boolean
|
$_canFetchTransactionInfo | false |
|
protected
boolean
|
$_canReviewPayment | false |
|
protected
boolean
|
$_canCreateBillingAgreement | false |
|
protected
boolean
|
$_canManageRecurringProfiles | true |
|
protected
boolean
|
$_canCancelInvoice | false |
#
TODO: whether a captured transaction may be voided by this gateway This may happen when amount is captured, but not settled |
protected
array
|
$_debugReplacePrivateDataKeys | array() |
#
Fields that should be replaced in debug with '***' |