Class Mage_Sales_Model_Recurring_Profile
Sales implementation of recurring payment profiles Implements saving and manageing profiles
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Payment_Model_Recurring_Profile
- Mage_Sales_Model_Recurring_Profile
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/Recurring/Profile.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/Recurring/Profile.php
public
|
#
loadByInternalReferenceId( string $internalReferenceId )
Load order by system increment identifier |
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
#
importQuoteItem(
Import quote item information to the profile |
public
string|null
|
|
public
string|null
|
|
public
array
|
|
public
string
|
|
public
mixed
|
|
public
mixed|null
|
#
getInfoValue( string $infoKey, string $infoValueKey )
Getter for additional information value It is assumed that the specified additional info is an object or associative array |
protected
|
|
protected
|
|
protected
|
|
protected
boolean
|
#
_checkWorkflow( string $againstState, boolean $soft = true )
Check whether profile can be changed to specified state |
public
array
|
|
public
|
|
protected
|
|
protected
|
#
_getRegularItem( Varien_Object $itemInfo )
Create and return new order item based on profile item data and $itemInfo for regular payment |
protected
|
#
_getTrialItem( Varien_Object $itemInfo )
Create and return new order item based on profile item data and $itemInfo for trial payment |
protected
|
#
_getInitialItem( Varien_Object $itemInfo )
Create and return new order item based on profile item data and $itemInfo for initial payment |
protected
|
#
_addAdditionalOptionToItem(
Add additional options suboption into itev |
private
|
string |
STATE_UNKNOWN
|
'unknown' |
#
Available states |
string |
STATE_PENDING
|
'pending' |
|
string |
STATE_ACTIVE
|
'active' |
|
string |
STATE_SUSPENDED
|
'suspended' |
|
string |
STATE_CANCELED
|
'canceled' |
|
string |
STATE_EXPIRED
|
'expired' |
|
string |
PAYMENT_TYPE_REGULAR
|
'regular' |
#
Payment types |
string |
PAYMENT_TYPE_TRIAL
|
'trial' |
|
string |
PAYMENT_TYPE_INITIAL
|
'initial' |
protected
array
|
$_workflow | null |
#
Allowed actions matrix |
$_errors,
$_locale,
$_methodInstance,
$_paymentMethods,
$_store
|
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|