Class Mage_Usa_Model_Shipping_Carrier_Ups
UPS shipping implementation
- Varien_Object
- Mage_Shipping_Model_Carrier_Abstract
- Mage_Usa_Model_Shipping_Carrier_Abstract
- Mage_Usa_Model_Shipping_Carrier_Ups 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/Ups.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/Ups.php
public
|
|
public
|
|
protected
float
|
|
public
mixed
|
|
protected
|
|
protected
null
|
|
protected
|
|
public
array|boolean
|
|
protected
|
|
public
array|boolean
|
|
protected
|
|
protected
float
|
|
protected
|
|
public
mixed
|
|
protected
null
|
|
protected
mixed
|
|
protected
mixed
|
|
protected
null
|
#
_parseXmlTrackingResponse( string $trackingvalue, string $xmlResponse )
Parse xml tracking response |
public
string
|
|
public
array
|
|
protected
string
|
|
protected
Varien_Object
|
#
_sendShipmentAcceptRequest(
Send and process shipment accept request |
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
|
|
public
array|boolean
|
|
public
array|boolean
|
#
getContainerTypesFilter( )
Return structured data of containers witch related with shipping methods |
public
array|boolean
|
#
getDeliveryConfirmationTypes( Varien_Object $params = null )
Return delivery confirmation types of carrier |
public
array
|
|
protected
integer|null
|
#
_getDeliveryConfirmationLevel( mixed $countyDest = null )
Get delivery confirmation level based on origin/destination Return null if delivery confirmation is not acceptable |
string |
CODE
|
'ups' |
#
Code of the carrier |
integer |
DELIVERY_CONFIRMATION_SHIPMENT
|
1 |
#
Delivery Confirmation level based on origin/destination |
integer |
DELIVERY_CONFIRMATION_PACKAGE
|
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
float
|
$_baseCurrencyRate |
|
#
Base currency rate |
protected
string
|
$_xmlAccessRequest | null |
#
Xml access request |
protected
string
|
$_defaultCgiGatewayUrl | 'http://www.ups.com:80/using/services/rave/qcostcgi.cgi' |
#
Default cgi gateway url |
protected
array
|
$_defaultUrls | array(
'ShipConfirm' => 'https://wwwcie.ups.com/ups.app/xml/ShipConfirm',
'ShipAccept' => 'https://wwwcie.ups.com/ups.app/xml/ShipAccept',
) |
#
Default urls for shipment |
protected
array
|
$_customizableContainerTypes | array('CP', 'CSP') |
#
Container types that could be customized for UPS carrier |
$_activeFlag,
$_quotesCache
|
$_debugReplacePrivateDataKeys,
$_freeMethod,
$_isFixed,
$_numBoxes,
$_rates
|