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_Payment

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
Extended by Mage_Payment_Model_Method_Abstract
Extended by Mage_GoogleCheckout_Model_Payment
Package: Mage\GoogleCheckout
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/Payment.php
Methods summary
public boolean
# canEdit( )

Can be edit order (renew order)

Can be edit order (renew order)

Returns

boolean

Overrides

Mage_Payment_Model_Method_Abstract::canEdit()
public string
# getOrderPlaceRedirectUrl( )

Return Order Place Redirect URL

Return Order Place Redirect URL

Returns

string
Order Redirect URL
public Mage_GoogleCheckout_Model_Payment
# authorize( Varien_Object $payment, float $amount )

Authorize

Authorize

Parameters

$payment
Varien_Object
$orderPayment
$amount
float
$amount

Returns

Mage_GoogleCheckout_Model_Payment

Overrides

Mage_Payment_Model_Method_Abstract::authorize()
public Mage_GoogleCheckout_Model_Payment
# capture( Varien_Object $payment, float $amount )

Capture payment

Capture payment

Parameters

$payment
Varien_Object
$orderPayment
$amount
float
$amount

Returns

Mage_GoogleCheckout_Model_Payment

Overrides

Mage_Payment_Model_Method_Abstract::capture()
public Mage_GoogleCheckout_Model_Payment
# refund( Varien_Object $payment, float $amount )

Refund money

Refund money

Parameters

$payment
Varien_Object
$payment
$amount
float
$amount

Returns

Mage_GoogleCheckout_Model_Payment

Overrides

Mage_Payment_Model_Method_Abstract::refund()
public Mage_Payment_Model_Abstract
# void( Varien_Object $payment )

Void payment abstract method

Void payment abstract method

Parameters

$payment
Varien_Object
$payment

Returns

Mage_Payment_Model_Abstract

Overrides

Mage_Payment_Model_Method_Abstract::void()
public Mage_GoogleCheckout_Model_Payment
# cancel( Varien_Object $payment )

Void payment

Void payment

Parameters

$payment
Varien_Object
$payment

Returns

Mage_GoogleCheckout_Model_Payment

Overrides

Mage_Payment_Model_Method_Abstract::cancel()
public mixed
# getConfigData( string $field, integer|string|null|Mage_Core_Model_Store $storeId = null )

Retrieve information from payment configuration

Retrieve information from payment configuration

Parameters

$field
string
$field
$storeId
integer|string|null|Mage_Core_Model_Store
$storeId

Returns

mixed

Overrides

Mage_Payment_Model_Method_Abstract::getConfigData()
public boolean
# canVoid( Varien_Object $payment )

Check void availability

Check void availability

Parameters

$payment
Varien_Object
$payment

Returns

boolean

Overrides

Mage_Payment_Model_Method_Abstract::canVoid()
Methods inherited from Mage_Payment_Model_Method_Abstract
__construct(), _debug(), _getHelper(), acceptPayment(), assignData(), canAuthorize(), canCapture(), canCapturePartial(), canCreateBillingAgreement(), canFetchTransactionInfo(), canManageBillingAgreements(), canManageRecurringProfiles(), canOrder(), canRefund(), canRefundPartialPerInvoice(), canReviewPayment(), canUseCheckout(), canUseForCountry(), canUseForCurrency(), canUseForMultishipping(), canUseInternal(), debugData(), denyPayment(), fetchTransactionInfo(), getCode(), getConfigPaymentAction(), getDebugFlag(), getFormBlockType(), getInfoBlockType(), getInfoInstance(), getTitle(), initialize(), isAvailable(), isGateway(), isInitializeNeeded(), order(), prepareSave(), processBeforeRefund(), processCreditmemo(), processInvoice(), validate()
Constants inherited from Mage_Payment_Model_Method_Abstract
ACTION_AUTHORIZE, ACTION_AUTHORIZE_CAPTURE, ACTION_ORDER, STATUS_APPROVED, STATUS_DECLINED, STATUS_ERROR, STATUS_SUCCESS, STATUS_UNKNOWN, STATUS_VOID
Properties summary
protected string $_code 'googlecheckout'
#
protected string $_formBlockType 'googlecheckout/form'
#
protected boolean $_isGateway false
#

Availability options

Availability options

protected boolean $_canAuthorize true
#
protected boolean $_canCapture true
#
protected boolean $_canCapturePartial true
#
protected boolean $_canRefund true
#
protected boolean $_canRefundInvoicePartial true
#
protected boolean $_canVoid true
#
protected boolean $_canUseInternal false
#
protected boolean $_canUseCheckout false
#
protected boolean $_canUseForMultishipping false
#
Properties inherited from Mage_Payment_Model_Method_Abstract
$_canCancelInvoice, $_canCreateBillingAgreement, $_canFetchTransactionInfo, $_canManageRecurringProfiles, $_canOrder, $_canReviewPayment, $_debugReplacePrivateDataKeys, $_infoBlockType, $_isInitializeNeeded
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0