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_Paygate_Adminhtml_Paygate_Authorizenet_PaymentController
  • Mage_Paygate_Authorizenet_PaymentController
  • Mage_Paygate_Block_Authorizenet_Form_Cc
  • Mage_Paygate_Block_Authorizenet_Info_Cc
  • Mage_Paygate_Helper_Data
  • Mage_Paygate_Model_Authorizenet
  • Mage_Paygate_Model_Authorizenet_Cards
  • Mage_Paygate_Model_Authorizenet_Debug
  • Mage_Paygate_Model_Authorizenet_Result
  • Mage_Paygate_Model_Authorizenet_Source_Cctype
  • Mage_Paygate_Model_Authorizenet_Source_PaymentAction
  • Mage_Paygate_Model_Mysql4_Authorizenet_Debug
  • Mage_Paygate_Model_Mysql4_Authorizenet_Debug_Collection
  • Mage_Paygate_Model_Resource_Authorizenet_Debug
  • Mage_Paygate_Model_Resource_Authorizenet_Debug_Collection
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Paygate_Model_Authorizenet_Cards

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.

Package: Mage\Paygate
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Paygate/Model/Authorizenet/Cards.php
Methods summary
public Mage_Paygate_Model_Authorizenet_Cards
# setPayment( Mage_Payment_Model_Info $payment )

Set payment instance for storing credit card information and partial authorizations

Set payment instance for storing credit card information and partial authorizations

Parameters

$payment
Mage_Payment_Model_Info
$payment

Returns

Mage_Paygate_Model_Authorizenet_Cards
public string
# registerCard( mixed $cardInfo = array() )

Add based on $cardInfo card to payment and return Id of new item

Add based on $cardInfo card to payment and return Id of new item

Parameters

$cardInfo
mixed
$cardInfo

Returns

string
public Mage_Paygate_Model_Authorizenet_Cards
# updateCard( Varien_Object $card )

Save data from card object in cards storage

Save data from card object in cards storage

Parameters

$card
Varien_Object
$card

Returns

Mage_Paygate_Model_Authorizenet_Cards
public Varien_Object|boolean
# getCard( string $cardId )

Retrieve card by ID

Retrieve card by ID

Parameters

$cardId
string
$cardId

Returns

Varien_Object|boolean
public array
# getCards( )

Get all stored cards

Get all stored cards

Returns

array
public integer
# getCardsCount( )

Return count of saved cards

Return count of saved cards

Returns

integer
public float
# getProcessedAmount( )

Return processed amount for all cards

Return processed amount for all cards

Returns

float
public float
# getCapturedAmount( )

Return captured amount for all cards

Return captured amount for all cards

Returns

float
public float
# getRefundedAmount( )

Return refunded amount for all cards

Return refunded amount for all cards

Returns

float
public Mage_Paygate_Model_Authorizenet_Cart
# flushCards( )

Remove all cards from payment instance

Remove all cards from payment instance

Returns

Mage_Paygate_Model_Authorizenet_Cart
protected
# _isPaymentValid( )

Check for payment instace present

Check for payment instace present

Throws

Exception
public float
# _getAmount( mixed $key )

Return total for cards data fields

Return total for cards data fields

$param string $key

Returns

float
Constants summary
string CARDS_NAMESPACE 'authorize_cards'
#
string CARD_ID_KEY 'id'
#
string CARD_PROCESSED_AMOUNT_KEY 'processed_amount'
#
string CARD_CAPTURED_AMOUNT_KEY 'captured_amount'
#
string CARD_REFUNDED_AMOUNT_KEY 'refunded_amount'
#
Properties summary
protected mixed $_cards array()
#

Cards information

Cards information

protected Mage_Payment_Model_Info $_payment null
#

Payment instance

Payment instance

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0