Class Mage_GoogleCheckout_Model_Payment

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/Payment.php (line 27)

Varien_Object
   |
   --Mage_Payment_Model_Method_Abstract
      |
      --Mage_GoogleCheckout_Model_Payment
Class Constant Summary
Variable Summary
Method Summary
Mage_GoogleCheckout_Model_Payment authorize ( $payment,  $amount, Varien_Object $orderPayment)
Mage_GoogleCheckout_Model_Payment cancel ( $payment, Varien_Object $invoicePayment)
bool canEdit ()
bool canVoid ( $payment)
Mage_GoogleCheckout_Model_Payment capture ( $payment,  $amount, Varien_Object $orderPayment)
mixed getConfigData (string $field, [ $storeId = null])
Mage_GoogleCheckout_Model_Payment refund ( $payment,  $amount, Varien_Object $invoicePayment)
void void ( $payment)
Variables
mixed $_canAuthorize = true (line 39)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canAuthorize
mixed $_canCapture = true (line 40)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canCapture
mixed $_canCapturePartial = true (line 41)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canCapturePartial
mixed $_canRefund = true (line 42)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canRefund
mixed $_canRefundInvoicePartial = true (line 43)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canRefundInvoicePartial
mixed $_canUseCheckout = false (line 46)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canUseCheckout
mixed $_canUseForMultishipping = false (line 47)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canUseForMultishipping
mixed $_canUseInternal = false (line 45)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canUseInternal
mixed $_canVoid = true (line 44)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_canVoid
mixed $_code = 'googlecheckout' (line 32)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_code
mixed $_formBlockType = 'googlecheckout/form' (line 33)
  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_formBlockType
mixed $_isGateway = false (line 38)

Availability options

  • access: protected

Redefinition of:
Mage_Payment_Model_Method_Abstract::$_isGateway
Payment Method features

Inherited Variables

Inherited from Mage_Payment_Model_Method_Abstract

Mage_Payment_Model_Method_Abstract::$_canCancelInvoice
Mage_Payment_Model_Method_Abstract::$_canCreateBillingAgreement
Mage_Payment_Model_Method_Abstract::$_canFetchTransactionInfo
Mage_Payment_Model_Method_Abstract::$_canManageRecurringProfiles
Mage_Payment_Model_Method_Abstract::$_canOrder
Mage_Payment_Model_Method_Abstract::$_canReviewPayment
Mage_Payment_Model_Method_Abstract::$_debugReplacePrivateDataKeys
Mage_Payment_Model_Method_Abstract::$_infoBlockType
Mage_Payment_Model_Method_Abstract::$_isInitializeNeeded
Methods
authorize (line 75)

Authorize

  • access: public
Mage_GoogleCheckout_Model_Payment authorize ( $payment,  $amount, Varien_Object $orderPayment)
  • Varien_Object $orderPayment
  • Varien_Object $payment
  • $amount

Redefinition of:
Mage_Payment_Model_Method_Abstract::authorize()
Authorize
cancel (line 152)

Void payment

  • access: public
Mage_GoogleCheckout_Model_Payment cancel ( $payment, Varien_Object $invoicePayment)
  • Varien_Object $invoicePayment
  • Varien_Object $payment

Redefinition of:
Mage_Payment_Model_Method_Abstract::cancel()
Cancel payment (GoogleCheckout)
canEdit (line 54)

Can be edit order (renew order)

  • access: public
bool canEdit ()

Redefinition of:
Mage_Payment_Model_Method_Abstract::canEdit()
Can be edit order (renew order)
canVoid (line 188)

Check void availability

  • access: public
bool canVoid ( $payment)
  • Varien_Object $payment

Redefinition of:
Mage_Payment_Model_Method_Abstract::canVoid()
Check void availability
capture (line 89)

Capture payment

  • access: public
Mage_GoogleCheckout_Model_Payment capture ( $payment,  $amount, Varien_Object $orderPayment)
  • Varien_Object $orderPayment
  • Varien_Object $payment
  • $amount

Redefinition of:
Mage_Payment_Model_Method_Abstract::capture()
Capture payment
getConfigData (line 173)

Retrieve information from payment configuration.

Rewrited because of custom node for checkout settings

  • access: public
mixed getConfigData (string $field, [ $storeId = null])
  • string $field
  • $storeId

