Class Mage_Shipping_Model_Shipping
Magento
NOTICE OF LICENSE
This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.
DISCLAIMER
Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Shipping/Model/Shipping.php
public
|
|
public
null
|
|
public
|
|
public
|
|
public
|
#
collectRates(
Retrieve all methods for supplied shipping data |
public
|
#
collectCarrierRates( string $carrierCode,
Collect rates of given carrier |
public
array
|
#
composePackagesForCarrier(
Compose Packages For Carrier. Devides order into items and items into parts if it's neccesary |
protected
array
|
#
_makePieces( array $items, float $maxWeight )
Make pieces Compose packeges list based on given items, so that each package is as heavy as possible |
public
|
#
collectRatesByAddress( Varien_Object $address, null|boolean|array $limitCarrier = null )
Collect rates by address |
public
|
|
public
boolean|
|
|
public
Varien_Object
|
#
requestToShipment(
Prepare and do request to shipment |
string |
XML_PATH_STORE_ADDRESS1
|
'shipping/origin/street_line1' |
#
Store address |
string |
XML_PATH_STORE_ADDRESS2
|
'shipping/origin/street_line2' |
|
string |
XML_PATH_STORE_CITY
|
'shipping/origin/city' |
|
string |
XML_PATH_STORE_REGION_ID
|
'shipping/origin/region_id' |
|
string |
XML_PATH_STORE_ZIP
|
'shipping/origin/postcode' |
|
string |
XML_PATH_STORE_COUNTRY_ID
|
'shipping/origin/country_id' |
protected
array
|
$_orig | null |
#
Default shipping orig for requests |
protected
Mage_Sales_Model_Shipping_Method_Result
|
$_result | null |
#
Cached result |
protected
string
|
$_availabilityConfigField | 'active' |
#
Part of carrier xml config path |