Class Mage_Checkout_Model_Type_Onepage
One page checkout processing model
Package: Mage\Checkout
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Checkout/Model/Type/Onepage.php
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Checkout/Model/Type/Onepage.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
array
|
|
public
|
|
public
|
#
saveBilling( array $data, integer $customerAddressId )
Save billing address information to quote This method is called by One Page Checkout JS (AJAX) while saving the billing information. |
protected
true|array
|
#
_validateCustomerData( array $data )
Validate customer data and set some its data for further usage in quote Will return either true or array with error messages |
public
|
|
public
array
|
|
public
array
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
false|
|
|
public
string
|
string |
METHOD_GUEST
|
'guest' |
#
Checkout types: Checkout as Guest, Register, Logged In Customer |
string |
METHOD_REGISTER
|
'register' |
|
string |
METHOD_CUSTOMER
|
'customer' |
private
string
|
$_customerEmailExistsMessage | '' |
#
Error message of "customer already exists" |
protected
|
$_customerSession |
|
|
protected
|
$_checkoutSession |
|
|
protected
|
$_quote | null |
|
protected
|
$_helper |
|