Class Mage_Usa_Model_Shipping_Carrier_Dhl
DHL shipping implementation
- Varien_Object
- Mage_Shipping_Model_Carrier_Abstract
- Mage_Usa_Model_Shipping_Carrier_Abstract
- Mage_Usa_Model_Shipping_Carrier_Dhl implements Mage_Shipping_Model_Carrier_Interface
Package: Mage\Usa
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/Usa/Model/Shipping/Carrier/Dhl.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/Usa/Model/Shipping/Carrier/Dhl.php
public
boolean|
|
|
public
|
|
public
mixed
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
array|boolean
|
|
protected
|
|
public
mixed
|
|
protected
null
|
|
protected
null
|
|
protected
null
|
|
public
string
|
|
public
array
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
protected
null
|
|
protected
Varien_Object
|
#
_doShipmentRequest( Varien_Object $request )
Do shipment request to carrier web service, obtain Print Shipping Labels and process errors in response |
public
array|boolean
|
string |
CODE
|
'dhl' |
#
Code of the carrier |
integer |
SUCCESS_CODE
|
203 |
|
integer |
SUCCESS_LABEL_CODE
|
100 |
|
string |
ADDITIONAL_PROTECTION_ASSET
|
'AP' |
|
string |
ADDITIONAL_PROTECTION_NOT_REQUIRED
|
'NR' |
|
integer |
ADDITIONAL_PROTECTION_VALUE_CONFIG
|
0 |
|
integer |
ADDITIONAL_PROTECTION_VALUE_SUBTOTAL
|
1 |
|
integer |
ADDITIONAL_PROTECTION_VALUE_SUBTOTAL_WITH_DISCOUNT
|
2 |
|
integer |
ADDITIONAL_PROTECTION_ROUNDING_FLOOR
|
0 |
|
integer |
ADDITIONAL_PROTECTION_ROUNDING_CEIL
|
1 |
|
integer |
ADDITIONAL_PROTECTION_ROUNDING_ROUND
|
2 |
GUAM_COUNTRY_ID,
GUAM_REGION_CODE,
PUERTORICO_COUNTRY_ID
|
protected
string
|
$_code |
|
#
Code of the carrier |
protected
|
$_request | null |
#
Rate request data |
protected
Varien_Object|null
|
$_rawRequest | null |
#
Raw rate request data |
protected
|
$_result | null |
#
Rate result data |
protected
array
|
$_errors | array() |
#
Errors placeholder |
protected
array
|
$_dhlRates | array() |
#
Dhl rates result |
protected
string
|
$_defaultGatewayUrl | 'https://eCommerce.airborne.com/ApiLandingTest.asp' |
#
Default gateway url |
protected
array
|
$_customizableContainerTypes | array('P') |
#
Container types that could be customized |
$_activeFlag,
$_quotesCache
|
$_debugReplacePrivateDataKeys,
$_freeMethod,
$_isFixed,
$_numBoxes,
$_rates
|