Redefinition of:
Mage_Payment_Model_Method_Abstract::getConfigData()
Retrieve information from payment configuration
getOrderPlaceRedirectUrl (line 64)

Return Order Place Redirect URL

  • return: Order Redirect URL
  • access: public
string getOrderPlaceRedirectUrl ()
refund (line 121)

Refund money

  • access: public
Mage_GoogleCheckout_Model_Payment refund ( $payment,  $amount, Varien_Object $invoicePayment)
  • Varien_Object $invoicePayment
  • Varien_Object $payment
  • $amount

Redefinition of:
Mage_Payment_Model_Method_Abstract::refund()
Refund money
void (line 139)
  • access: public
void void ( $payment)
  • Varien_Object $payment

Redefinition of:
Mage_Payment_Model_Method_Abstract::void()
Void payment

Inherited Methods

Inherited From Mage_Payment_Model_Method_Abstract

Mage_Payment_Model_Method_Abstract::__construct()
Mage_Payment_Model_Method_Abstract::acceptPayment()
Mage_Payment_Model_Method_Abstract::assignData()
Mage_Payment_Model_Method_Abstract::authorize()
Mage_Payment_Model_Method_Abstract::canAuthorize()
Mage_Payment_Model_Method_Abstract::canCapture()
Mage_Payment_Model_Method_Abstract::canCapturePartial()
Mage_Payment_Model_Method_Abstract::cancel()
Mage_Payment_Model_Method_Abstract::canCreateBillingAgreement()
Mage_Payment_Model_Method_Abstract::canEdit()
Mage_Payment_Model_Method_Abstract::canFetchTransactionInfo()
Mage_Payment_Model_Method_Abstract::canManageBillingAgreements()
Mage_Payment_Model_Method_Abstract::canManageRecurringProfiles()
Mage_Payment_Model_Method_Abstract::canOrder()
Mage_Payment_Model_Method_Abstract::canRefund()
Mage_Payment_Model_Method_Abstract::canRefundPartialPerInvoice()
Mage_Payment_Model_Method_Abstract::canReviewPayment()
Mage_Payment_Model_Method_Abstract::canUseCheckout()
Mage_Payment_Model_Method_Abstract::canUseForCountry()
Mage_Payment_Model_Method_Abstract::canUseForCurrency()
Mage_Payment_Model_Method_Abstract::canUseForMultishipping()
Mage_Payment_Model_Method_Abstract::canUseInternal()
Mage_Payment_Model_Method_Abstract::canVoid()
Mage_Payment_Model_Method_Abstract::capture()
Mage_Payment_Model_Method_Abstract::debugData()
Mage_Payment_Model_Method_Abstract::denyPayment()
Mage_Payment_Model_Method_Abstract::fetchTransactionInfo()
Mage_Payment_Model_Method_Abstract::getCode()
Mage_Payment_Model_Method_Abstract::getConfigData()
Mage_Payment_Model_Method_Abstract::getConfigPaymentAction()
Mage_Payment_Model_Method_Abstract::getDebugFlag()
Mage_Payment_Model_Method_Abstract::getFormBlockType()
Mage_Payment_Model_Method_Abstract::getInfoBlockType()
Mage_Payment_Model_Method_Abstract::getInfoInstance()
Mage_Payment_Model_Method_Abstract::getTitle()
Mage_Payment_Model_Method_Abstract::initialize()
Mage_Payment_Model_Method_Abstract::isAvailable()
Mage_Payment_Model_Method_Abstract::isGateway()
Mage_Payment_Model_Method_Abstract::isInitializeNeeded()
Mage_Payment_Model_Method_Abstract::order()
Mage_Payment_Model_Method_Abstract::prepareSave()
Mage_Payment_Model_Method_Abstract::processBeforeRefund()
Mage_Payment_Model_Method_Abstract::processBeforeVoid()
Mage_Payment_Model_Method_Abstract::processCreditmemo()
Mage_Payment_Model_Method_Abstract::processInvoice()
Mage_Payment_Model_Method_Abstract::refund()
Mage_Payment_Model_Method_Abstract::validate()
Mage_Payment_Model_Method_Abstract::void()
Mage_Payment_Model_Method_Abstract::_debug()
Mage_Payment_Model_Method_Abstract::_getHelper()
Class Constants

Documentation generated on Fri, 11 Feb 2011 17:09:42 +0200 by phpDocumentor 1.4.3