Class Mage_Shipping_Model_Carrier_Abstract
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.
- Varien_Object
- Mage_Shipping_Model_Carrier_Abstract
Direct known subclasses
Mage_GoogleCheckout_Model_Shipping, Mage_Shipping_Model_Carrier_Flatrate, Mage_Shipping_Model_Carrier_Freeshipping, Mage_Shipping_Model_Carrier_Pickup, Mage_Shipping_Model_Carrier_Tablerate, Mage_Usa_Model_Shipping_Carrier_AbstractIndirect known subclasses
Mage_Usa_Model_Shipping_Carrier_Dhl, Mage_Usa_Model_Shipping_Carrier_Dhl_International, Mage_Usa_Model_Shipping_Carrier_Fedex, Mage_Usa_Model_Shipping_Carrier_Ups, Mage_Usa_Model_Shipping_Carrier_UspsPackage: Mage\Shipping
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/Carrier/Abstract.php
public
mixed
|
|
public
boolean
|
|
abstract public
|
|
public
Varien_Object
|
#
requestToShipment(
Do request to shipment Implementation must be in overridden method |
public
Varien_Object
|
#
returnOfShipment( mixed $request )
Do return of shipment Implementation must be in overridden method |
public
array
|
|
protected
array|boolean
|
|
public
array
|
|
public
array
|
#
getDeliveryConfirmationTypes( Varien_Object $params = null )
Return delivery confirmation types of carrier |
public
|
|
public
|
#
proccessAdditionalValidation(
Processing additional validation to check is carrier applicable. |
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
mixed
|
|
protected
null
|
|
public
string
|
#
getMethodPrice( string $cost, string $method = '' )
Calculate price considering free shipping and handling fee |
public
float
|
|
protected
float
|
#
_getPerpackagePrice( float $cost, string $handlingType, float $handlingFee )
Get final price for shipping method with handling fee per package |
protected
float
|
#
_getPerorderPrice( float $cost, string $handlingType, float $handlingFee )
Get final price for shipping method with handling fee per order |
public
float
|
|
public
weight
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
#
isZipCodeRequired( string|null $countryId = null )
Determine whether zip-code is required for the country of destination |
protected
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
array
|
string |
USA_COUNTRY_ID
|
'US' |
|
string |
CANADA_COUNTRY_ID
|
'CA' |
|
string |
MEXICO_COUNTRY_ID
|
'MX' |
|
string |
HANDLING_TYPE_PERCENT
|
'P' |
|
string |
HANDLING_TYPE_FIXED
|
'F' |
|
string |
HANDLING_ACTION_PERPACKAGE
|
'P' |
|
string |
HANDLING_ACTION_PERORDER
|
'O' |
protected
string
|
$_code |
|
#
Carrier's code |
protected
array
|
$_rates | null |
#
Rates result |
protected
integer
|
$_numBoxes | 1 |
#
Number of boxes in package |
protected
string
|
$_freeMethod | 'free_method' |
#
Free Method config path |
protected
boolean
|
$_isFixed | false |
#
Whether this carrier has fixed rates calculation |
protected
array
|
$_customizableContainerTypes | array() |
#
Container types that could be customized |
protected
array
|
$_debugReplacePrivateDataKeys | array() |
#
Fields that should be replaced in debug with '***' |