Mage_Sales_Model_Quote_Address_Total_Custbalance Class Reference

Inheritance diagram for Mage_Sales_Model_Quote_Address_Total_Custbalance:

Mage_Sales_Model_Quote_Address_Total_Abstract

List of all members.

Public Member Functions

 collect (Mage_Sales_Model_Quote_Address $address)


Detailed Description

Definition at line 28 of file Custbalance.php.


Member Function Documentation

collect ( Mage_Sales_Model_Quote_Address address  ) 

Collect totals process

Parameters:
Mage_Sales_Model_Quote_Address $address
Returns:
Mage_Sales_Model_Quote_Address_Total_Abstract

Reimplemented from Mage_Sales_Model_Quote_Address_Total_Abstract.

Definition at line 31 of file Custbalance.php.

00032     {
00033         $address->setCustbalanceAmount(0);
00034         $address->setBaseCustbalanceAmount(0);
00035 
00036         $address->setGrandTotal($address->getGrandTotal() - $address->getCustbalanceAmount());
00037         $address->setBaseGrandTotal($address->getBaseGrandTotal() - $address->getBaseCustbalanceAmount());
00038 
00039         return $this;
00040     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:49 2009 for Magento by  doxygen 1.5.8