Class Mage_GoogleCheckout_Model_Api_Xml_Callback

Description

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 [email protected] 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.

Located in /GoogleCheckout/Model/Api/Xml/Callback.php (line 27)

Varien_Object
   |
   --Mage_GoogleCheckout_Model_Api_Xml_Abstract
      |
      --Mage_GoogleCheckout_Model_Api_Xml_Callback
Variable Summary
Method Summary
Mage_GoogleCheckout_Model_Api_Xml_Callback _addChildTransaction (string $typeTarget, [string $typeParent = Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH])
string _applyCustomTax (Varien_Object $qAddress)
void _applyShippingTaxClass (Varien_Object $qAddress, mixed $shippingTaxClass)
void _createInvoice ()
void _createShipment ()
Mage_Sales_Model_Quote_Address_Rate _createShippingRate (string $code, [ $storeId = null])
string _formatAmount (mixed $amount)
void _getApiUrl ()
array _getShippingInfos ([ $storeId = null])
string|false _getShippingMethodByName (string $name, [int|string|Mage_Core_Model_Store $storeId = null])
Varien_Object _importGoogleAddress (array $gAddress, [ $qAddress = null])
void _importGoogleTotals (Varien_Object $qAddress)
void _responseError ()
Variables
mixed $_cachedShippingInfo = array() (line 29)
  • access: protected
Methods
getGoogleOrderNumber (line 131)
  • access: protected
void getGoogleOrderNumber ()
getOrder (line 701)

Enter description here...

  • access: public
process (line 35)

Process notification from google

  • access: public
_addChildTransaction (line 957)

Add transaction to payment with defined type

  • access: protected
Mage_GoogleCheckout_Model_Api_Xml_Callback _addChildTransaction (string $typeTarget, [string $typeParent = Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH])
  • string $typeTarget
  • string $typeParent
_applyCustomTax (line 446)

If tax value differs tax which is setted on magento, apply Google tax and recollect quote

  • return: | false
  • access: protected
string _applyCustomTax (Varien_Object $qAddress)
  • Varien_Object $qAddress
_applyShippingTaxClass (line 300)

Apply shipping tax class

  • access: protected
void _applyShippingTaxClass (Varien_Object $qAddress, mixed $shippingTaxClass)
  • Varien_Object $qAddress
  • mixed $shippingTaxClass
_createInvoice (line 808)
  • access: protected
void _createInvoice ()
_createShipment (line 827)
  • access: protected
void _createShipment ()
_createShippingRate (line 618)

Creates rate by method code Sets shipping rate's accurate description, titles and so on, so it will get in order description properly

  • access: protected
Mage_Sales_Model_Quote_Address_Rate _createShippingRate (string $code, [ $storeId = null])
  • string $code
  • $storeId
_formatAmount (line 1048)

Format amount to be displayed

  • access: protected
string _formatAmount (mixed $amount)
  • mixed $amount
_getApiUrl (line 126)
  • access: protected
void _getApiUrl ()

Redefinition of:
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_getApiUrl()
_getShippingInfos (line 547)

Returns array of possible shipping methods combinations Includes internal GoogleCheckout shipping methods, that can be created after successful Google Checkout

  • access: protected
array _getShippingInfos ([ $storeId = null])
  • $storeId
_getShippingMethodByName (line 597)

Return shipping method code by shipping method name received from Google

  • access: protected
string|false _getShippingMethodByName (string $name, [int|string|Mage_Core_Model_Store $storeId = null])
_importGoogleAddress (line 501)

Import address data from google request to address object

  • access: protected
Varien_Object _importGoogleAddress (array $gAddress, [ $qAddress = null])
  • Varien_Object $qAddress
  • array $gAddress: | Varien_Object $gAddress
_importGoogleTotals (line 640)

Import totals information from google request to quote address

  • access: protected
void _importGoogleTotals (Varien_Object $qAddress)
  • Varien_Object $qAddress
_loadQuote (line 111)

Load quote from request and make sure the proper payment method is set

  • access: protected
Mage_Sales_Model_Quote _loadQuote ()
_orderStateChangeFinancialCancelled (line 1009)
  • access: protected
void _orderStateChangeFinancialCancelled ()
_orderStateChangeFinancialCancelledByGoogle (line 1014)
  • access: protected
void _orderStateChangeFinancialCancelledByGoogle ()
_orderStateChangeFinancialChargeable (line 988)
  • access: protected
void _orderStateChangeFinancialChargeable ()
_orderStateChangeFinancialCharged (line 999)
  • access: protected
void _orderStateChangeFinancialCharged ()
_orderStateChangeFinancialCharging (line 994)
  • access: protected
void _orderStateChangeFinancialCharging ()
_orderStateChangeFinancialPaymentDeclined (line 1004)
  • access: protected
void _orderStateChangeFinancialPaymentDeclined ()
_orderStateChangeFinancialReviewing (line 983)
  • access: protected
void _orderStateChangeFinancialReviewing ()
_orderStateChangeFulfillmentDelivered (line 1030)
  • access: protected
void _orderStateChangeFulfillmentDelivered ()
_orderStateChangeFulfillmentNew (line 1020)
  • access: protected
void _orderStateChangeFulfillmentNew ()
_orderStateChangeFulfillmentProcessing (line 1025)
  • access: protected
void _orderStateChangeFulfillmentProcessing ()
_orderStateChangeFulfillmentWillNotDeliver (line 1037)
  • access: protected
void _orderStateChangeFulfillmentWillNotDeliver ()
_responseAuthorizationAmountNotification (line 744)

Process authorization notification

  • access: protected
void _responseAuthorizationAmountNotification ()
_responseChargeAmountNotification (line 771)

Process charge notification

  • access: protected
void _responseChargeAmountNotification ()
_responseChargebackAmountNotification (line 848)

Process chargeback notification

  • access: protected
void _responseChargebackAmountNotification ()
_responseCheckoutRedirect (line 151)
  • access: protected
void _responseCheckoutRedirect ()
_responseDiagnosis (line 146)
  • access: protected
void _responseDiagnosis ()
_responseError (line 141)
  • access: protected
void _responseError ()
_responseMerchantCalculationCallback (line 159)

Calculate available shipping amounts and taxes

  • access: protected
void _responseMerchantCalculationCallback ()
_responseNewOrderNotification (line 327)

Process new order creation notification from google.

Convert customer quote to order

  • access: protected
void _responseNewOrderNotification ()
_responseOrderStateChangeNotification (line 919)
  • access: protected
void _responseOrderStateChangeNotification ()
_responseRefundAmountNotification (line 880)

Process refund notification

  • access: protected
void _responseRefundAmountNotification ()
_responseRequestReceived (line 136)
  • access: protected
void _responseRequestReceived ()
_responseRiskInformationNotification (line 714)
  • access: protected
void _responseRiskInformationNotification ()

Inherited Methods

Inherited From Mage_GoogleCheckout_Model_Api_Xml_Abstract

Mage_GoogleCheckout_Model_Api_Xml_Abstract::getCurrency()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::getGRequest()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::getGResponse()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::getLocale()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::getMerchantId()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::getMerchantKey()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::getServerType()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::log()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_call()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_getApiUrl()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_getBaseApiUrl()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_getCallbackUrl()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_getTaxClassForShipping()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::_reCalculateToStoreCurrency()
Mage_GoogleCheckout_Model_Api_Xml_Abstract::__()

Documentation generated on Fri, 11 Feb 2011 16:57:17 +0200 by phpDocumentor 1.4.3