Class Mage_Sales_Model_Billing_Agreement
Billing Agreement abstract model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Payment_Model_Billing_AgreementAbstract
- Mage_Sales_Model_Billing_Agreement
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/Billing/Agreement.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/Billing/Agreement.php
protected
|
|
protected
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array
|
|
public
boolean
|
|
public
|
#
importOrderPayment(
Import payment data to billing agreement |
public
|
#
getAvailableCustomerBillingAgreements( integer $customerId )
Retrieve available customer Billing Agreements |
public
boolean
|
#
needToCreateForCustomer( integer $customerId )
Check whether need to create billing agreement for customer |
public
|
#
addOrderRelation( integer|
Add order relation to current billing agreement |
protected
|
getPaymentMethodInstance()
|
string |
STATUS_ACTIVE
|
'active' |
|
string |
STATUS_CANCELED
|
'canceled' |
protected
array
|
$_relatedOrders | array() |
#
Related agreement orders |
$_errors,
$_paymentMethodInstance
|
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|