Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_GoogleCheckout_ApiController
  • Mage_GoogleCheckout_Block_Adminhtml_Shipping_Applicable_Countries
  • Mage_GoogleCheckout_Block_Adminhtml_Shipping_Merchant
  • Mage_GoogleCheckout_Block_Form
  • Mage_GoogleCheckout_Block_Link
  • Mage_GoogleCheckout_Block_Redirect
  • Mage_GoogleCheckout_Helper_Data
  • Mage_GoogleCheckout_Model_Api
  • Mage_GoogleCheckout_Model_Api_Debug
  • Mage_GoogleCheckout_Model_Api_Xml_Abstract
  • Mage_GoogleCheckout_Model_Api_Xml_Calculate
  • Mage_GoogleCheckout_Model_Api_Xml_Callback
  • Mage_GoogleCheckout_Model_Api_Xml_Checkout
  • Mage_GoogleCheckout_Model_Api_Xml_Order
  • Mage_GoogleCheckout_Model_Mysql4_Api_Debug
  • Mage_GoogleCheckout_Model_Mysql4_Api_Debug_Collection
  • Mage_GoogleCheckout_Model_Mysql4_Notification
  • Mage_GoogleCheckout_Model_Mysql4_Setup
  • Mage_GoogleCheckout_Model_Mysql4_Tax
  • Mage_GoogleCheckout_Model_Notification
  • Mage_GoogleCheckout_Model_Observer
  • Mage_GoogleCheckout_Model_Payment
  • Mage_GoogleCheckout_Model_Resource_Api_Debug
  • Mage_GoogleCheckout_Model_Resource_Api_Debug_Collection
  • Mage_GoogleCheckout_Model_Resource_Notification
  • Mage_GoogleCheckout_Model_Resource_Setup
  • Mage_GoogleCheckout_Model_Resource_Tax
  • Mage_GoogleCheckout_Model_Shipping
  • Mage_GoogleCheckout_Model_Source_Checkout_Image
  • Mage_GoogleCheckout_Model_Source_Locale
  • Mage_GoogleCheckout_Model_Source_Shipping_Carrier
  • Mage_GoogleCheckout_Model_Source_Shipping_Category
  • Mage_GoogleCheckout_Model_Source_Shipping_Units
  • Mage_GoogleCheckout_Model_Source_Shipping_Virtual_Method
  • Mage_GoogleCheckout_Model_Source_Shipping_Virtual_Schedule
  • Mage_GoogleCheckout_RedirectController

Exceptions

  • Mage_GoogleCheckout_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_GoogleCheckout_Model_Api_Xml_Checkout

Google Checkout XML API processing model

Varien_Object
Extended by Mage_GoogleCheckout_Model_Api_Xml_Abstract
Extended by Mage_GoogleCheckout_Model_Api_Xml_Checkout
Package: Mage\GoogleCheckout
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/GoogleCheckout/Model/Api/Xml/Checkout.php
Methods summary
protected string
# _getApiUrl( )

API URL getter

API URL getter

Returns

string
public Mage_GoogleCheckout_Model_Api_Xml_Checkout
# checkout( )

Send checkout data to google

Send checkout data to google

Returns

Mage_GoogleCheckout_Model_Api_Xml_Checkout
protected string
# _getItemsXml( )

Retrieve quote items in XML format

Retrieve quote items in XML format

Returns

string
protected string
# _getDigitalContentXml( boolean $isVirtual )

Retrieve digital content XML

Retrieve digital content XML

Parameters

$isVirtual
boolean
$isVirtual

Returns

string
protected string
# _getMerchantPrivateItemDataXml( Mage_Sales_Model_Quote_Item $item )

Convert quote item to private item XML

Convert quote item to private item XML

Parameters

$item
Mage_Sales_Model_Quote_Item
$item

Returns

string
protected string
# _getMerchantPrivateDataXml( )

Retrieve merchant private data XML

Retrieve merchant private data XML

Returns

string
protected string
# _getCartExpirationXml( )

Retrieve quote expiration XML

Retrieve quote expiration XML

Returns

string
protected string
# _getMerchantCheckoutFlowSupportXml( )

Retrieve merchant checkout flow support XML

Retrieve merchant checkout flow support XML

Returns

string
protected string
# _getRequestBuyerPhoneNumberXml( )

