Class Mage_Sales_Model_Resource_Order_Payment_Transaction
Sales transaction resource model
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Sales_Model_Resource_Abstract
- Mage_Sales_Model_Resource_Order_Abstract
- Mage_Sales_Model_Resource_Order_Payment_Transaction
Direct known subclasses
Mage_Sales_Model_Mysql4_Order_Payment_Transaction
Package: Mage\Sales
Category: Mage
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/Sales/Model/Resource/Order/Payment/Transaction.php
Category: Mage
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/Sales/Model/Resource/Order/Payment/Transaction.php
protected
|
|
public
|
#
injectAsParent(
Update transactions in database using provided transaction as parent for them have to repeat the business logic to avoid accidental injection of wrong transactions |
public
|
#
loadObjectByTxnId(
Load the transaction object by specified txn_id |
public
string
|
|
protected
|
#
_beforeSave(
Lookup for parent_id in already saved transactions of this payment by the order_id Also serialize additional information, if any |
private
mixed
|
#
_lookupByTxnId( integer $orderId, integer $paymentId, string $txnId, mixed $columns, boolean $isRow = false, string $txnType = null )
Load cell/row by specified unique key parts |
private
Varien_Db_Select
|
#
_getLoadByUniqueKeySelect( integer $orderId, integer $paymentId, string $txnId, string|array|Zend_Db_Expr $columns = '*' )
Get select object for loading transaction by the unique key of order_id, payment_id, txn_id |
_prepareDataForSave()
|
protected
array
|
$_serializableFields | array(
'additional_information' => array(null, array())
) |
#
Serializeable field: additional_information |
$_entityTypeForIncrementId,
$_eventObject,
$_eventPrefix,
$_grid,
$_gridColumns,
$_useIncrementId,
$_useIsObjectNew,
$_virtualGridColumns
|
$_commitCallbacks
|