Class Mage_Payment_Model_Recurring_Profile
Recurring payment profile Extends from Mage_Core_Abstract for a reason: to make descendants have its own resource
- Varien_Object
-
Mage_Core_Model_Abstract
-
Mage_Payment_Model_Recurring_Profile
Direct known subclasses
Mage_Sales_Model_Recurring_ProfileCopyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Payment/Model/Recurring/Profile.php
public
boolean
|
|
public
array
|
#
getValidationErrors( boolean $isGrouped = true, mixed $asMessage = false )
Getter for errors that may appear after validation |
public
|
#
setMethodInstance(
Setter for payment method instance |
public
|
#
importBuyRequest( Varien_Object $buyRequest )
Collect needed information from buy request Then filter data |
public
|
#
importProduct(
Import product recurring profile information Returns false if it cannot be imported |
public
array
|
|
public
|
#
setNearestStartDatetime(
Determine nearest possible profile start date |
public
|
#
exportStartDatetime( boolean $asString = true )
Convert the start datetime (if set) to proper locale/timezone and return |
public
|
|
public
|
|
public
array
|
|
public
|
|
public
string|null
|
|
public
string|null
|
|
public
mixed
|
|
protected
|
|
protected
|
|
protected
|
|
protected
boolean
|
#
_validatePeriodFrequency( string $unitKey, string $frequencyKey )
Check accordance of the unit and frequency |
protected
|
|
protected
|
|
protected
array
|
#
_renderSchedule( string $periodKey, string $frequencyKey, string $cyclesKey )
Generate explanations for specified schedule parameters |
string |
BUY_REQUEST_START_DATETIME
|
'recurring_profile_start_datetime' |
#
Constants for passing data through catalog |
string |
PRODUCT_OPTIONS_KEY
|
'recurring_profile_options' |
|
string |
PERIOD_UNIT_DAY
|
'day' |
#
Period units |
string |
PERIOD_UNIT_WEEK
|
'week' |
|
string |
PERIOD_UNIT_SEMI_MONTH
|
'semi_month' |
|
string |
PERIOD_UNIT_MONTH
|
'month' |
|
string |
PERIOD_UNIT_YEAR
|
'year' |
protected
array
|
$_errors | array() |
#
Errors collected during validation |
protected
|
$_methodInstance | null |
|
protected
|
$_locale | null |
#
Locale instance used for importing/exporting data |
protected
|
$_store | null |
#
Store instance used by locale or method instance |
protected
array
|
$_paymentMethods | array() |
#
Payment methods reference |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|