Retrieve request buyer phone number XML

Retrieve request buyer phone number XML

Returns

string
protected string
# _getMerchantCalculationsXml( )

Retrieve merchant calculations XML

Retrieve merchant calculations XML

Returns

string
protected string
# _getVirtualOrderShippingXml( )

Retrieve free shipping rate XML

Retrieve free shipping rate XML

Returns

string
protected string
# _getShippingMethodsXml( )

Retrieve shipping methods XML

Retrieve shipping methods XML

Returns

string
protected string
# _getCarrierCalculatedShippingXml( )

Generate XML of calculated shipping carriers rates

Generate XML of calculated shipping carriers rates

Returns

string
protected string
# _getFlatRateShippingXml( )

Generate flat rate shipping XML

Generate flat rate shipping XML

Returns

string
protected string
# _getAllowedCountries( boolean $allowSpecific, string $specific )

Generate shipping allowed countries XML

Generate shipping allowed countries XML

Parameters

$allowSpecific
boolean
$allowSpecific
$specific
string
$specific

Returns

string
protected string
# _getMerchantCalculatedShippingXml( )

Retrieve merchant calculated shipping carriers rates XML

Retrieve merchant calculated shipping carriers rates XML

Returns

string
protected string
# _getPickupXml( )

Retrieve pickup XML

Retrieve pickup XML

Returns

string
protected string
# _getTaxTableXml( array|float $rules, string $type )

Retrieve specific tax table XML

Retrieve specific tax table XML

Parameters

$rules
array|float
$rules
$type
string
$type

Returns

string
protected string
# _getAllTaxTablesXml( )

Generate all tax tables XML

Generate all tax tables XML

Returns

string
protected integer
# _getCustomerTaxClass( )

Retrieve customer tax class id

Retrieve customer tax class id

Returns

integer
protected array
# _getShippingTaxRules( )

Retrieve shipping tax rules

Retrieve shipping tax rules

Returns

array
protected array
# _getTaxRules( )

Retrieve tax rules

Retrieve tax rules

Returns

array
protected string
# _getRequestInitialAuthDetailsXml( )

Getter for request initial auth details flag XML

Getter for request initial auth details flag XML

Returns

string
protected string
# _getParameterizedUrlsXml( )

Getter for parametrized url XML

Getter for parametrized url XML

Returns

string
protected string
# _getPlatformIdXml( )

Getter for platform Id XML

Getter for platform Id XML

Returns

string
protected string
# _getAnalyticsDataXml( )

Retrieve analytics data XML

Retrieve analytics data XML

Returns

string
protected string
# _getEditCartUrl( )

Getter for cart edit url

Getter for cart edit url

Returns

string
protected string
# _getContinueShoppingUrl( )

Getter for continue shopping url

Getter for continue shopping url

Returns

string
protected string
# _getNotificationsUrl( )

Getter for notifications url

Getter for notifications url

Returns

string
protected string
# _getCalculationsUrl( )

Getter for calculations url

Getter for calculations url

Returns

string
protected string
# _getParameterizedUrl( )

Getter for parametrized url

Getter for parametrized url

Returns

string
protected boolean
# _isOrderVirtual( )

Define if current quote is virtual

Define if current quote is virtual

Returns

boolean
protected array
# _getGoogleCarriersMap( )

Retrieve native carriers to Google carriers map

Retrieve native carriers to Google carriers map

Returns

array
Methods inherited from Mage_GoogleCheckout_Model_Api_Xml_Abstract
__(), _call(), _getBaseApiUrl(), _getCallbackUrl(), _getTaxClassForShipping(), _reCalculateToStoreCurrency(), getCurrency(), getGRequest(), getGResponse(), getLocale(), getMerchantId(), getMerchantKey(), getServerType(), log()
Constants summary
string ITEM_WEIGHT_UNIT 'LB'
#

Representation value of item weight unit

Representation value of item weight unit

string ITEM_SIZE_UNIT 'IN'
#

Representation value of item size unit

Representation value of item size unit

string CHECKOUT_SHOPPING_CART_XMLNS 'http://checkout.google.com/schema/2'
#

Google checkout namespace URI

Google checkout namespace URI

Properties summary
protected boolean $_shippingCalculated false
#

Define if shipping rates already calculated

Define if shipping rates already calculated

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0