Class Mage_GoogleCheckout_Model_Api_Xml_Callback
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_GoogleCheckout_Model_Api_Xml_Abstract
- Mage_GoogleCheckout_Model_Api_Xml_Callback
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/GoogleCheckout/Model/Api/Xml/Callback.php
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_applyShippingTaxClass( Varien_Object $qAddress, mixed $shippingTaxClass )
Apply shipping tax class |
protected
|
#
_responseNewOrderNotification( )
Process new order creation notification from google. Convert customer quote to order |
protected
string
|
#
_applyCustomTax( Varien_Object $qAddress )
If tax value differs tax which is setted on magento, apply Google tax and recollect quote |
protected
Varien_Object
|
#
_importGoogleAddress( array $gAddress, Varien_Object $qAddress = null )
Import address data from google request to address object |
protected
array
|
#
_getShippingInfos( mixed $storeId = null )
Returns array of possible shipping methods combinations Includes internal GoogleCheckout shipping methods, that can be created after successful Google Checkout |
protected
string|false
|
#
_getShippingMethodByName( string $name, integer|string|
Return shipping method code by shipping method name received from Google |
protected
|
#
_createShippingRate( string $code, mixed $storeId = null )
Creates rate by method code Sets shipping rate's accurate description, titles and so on, so it will get in order description properly |
protected
|
#
_importGoogleTotals( Varien_Object $qAddress )
Import totals information from google request to quote address |
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_addChildTransaction( string $typeTarget, string $typeParent =
Add transaction to payment with defined type |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string
|
protected
array
|
$_cachedShippingInfo | array() |